starsg38 Posted June 9, 2014 Share Posted June 9, 2014 How can I change the text in the Block Cart Ajax Pop-Up based on the product it is currently showing. For example when you are on the products page you can show different text with the code: {if $product->id|intval==1} Custom Text {/if} This code won't work on the blockcart.tpl. How can I modify this code so that it will work/recognize the product in blockcart.tpl. Or what do I need to include in the blockcart file? I am in version 1.6. My image probably explains better what I am asking for: Link to comment Share on other sites More sharing options...
starsg38 Posted June 9, 2014 Author Share Posted June 9, 2014 I think it may be something similar to this: {if $product.id_product = 9} Text Here {/if} Except for = 9 is not correct. So what can I add to $product.id_product to make it specific to the product id number? 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