| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Viewing "Add to Wish List" button at all times | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Hi All..
I've tried putting following code on customer/main/cart.tpl: {if $login ne "" and $active_modules.Wishlist ne ""} { include file="customer/add2wl.tpl" } {else} { include file="buttons/add_to_wishlist.tpl" style="button" href="register.php" } {/if} The idea is, when a customer has added something to his/ her basket, I want a link that offeres to add the product to his/her wishlist. The register function works, when not logged in ![]() Then I tried {if $login ne "" and $active_modules.Wishlist ne ""} { include file="buttons/add_to_wishlist.tpl" style="button" href="cart.php?mode=wishlist&wl_productid.value=`$ products[product].productid`" } {else} { include file="buttons/add_to_wishlist.tpl" style="button" href="register.php" } {/if} This time, it does take me to the wishlist page, but does not actually add the product to the wishlist. Lots of Thanks if someone can help?? |
|||||||
|
|||
X-Cart forums © 2001-2020
|