X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   "Friend's Wish list" link?? (https://forum.x-cart.com/showthread.php?t=35615)

andwin 12-19-2007 09:02 PM

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


All times are GMT -8. The time now is 05:33 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.