View Single Post
  #2  
Old 02-01-2010, 11:07 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Removing the "Add to Wish List" Button

Having looked at your shop, I see that you have your regular products, as well as your Featured products in the same Column format. That means they are both using the same template, therefore as it stands, any changes you make to the Featured Products to remove these items, would be replicated on all the products listed.
Presuming that's not what you want, so you can't just disable the buy now button in admin.

So start by duplicating the template - make a copy of skin1/customer/main/products_t.tpl and call it say products_t_fp.tpl

You now have a separate template just for the feat prods.

Edit this new file and comment out:
{include file="customer/main/buy_now.tpl"}

ie change it to

{* include file="customer/main/buy_now.tpl" *}

Now you need to alter the template that calls this one - so open up:
skin1/customer/main/featured.tpl

and change:
{include file="customer/main/products.tpl" products=$f_products featured="Y"}
to
{include file="customer/main/products_t_fp.tpl" products=$f_products featured="Y"}
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote