Jump to content

display quantity discount (Actual amount) on product list


Recommended Posts

CategoryController.php

 

I have been looking through the solutions for the whole of the past 2 days and nothing seems to work for me. Would greatly appreciate help on how i can resolve this.

 

I would like to display quantity discounts on my product list.

I had installed quantity discount module by Presteo but the information that i want to display on my products list page appears on the product details page. Could someone do me a great favor and tell how do i move this code to my product-list.tpl or if there is any other method display my quantity discount on my product list?

 

I want my customers to make their orders directly from the product list page. Therefore i have removed all links to the respective product details page. So its quite important for me to display the quantity discounts on the products list.

 

http://ilovemooncake.com.sg/en/home/13-tai-thong-jade-custard-.html >> product details page

http://ilovemooncake.com.sg/en/7-tai-thong >> product list.

 

Please help. Thanks.

post-377105-0-54810800-1373953432_thumb.jpg

Link to comment
Share on other sites

  • 2 months later...

yup. i included the following in my theme's product_list.tpl:

 

<div>{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="on_sale">{if $product.quantity_discount}
{l s="200 boxes and above = S$ "}[spam-filter]1-{$product.quantity_discount[0].reduction[spam-filter]*$product.price_without_reduction}<br/>
{l s="50 - 199 Boxes = S$ "}[spam-filter]1-{$product.quantity_discount[1].reduction[spam-filter]*$product.price_without_reduction}</span>
{/if}
{elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}<span class="discount">{l s='Reduced price!'}</span>{/if}
</div>

Link to comment
Share on other sites

×
×
  • Create New...