Jump to content

From-Price in Categories (tiered price)


Timmermann

Recommended Posts

I'm looking for a way to display a "starting price" for quantity discounts in the product overview.
Important! This isn't about variants - it's about tiered pricing (Prestashop seems to differentiate between these).

Example:

I have an item that costs €100 for individual purchase.
If I purchase 5 items, the individual item should only cost €90.
If I purchase 10 items, it should cost €80.

Currently, this item is listed as €100 in the product overview.

But I would like to display "From €80."

The tiered pricing has been entered and is displayed correctly in the item itself. It's really just about the display in the categories, top products, and recommendations. In other words, in all overviews.

I haven't found a corresponding module yet, nor a real solution. Has anyone been able to implement this?

I use Prestashop 8.2.1 with the Deo_Outis template.

  • Like 1
Link to comment
Share on other sites

Hello,

Yes, it is possible to implement such kind of functionality to your shop. If it is possible share with me credentials, i will apply necessary changes. Then i will explain here all steps, changed file, added lines.

Link to comment
Share on other sites

Hi, you are correct there is no known public module to accomplish this.  Yes it is possible if you are a developer but if not contact @WebCommercify or create a topic in job section of website.   chatgpt 5 provide me with a zip module  and integration into theme so yes  it's perfectly doable with AI...or developer that  can use AI to get base code and integrations into theme....however AI did not use theme override rather one had to place the template changes into theme.  weak!

  • Like 1
Link to comment
Share on other sites

I’ve already donee this for a client (that screenshot is from their theme).

You don’t need a module, the quantity-break table is native once you add Specific prices with from_quantity > 1.

If you just want to tweak the native layout and add a tiny “From ” summary, override one tpl and drop in this micro-block.

File: themes/yourtheme/templates/catalog/_partials/product-discounts.tpl(duplicate from Classic first, then edit)

{* Add this just above the native table/list *}
{assign var=minTier value=$product.price_amount}
{foreach from=$product.quantity_discounts item=qd}  
{if isset($qd.price_with_reduction) && $qd.price_with_reduction < $minTier}    
 {assign var=minTier value=$qd.price_with_reduction}  
{/if}{/foreach}{if $minTier < $product.price_amount}  <p class="from-price">    
{l s='From %price%'d='Shop.Theme.Catalog'       sprintf=['%price%' => {convertAndFormatPrice price=$minTier}]}  </p>{/if}

(If you also want it in category cards, paste the same Smarty block under the price in templates/catalog/_partials/miniatures/product.tpl

config.png

specifics.png

quantity breaks.png

  • Like 1
Link to comment
Share on other sites

Thank you for the tips.

However, that would be the wrong approach for me. First, I only want to have this in the product overview, not in the article itself (it's already displayed correctly there after changing the template). Second, I have tiered pricing, not variants. So, the price doesn't add up if I get more service; instead, if I order more, it gets cheaper.

See for yourself (German site, sorry):

https://www.timmermannwhs.de/17-direkt-online-erstellen
 

A starting price should be displayed here - if available.

https://www.timmermannwhs.de/direkt-online-erstellen/14-t-shirt-personalisierbar.html

Everything is displayed correctly here. The lowest value should be displayed in the overview. "From €14.41" instead of "€19.99"

Link to comment
Share on other sites

16 hours ago, Timmermann said:

Thank you for the tips.

However, that would be the wrong approach for me. First, I only want to have this in the product overview, not in the article itself (it's already displayed correctly there after changing the template). Second, I have tiered pricing, not variants. So, the price doesn't add up if I get more service; instead, if I order more, it gets cheaper.

See for yourself (German site, sorry):

https://www.timmermannwhs.de/17-direkt-online-erstellen
 

A starting price should be displayed here - if available.

https://www.timmermannwhs.de/direkt-online-erstellen/14-t-shirt-personalisierbar.html

Everything is displayed correctly here. The lowest value should be displayed in the overview. "From €14.41" instead of "€19.99"

Hello,

Well received, thank you for the details.

Indeed, it is possible to always display the lowest possible price for each product. However, this requires custom development to take into account all related aspects, especially the changes between version 1.7 and version 9, as well as multi-currency handling, which is still a tricky point.

If you are comfortable with development, you can of course implement it internally.

Otherwise, we can start from our existing stable module "already tested in over 15 markets" and apply the necessary customizations.

In that case, you would only pay for the customization work.

Thanks,
 

image.thumb.png.9ed9ccca0c5233ad4ce067dcafa3b790.pngimage.png.dc1c5e8be66a8a07a3be06291a60697f.pngimage.thumb.png.52f1ad512b37d7de6f07fe76dab2c37b.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...