typoman Posted July 15, 2014 Share Posted July 15, 2014 (edited) Hallo Forum Ich suche eine Abfrage für meine product.tpl mit der ich Abfragen kann ob der Artikel Attribute hat oder nicht. Meine PS Version ist 1.5.6. Etwas in der Art... {if $product->productHasAttributes == false }Keine Farben oder Attribute{/if} Ich bin froh um jeden Tipp! typoman Edited July 15, 2014 by typoman (see edit history) Link to comment Share on other sites More sharing options...
BluTiGeS Posted July 15, 2014 Share Posted July 15, 2014 deine product.tpl hat das doch bereits drin: {foreach from=$groups key=id_attribute_group item=group} {if $group.attributes|@count} 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