Guest Posted June 9, 2013 Share Posted June 9, 2013 (edited) Hey guys, I don't want to show the price on product-list for a specific few products, is it possible to use use a specific product id for an if statement using smarty? I played around a bit but didn't have any luck. Thanks in advance, eggo Edited June 10, 2013 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2013 Share Posted June 10, 2013 Ah! I had it before but I made a syntax error. The code is $product.id_product == 298 I did not realize two equal signs were needed. Hope this helps someone else! Best, eggo 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