metrixdigital 0 Posted May 19, 2020 Posted May 19, 2020 Buna ziua, Am cautat pe forum, dar nu am gasit. Va rog sa-mi spuneti ce anume trebuie modificat pentru a-mi aparea mesajul "Fara TVA " langa preturi <!-- prices --> <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}--> Va multumesc. Share this post Link to post Share on other sites
metrixdigital 0 Posted May 25, 2020 Posted May 25, 2020 Nu ma poate ajuta nimeni? Share this post Link to post Share on other sites
Ionut Resnoveanu 1 Posted May 28, 2020 Posted May 28, 2020 Ai comentata portiunea aceea de cod, sterge <!-- si -->. Share this post Link to post Share on other sites
metrixdigital 0 Posted June 1, 2020 Posted June 1, 2020 Buna ziua, Am sters ce mi-ati zis, dar nu s-a modificat nimic... <!-- prices --> <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}" /> {/if} </p> <p id="reduction_percent" {if !$product->specificPrice || $product->specificPrice.reduction_type != 'percentage'} style="display:none;"{/if}> <span id="reduction_percent_display"> {if $product->specificPrice && $product->specificPrice.reduction_type == 'percentage'}-{$product->specificPrice.reduction*100}%{/if} </span> </p> <p id="old_price"{if (!$product->specificPrice || !$product->specificPrice.reduction) && $group_reduction == 0} class="hidden"{/if}> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="old_price_display">{if $productPriceWithoutReduction > $productPrice}{convertPrice price=$productPriceWithoutReduction}{/if}</span> {if $tax_enabled && $display_tax_label == 1}{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}{/if} {/if} </p> {if $priceDisplay == 2} <br /> <span id="pretaxe_price"> <span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL)}</span> {l s='tax excl.'} </span> {/if} </div> <!-- end prices --> Share this post Link to post Share on other sites
metrixdigital 0 Posted November 6, 2020 Posted November 6, 2020 imi puteti spune, va rog ce sa modific in codul de mai jos (su unde sa modici) ptr a aparea mentiunea "FARA TVA" langa pret ? <!-- prices --> <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> <p id="reduction_percent" {if !$product->specificPrice || $product->specificPrice.reduction_type != 'percentage'} style="display:none;"{/if}> <span id="reduction_percent_display"> {if $product->specificPrice && $product->specificPrice.reduction_type == 'percentage'}-{$product->specificPrice.reduction*100}%{/if} </span> </p> <p id="reduction_amount" {if !$product->specificPrice || $product->specificPrice.reduction_type != 'amount' || $product->specificPrice.reduction|floatval ==0} style="display:none"{/if}> <span id="reduction_amount_display"> {if $product->specificPrice && $product->specificPrice.reduction_type == 'amount' && $product->specificPrice.reduction|floatval !=0} -{convertPrice price=$productPriceWithoutReduction-$productPrice|floatval} {/if} </span> </p> <p id="old_price"{if (!$product->specificPrice || !$product->specificPrice.reduction) && $group_reduction == 0} class="hidden"{/if}> {if $priceDisplay >= 0 && $priceDisplay <= 2} {hook h="displayProductPriceBlock" product=$product type="old_price"} <span id="old_price_display">{if $productPriceWithoutReduction > $productPrice}{convertPrice price=$productPriceWithoutReduction}{/if}</span> {if $tax_enabled && $display_tax_label == 1}{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}{/if} {/if} </p> {if $priceDisplay == 2} <br /> <span id="pretaxe_price"> <span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL)}</span> {l s='tax excl.'} </span> {/if} </div> <!-- end prices --> Share this post Link to post Share on other sites
PrestaManiacs 3 Posted November 6, 2020 Posted November 6, 2020 Poti pune link-ul site-ului?Ar fi mult mai usor. Share this post Link to post Share on other sites
metrixdigital 0 Posted November 6, 2020 Posted November 6, 2020 http://energyled.ro/ro/stalpi-pentru-iluminatul-ornamental-decorativ-de-exterior/64-stalpi-iluminat-ornamental-decorativi-cu-led.html Share this post Link to post Share on other sites
metrixdigital 0 Posted November 6, 2020 Posted November 6, 2020 Chiar am nevoie de ajutor sa rezolv aceasta problema. Share this post Link to post Share on other sites
PrestaManiacs 3 Posted November 6, 2020 Posted November 6, 2020 In Dashboard -> Locatii -> Tari -> Romania, la Display tax label (e.g. "Tax incl."), este pe Yes? Share this post Link to post Share on other sites
metrixdigital 0 Posted November 6, 2020 Posted November 6, 2020 este Share this post Link to post Share on other sites
PrestaManiacs 3 Posted November 6, 2020 Posted November 6, 2020 Aici este totul: {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} Daca as fi avut acces, as fi putut vedea in care din variabile este problema, posibil vreun modul sa suprascrie una din valori. Cel mai simplu pui direct: {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} Renunti la prima conditie. Share this post Link to post Share on other sites
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