View Single Post
  #11  
Old 01-08-2009, 09:25 AM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default Re: help with if then statment for detailed description

Hi Vetrivel,

Thanks for the rsponse.
I am working on a site that sells pet items. On some of the pages the product needs to be ordered by size so the client has and embedded page on the site that shows how to measure the animal correctly in order to make sure that you order the correct size product.

I thought that if I put a button in the detailed description box and called it through the product.tpl I could then limit when the button appeared by using and if then statement so that the only time that the button appeared in the detailed description product box was when a relevant page was called .

It seems like it makes sense but the if then statement that I tried is not recognizing the variables for the category pages so the button appears on all the pages.
I tried to follow Jon's suggestion above but have not been able to figure out how to write the code to put in the product.php and assign it to smarty to see if this would work.

Understand ? Let me know. I think the problem is solvable but I am just a few steps away from it.

Would appreciate your thoughts

Best

Scott
4.1.2 gold
4.1.8 pro
Apache
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote