Jump to content

TTC price different in the basket and the other pages


Recommended Posts

Hi,

 

Sorry for my english. I'm french and I do not find help on the French forum :(

 

After several attempts and searching the internet I resolve to ask for your help for a problem that is beyond me :(

The VAT amount in the basket is different than anywhere else (product description, product list, featured products).

Example: I applied a 5 € discount on a product worth € 50 HT or 60 € taxe inclue. The good result after reduction should be 45 € and 54 € excl VAT. But it shows me 55 € instead of 54 (except in the basket).

 

In products list and featured products list displays 55 € :

973343listeproduitetproduitphare.jpg

 

In the product page 55 € :

734228ficheproduit.jpg

 

In the cart it shows € 54 TTC :

767610panier.jpg

 

It's strange he did not calculate the same way to the basket for the rest of the site.

Here are the codes on my pages:

 

product.tpl

<span itemprop="price" id="our_price_displayttc" class="price" style="color:#858585 !important">{convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)} {*lyoHTBOF*}</span>
{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))}
<span style="color:#858585 !important">{if $priceDisplay == 1}{l s='tax incl.'}{else}{l s='tax excl.'}{/if}</span>
{/if}

product-list.tpl et homefeatured.tpl

<span class="pricettc">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price} {*lyoHTBOF*}{if !$priceDisplay && Configuration::get('LYO_isProductList')==1}{literal}<style>#product_list .right_block {height: 50px;}</style>{/literal}<div>{convertPrice price=$product.price_tax_exc} {l s=' tax excl.'}</div> TTC{/if}{*lyoHTEOF*}{/if} TTC</span>


Does changing the product.php file can produce this bug?
Some details about my situation:
- I have PS v1.6.0.6
- I'm B2B mode
- All my clients groups are programmed to display prices HT

 

 

I tried to be as complete as possible but do not hesitate to ask me if I forget something that can help.

Could you please help me?

Edited by steph2i (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Yes thank you. Unfortunately, it does not seem to have found a solution :( But Xavier Terte of the PrestaShop team told me that they are working to fix this bug for the next version of PrestaShop (1.6.0.10).

However, I hope it will be possible to apply the patch without the SHIFT ...

However, if someone finds the solution before I'm always interested.

Thank you! :)

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...