I have a site where all categories are totally normal except for one category where I want customers to contact me directly if they are interested in purchasing, rather than being able to add it to the cart and checkout. However, I want to show the price still.
I tried to use an if statement I found in another thread, but it doesn't seem to work on the product_details.tpl or perhaps it's only for older x-cart versions.
This is what I have...
Code:
{if $cat eq "251"}
My alternate code here
{else}
{include file="customer/buttons/add_to_cart.tpl" type="input" additional_button_class="main-button"}
{/if}
But it doesn't do anything. Could someone tell me the proper way for hiding Add To Cart button for one category only on the product_details.tpl?
If I just comment it out it gets rid of the button, so it seems like I'm in the right location..
Thanks!