Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

"Friend's Wish list" link??

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 12-19-2007, 09:02 PM
 
andwin andwin is offline
 

Newbie
  
Join Date: Jan 2006
Location: California
Posts: 2
 

Thumbs up Re: "Friend's Wish list" link??

Samantha:
I had the same strange "friend's wish list" problem. No idea why it suddenly appeared.
Rather than switching off the feature, I adjusted the code to get rid of the "friend's" button. Customers might want to keep reorder items or "order later" items saved to their profile in wish lists.

Here's the fix:

File: /customer/menu_cart.tpl

Find the following code:
{if $active_modules.Wishlist ne "" and $wlid ne ""}
<a href="cart.php?mode=friend_wl&amp;wlid={$wlid}">{$ lng.lbl_friends_wish_list}</a>
{/if}

Add {* at its beginning and *} at its end. That makes the code "ignored" by the store.
{*{if $active_modules.Wishlist ne "" and $wlid ne ""}
<a href="cart.php?mode=friend_wl&amp;wlid={$wlid}">{$ lng.lbl_friends_wish_list}</a>
{/if}*}

Dave
__________________
Jonathan

X-Cart Pro v 4.1.11 (win)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:38 PM.

   

 
X-Cart forums © 2001-2020