Could someone help me modify this chunk of code from product.tpl Please.
Code:
{if $product.forsale ne "B"}
{include file="buttons/add_to_cart.tpl" style="button"}
{if $login ne "" and $active_modules.Wishlist ne ""}
{include file="customer/add2wl.tpl"}
{/if}
{else}
{$lng.txt_pconf_product_is_bundled}
{/if}
{else}
{include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart}
{/if}
{/if}
I want to incorporate this some how:
Code:
{if $products[product].param00 eq ""}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{else}
{if $products[product].param00 eq Y}
{include file="customer/main/call.tpl"}
My goal is to replace the buy now button only on certain products with with a separate tpl I made (call.tpl) containing instructions to call and order.
I got it to work in my products.tpl but I can't seem to get it right in the product.tpl
Thanks for any help!