samcho Posted March 19, 2014 Share Posted March 19, 2014 Ahojte, Chcem sa spýtať či niekto nevie ako by som za cenu mohol dopísať že sa jedná o cenu s DPH na prestahop 1.6 ? Teraz mam cenu 99 € a chcel by som aby sa to zobrazovalo povedzme takto 99 € s DPH Prípadne pod tým by som možno doplnil cenu bez DPH ale to nieje nutnost. Za kazdu radu dakujem. Samcho Link to comment Share on other sites More sharing options...
berka.pavel Posted March 19, 2014 Share Posted March 19, 2014 (edited) link? případně kde všude to chceš vypsat? v product_list.tpl by to mělo být asi takto (nevyzkoušeno) <span itemprop="price" class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{l s='s DPH'}{else}{convertPrice price=$product.price_tax_exc}{l s='bez DPH'}{/if} </span> Edited March 19, 2014 by berka.pavel (see edit history) Link to comment Share on other sites More sharing options...
samcho Posted March 19, 2014 Author Share Posted March 19, 2014 (edited) link? případně kde všude to chceš vypsat? v product_list.tpl by to mělo být asi takto (nevyzkoušeno) <span itemprop="price" class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{l s='s DPH'}{else}{convertPrice price=$product.price_tax_exc}{l s='bez DPH'}{/if} </span> Dakujem, link by som sem dal, ale testujem na localhoste. Chcel by som to vypisat aj v detaile produktu aj vo vypise produktov v kategorii. Dakujem EDIT : Skusal som to ale nefunguje mi to Edited March 19, 2014 by samcho (see edit history) Link to comment Share on other sites More sharing options...
berka.pavel Posted March 21, 2014 Share Posted March 21, 2014 Máš vypnuté cachování? Případně vymazal sis cache? Link to comment Share on other sites More sharing options...
samcho Posted March 21, 2014 Author Share Posted March 21, 2014 ano ano mam a aj som zmazal, podarilo sa mi spravit to ze v riadkovom vypise produktov mi pisalo ze cena je s dph ale ked som otvoril produkt tak uz tam DPH nebolo dopisane Link to comment Share on other sites More sharing options...
berka.pavel Posted March 21, 2014 Share Posted March 21, 2014 jasné, to zase musíš upravovat product.tpl... prostě všude, kde se zobrazují produkty a chceš to tam, musíš upravit tu šablonu, která se zobrazuje v tom daném případě. Link to comment Share on other sites More sharing options...
samcho Posted March 21, 2014 Author Share Posted March 21, 2014 Jezis moja hlupost, to som si ani neuvedomil ze som upravoval product list, som bol nejak v tom ze som na detaile. Tisicere diki za usmernenie Link to comment Share on other sites More sharing options...
berka.pavel Posted March 21, 2014 Share Posted March 21, 2014 cajk... já právě myslel, že to nefunguje ani v tom product-list... Link to comment Share on other sites More sharing options...
vybornak Posted April 1, 2014 Share Posted April 1, 2014 (edited) Stačí odstranit ten komentář ( smazat <!-- co je před a --> ) v themes/default-boostrap/product.tpl <!--{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}--> Edited April 1, 2014 by vybornak (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