panosm9944 Posted Wednesday at 09:26 AM Share Posted Wednesday at 09:26 AM Hello, i am using the original theme as child, and the volume discounts do not display the price correctly. The Unit price remains the same (original) no matter the discount. Prestashop version 8.1.3 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted Wednesday at 09:36 AM Share Posted Wednesday at 09:36 AM Hi can you put a screen shot of one you specific price rule? Link to comment Share on other sites More sharing options...
panosm9944 Posted Wednesday at 09:51 AM Author Share Posted Wednesday at 09:51 AM Hello, please see attached Link to comment Share on other sites More sharing options...
Prestashop Addict Posted Wednesday at 10:22 AM Share Posted Wednesday at 10:22 AM There is a bug in template, because you rule is based on % and the display is amount! Look at template product-dicounts.tpl. If no changed, it means you have a module working with rules that cause the issue Link to comment Share on other sites More sharing options...
panosm9944 Posted Wednesday at 10:25 AM Author Share Posted Wednesday at 10:25 AM Hello, is there a way to solve this from the B.O. Also, what do i look for the the product-dicounts.tpl file? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted Wednesday at 10:58 AM Share Posted Wednesday at 10:58 AM il y a 31 minutes, panosm9944 a dit : Hello, is there a way to solve this from the B.O. Also, what do i look for the the product-dicounts.tpl file? Verify if template has been modified original code below. Don't you have a module that interact with rules/prices? <section class="product-discounts js-product-discounts"> {if $product.quantity_discounts} <p class="h6 product-discounts-title">{l s='Volume discounts' d='Shop.Theme.Catalog'}</p> {block name='product_discount_table'} <table class="table-product-discounts"> <thead> <tr> <th>{l s='Quantity' d='Shop.Theme.Catalog'}</th> <th>{$configuration.quantity_discount.label}</th> <th>{l s='You Save' d='Shop.Theme.Catalog'}</th> </tr> </thead> <tbody> {foreach from=$product.quantity_discounts item='quantity_discount' name='quantity_discounts'} <tr data-discount-type="{$quantity_discount.reduction_type}" data-discount="{$quantity_discount.real_value}" data-discount-quantity="{$quantity_discount.quantity}"> <td>{$quantity_discount.quantity}</td> <td>{$quantity_discount.discount}</td> <td>{$quantity_discount.save}</td> </tr> {/foreach} </tbody> </table> {/block} {/if} </section> Link to comment Share on other sites More sharing options...
panosm9944 Posted Thursday at 07:07 PM Author Share Posted Thursday at 07:07 PM (edited) Hello, it seems the same, i am using a child theme of the original theme, could this be it? PS Switching back to classic theme from child theme did not resolve the issue. Edited Thursday at 07:15 PM by panosm9944 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now