Fastserv Posted August 27, 2014 Share Posted August 27, 2014 Ich habe einzelne Produkte bei denen der Preis nicht angezeigt werden soll. Dies kann ich ja auch schön im Produkt einstellen. Ich möchte aber gerne einen Text bei diesen Produkten anzeigen. Ich habe gedacht ich füge im Template (product-list.tpl) einfach: {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} ... {else} <span class="preisanfrage"> {l s='Preis auf Anfrage'}</span>{/if} hinzu. Leider funktioniert es nicht so. Hat jemand einen Tipp wie ich das hinbekomme? Danke. Gruß Stefan Link to comment Share on other sites More sharing options...
Whiley Posted August 27, 2014 Share Posted August 27, 2014 Hallo Stefan, willkommen im Forum!. Verrate uns doch noch deine Prestashop-Version und dein Template. Soll deine "Preisanfrage" in der Listenansicht oder auf der Produktseite erscheinen? Grüsse Whiley Link to comment Share on other sites More sharing options...
Fastserv Posted August 28, 2014 Author Share Posted August 28, 2014 Sorry, Der Text soll nur in der Listenansicht gezeigt werden. Version 1.5.6.2 Standart Template Danke! Stefan 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