Jump to content

Block cart Modification


starsg38

Recommended Posts

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:

 

post-795838-0-85931500-1402326325_thumb.jpg

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...