View Single Post
  #5  
Old 04-11-2011, 05:48 AM
 
duke57 duke57 is offline
 

Member
  
Join Date: Apr 2011
Posts: 12
 

Default Re: Hiding the Add to Cart button for certain parts

Quote:
Originally Posted by cherie
I think you're on the right track, using Extra Fields to flag which products should hide the button. The button is in product_details.tpl so I would just add a wrapper around it checking for the value of the extra field.

The funny thing is, when I tried doing that, I wasn't using the right code to capture the variables correctly. It either eliminated the cart button for all of the parts, or none of them. Very strange!
__________________
X-Cart 4.4.2
Reply With Quote