fix...
Chris, I believe what you are trying to do is this:
{if $product.productid == 10 || $product.productid == 12 || $product.productid == 17}
{include file="customer/main/NEW_buy_now.tpl" product=$products[product]}
{else}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
Notice that all I'm doing is depending on the productid in the database, showing a different buy_now.tpl - you can create a new one of those calling the correct button. You can either lookup the productid in the database for the products in question, or look in the url string when you are on that product and you will see what the productid is...the code I have above is saying if the productid equals any of those values, show the code below it...
I may not have the "inclue" for the buy_now button correct for your version of x-cart - check yours in 3.5.9 - but you get the idea - you just need to surround the button call with the code above. You can also do it with 2 separate {if} statements if the {else} screams at you for some reason...
Lemme know if this helps :0) and cheers...
|