View Single Post
  #4  
Old 09-10-2003, 09:55 AM
 
turtle turtle is offline
 

Member
  
Join Date: Sep 2003
Posts: 23
 

Default

Yes Kanyon71 is correct. I don't want add to cart or buy now to show up at all on the product screen when price=$0.

I already have a minimum order amount of $50 in the general settings. But if there is more than one item in the cart then the 0$ item goes through too.

This seems to work in the products.tpl now. I may have had a syntax error. Now I just need to fix the buy_now.tpl, and get the the wish list tpl to display Call for Price as well.

{if $js_enabled}
{if $product.price ne 0}
{include file="buttons/add_to_cart.tpl"}
{/if}

{if $login ne "" and $active_modules.Wishlist ne ""}
{include file="customer/add2wl.tpl"}
{/if}
{else}
{if $product.price ne 0}
{include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart}
{/if}
{/if}
{/if}
Reply With Quote