This article has moved to a new home. View the updated version Tweak Library

On Sale Products

A selection of items on sale, for those who like to find bargains.

Industries

  • Fashion
  • Bicycles
  • Computers & Electronics
  • Fitness & Supplements
  • Furniture & Homewares
  • Health & Beauty
  • Alcohol
  • Music & Instruments
  • Sports & Recreation
  • Gifts
  • Toys & Games
  • Jewellery & Accessories
  • Animal & Pet Care
  • Arts & Crafts
  • Events & Party Supplies
  • Food & Beverages

Wireframe

On Sale Products

Coding Instructions

Paste this code, adjusting the limit as necessary:

[%list type:'product' template:'' filter:'promo_current=y' limit:'4'%]
    [%param *header%]
        <h3>On Sale</h3>
        <div class="row">
    [%/param%]
    [%param *footer%]
        </div>
    [%/param%]
[%/list%]

With the list tag you can sort which type of products will display, so for instances, you might want to show on sale products with promotion prices ending soon. To do this we just need to give the list function a sort parameter:

[%list type:'product' template:'' filter:'promo_current=y' sort:'promo_end' limit:'4'%]

Note - Ensure all products in promotion have a start/end date on each individual product and a promotion price that is lower than the store price.


1 related articles found: