View Single Post
  #3  
Old 03-03-2009, 08:03 AM
  acidon's Avatar 
acidon acidon is offline
 

Senior Member
  
Join Date: Feb 2008
Posts: 139
 

Default Re: How to add "View details" button instead of "Add to wishlist" in products.tpl?

Mighty X-Wizard Ashley, you are my only hope, since noone else answered me, you the best!

Please enlight me with your wisdom, I would appretiate it so much!!!

In my customer/main/buy_now.tpl I found if statements related to wishlist button:

Code:
{if ($login ne "" || $config.Wishlist.add2wl_unlogged_user eq 'Y') && $active_modules.Wishlist ne "" && $special_offers_add_to_cart eq "" && ($product.is_product_options ne 'Y' || $buynow_enabled)} <td style="padding-left: 20px;"> {include file="buttons/add_to_wishlist.tpl" style="button" href="javascript:document.orderform_`$product.productid`_`$product.add_date`.mode.value='add2wl'; document.orderform_`$product.productid`_`$product.add_date`.submit()"} </td> {/if} {else} <td>{include file="submit_wo_js.tpl" value=$lng.lbl_buy_now}</td> {/if}

I know i am getting very close, btw I have 4.1.11
__________________
Version 4.7.6 X-cart Gold
Reply With Quote