lanterneled Posted January 29, 2013 Share Posted January 29, 2013 Buna ziua. Am creat de curand un magazin online cu prestashop. Nu reusesc sub nici o forma sa il fac sa imi apara pe pagina produsului , dupa pret sigla :TVA inclus" asa cum ere legislatia in vigoare. Acum folosesc versiunea Prestashop 1.5.2.0 . Inaiinte aveam 1.4.9 si mergea ok. Am activat regula de TVA pentru Romania, am selectat ca preturile pentru toti userii sa apara cu taxe, la produs am selectat TVA 24% . Pe pagina produsului imi apare pretul cu TVA dar nu si scrie TVA inclus. Cum s afac sa imi apara aceasta expresie ? Eu sunt neplatitor de TVA. Exista posibilitatea sa imi apara acel TVA inclus pe pagina produsului chiar daca nu activez regula de TVA,. Multumesc anticipat pentru raspunsuril siteul este www.lanterne-led.com Link to comment Share on other sites More sharing options...
cristic Posted January 29, 2013 Share Posted January 29, 2013 (edited) Verifica in Localization > Countries > Romania sa ai activat Display tax label (e.g. "Tax incl.") Edited January 29, 2013 by cristic (see edit history) Link to comment Share on other sites More sharing options...
lanterneled Posted January 29, 2013 Author Share Posted January 29, 2013 este bifat pentru Romania Display tax label (e.g. "Tax incl.") Ma gandesc ca o fi o eroare de pe undeva pentru ca am urmat toti pasii din ghid pentru afisare TVA. Link to comment Share on other sites More sharing options...
cristic Posted January 29, 2013 Share Posted January 29, 2013 (edited) Nu e o eroare. In Localization > Taxes ai activata optiunea Activează TVA? Edited January 29, 2013 by cristic (see edit history) Link to comment Share on other sites More sharing options...
lanterneled Posted January 29, 2013 Author Share Posted January 29, 2013 da, este activat. Este activat si de la Localization > countries, Romania este activa contine judete si Afiseaza emblema TVA. La fe la Groups pentru fiecare categorie de client este activata: afiseaza pretul cu taxe. Si degeaba Link to comment Share on other sites More sharing options...
lanterneled Posted January 29, 2013 Author Share Posted January 29, 2013 Asta imi apare cand verific codul...si dupa cum se vede nu apare TVA inclus dupa pret Link to comment Share on other sites More sharing options...
cristic Posted January 29, 2013 Share Posted January 29, 2013 Am inteles. De aici e problema. Adauga dupa linia pe care ai subliniat-o urmatorul cod: {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} <span class="our_price_display_tax">{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}</span> {/if} Ai grija sa stergi cache-ul dupa ce salvezi, ca sa poti sa vezi modificarile. Link to comment Share on other sites More sharing options...
lanterneled Posted January 29, 2013 Author Share Posted January 29, 2013 sa aleg optiunea Inspect element din GoogleChrome imi este usor. Asa nu stiu exact in ce fila trebuie sa adaug codul. Imi poti spune te rog in ce fila sa modific? Multumesc anticipat Link to comment Share on other sites More sharing options...
cristic Posted January 29, 2013 Share Posted January 29, 2013 Scuze, am crezut ca print-screenul e direct din fisier. Mergi in Themes > Tema ta > product.tpl Cauta aici dupa our_price_display. In mod normal codul pentru afisarea pretului cu TVA trebuie sa arate asa: <span class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" class="price">{convertPrice price=$productPrice}</span> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} <span class="our_price_display_tax">{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}</span> {/if} {/if} </span> Daca nu esti sigur, pune aici codul tau. Link to comment Share on other sites More sharing options...
lanterneled Posted January 29, 2013 Author Share Posted January 29, 2013 Da, s-a rezolvat acum. Multumesc Mult pentru ajutor. la mine arata asa: <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> am schimbat cu codul primit de la tine si functioneaza. Acum doar sa schimb din traduceri tax incl cu TVA inclus. Multumesc inca odata pentru ajutor. Link to comment Share on other sites More sharing options...
cristic Posted January 29, 2013 Share Posted January 29, 2013 Perfect. Se pare ca era doar comentat. Link to comment Share on other sites More sharing options...
roliviu Posted March 5, 2013 Share Posted March 5, 2013 sal. ati schimbat tot codul <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> cu cel modificat? sau doar o anumita parte. Imi puteti spune exact ce sa schimb? sa nu fac vreo prostie .... Link to comment Share on other sites More sharing options...
roliviu Posted March 5, 2013 Share Posted March 5, 2013 adica ce inseamna ...era doar comentat...? s-ar putea sterge anume paranteze din cod pt a rezolva ? Link to comment Share on other sites More sharing options...
cristic Posted March 5, 2013 Share Posted March 5, 2013 Depinde cum este la tine. In mod normal, ar trebui sa arate asa, in product.tpl: <span class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" class="price">{convertPrice price=$productPrice}</span> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} <span class="our_price_display_tax">{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}</span> {/if} {/if} </span> Link to comment Share on other sites More sharing options...
lanterneled Posted March 5, 2013 Author Share Posted March 5, 2013 in situatia mea acum am codul <span class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display" class="price">{convertPrice price=$productPrice}</span> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} <span class="our_price_display_tax">{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}</span> {/if} {/if} </span> si asa imi afiseaza sgla TVA inainte , cand nu imi afisa sigla aveam codul <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> inlocuieste toata structura (ultimul cod pus aici) cu primul cod din acest reply si ar trebui sa mearga Link to comment Share on other sites More sharing options...
cristic Posted March 5, 2013 Share Posted March 5, 2013 Ai reusit? Link to comment Share on other sites More sharing options...
iuliann Posted March 13, 2014 Share Posted March 13, 2014 Cred ca reusit de nu mai zice nimic. Am avut si eu aceeasi problema. Pentru ca imi cerea Shopmania sa se vada "TVA inclus". Am facut o tampenie si am copiat un cod cu totul (nu zic ca cel de mai sus ar fi gresit!) si imi afisa TVA. Dar nu imi mai apar produsele in comanda in BO. Astazi mi-a venit ideea sa copiez codul din template-ul original si sa sterg comentariul din el. Merge la fic cu afisarea TVA dar tot nu mi se vad produsele in BO. Nici in factura... Trebuie sa astept sa vad ce spune un programator... 1 Link to comment Share on other sites More sharing options...
iuliann Posted March 13, 2014 Share Posted March 13, 2014 Sa fiu mai explicit: In product.tpl exista codul de mai jos unde doar trebuie sters comentariul de inceput si sfarsit. Cel putin, asta e codul la tema implicita PS 1.5.4.1 <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> 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