123maverick456 Posted June 7, 2011 Share Posted June 7, 2011 Hi saya mau tanya nih. Ada yang tau ga gimana cara menampilkan features dari product pada halaman category / product-listpada halaman product kan terdapat data sheet yg codenya adalah sbb: > {if $features} <!-- product's features --> </pre> <ul> {foreach from=$features item=feature} {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'} {/foreach} </ul> <br>{/if jika di pakai langsung di product-list.tpl itu tidak berfungsi, nah bagaimana caranya? saya pakai presta 1.4 Link to comment Share on other sites More sharing options...
123maverick456 Posted June 7, 2011 Author Share Posted June 7, 2011 Please Help thanks Link to comment Share on other sites More sharing options...
123maverick456 Posted June 7, 2011 Author Share Posted June 7, 2011 sudah ketemu caranya > </pre> <ul> {foreach from=$product.features item=feature name=features} {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'} {/foreach} </ul> 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