Blawdi Posted August 28, 2014 Share Posted August 28, 2014 (edited) Hello! I have problem with price BO and FO ! I placed price 19.95 on BO And i have on FO : 19.96 ... Whats problem ? Thanks you On BO price is correct! On FO Edited August 28, 2014 by Bladinium (see edit history) Link to comment Share on other sites More sharing options...
Blawdi Posted August 28, 2014 Author Share Posted August 28, 2014 Hum... I have select code from 1.5 and : 19.95 is good with : <p class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> {/if} </p> And no good with : <div class="price"> <p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <!--{if $product->quantity > 0}<link itemprop="availability" href="http://schema.org/InStock"/>{/if}--> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" itemprop="price">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {hook h="displayProductPriceBlock" product=$product type="price"} {/if} </p> For whats?????????? Link to comment Share on other sites More sharing options...
Blawdi Posted August 28, 2014 Author Share Posted August 28, 2014 Same code repeat : <p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> {if $product->quantity > 0}<link itemprop="availability" href="http://schema.org/InStock"/>{/if} {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" itemprop="price">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {hook h="displayProductPriceBlock" product=$product type="price"} {/if} </p> <p class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> {/if} </p> <p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> {if $product->quantity > 0}<link itemprop="availability" href="http://schema.org/InStock"/>{/if} {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" itemprop="price">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {hook h="displayProductPriceBlock" product=$product type="price"} {/if} </p> WTF?. Link to comment Share on other sites More sharing options...
Blawdi Posted August 28, 2014 Author Share Posted August 28, 2014 My trick for now <p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer" style="display:none;"> {if $product->quantity > 0}<link itemprop="availability" href="http://schema.org/InStock"/>{/if} {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" itemprop="price">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {hook h="displayProductPriceBlock" product=$product type="price"} {/if} </p> <p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> {if $product->quantity > 0}<link itemprop="availability" href="http://schema.org/InStock"/>{/if} {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" itemprop="price">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) || !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {hook h="displayProductPriceBlock" product=$product type="price"} {/if} </p> Please help me Link to comment Share on other sites More sharing options...
El Patron Posted August 28, 2014 Share Posted August 28, 2014 hi, don't think you are alone. did you see this post? http://www.prestashop.com/forums/topic/350813-tax-and-rounding-fixes-testers-needed/ Link to comment Share on other sites More sharing options...
Blawdi Posted August 28, 2014 Author Share Posted August 28, 2014 Hello Mr moderator Yes I read, but I do not like the updates it is too much work.No idea for my sake incomprehensible? 1 Link to comment Share on other sites More sharing options...
Xavier du Tertre Posted September 4, 2014 Share Posted September 4, 2014 Hi Bladinium, We're currently working on fixing the issues that you may have encountered with rounding on PrestaShop. Actually, there's an updated version of PrestaSthop available here: http://www.prestashop.com/forums/topic/350813-tax-and-rounding-fixes-testers-needed/?p=1777830 Not only do we strongly recommend that you upgrade and get a chance to have your store run exactly the way you want to, but we also need users like you to run some tests and report any rounding-related bug you come across. First and foremost, we hope this upgrade makes your life easier on PrestaShop. Link to comment Share on other sites More sharing options...
Recommended Posts