| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Modifying send to friend button action | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi, after you send to friend it reloads the current product page by default.
I am trying to edit the action of this, to lets say load another page, or load another section of product.php. My dilemna lies in that the send to friend form (found on send_to_friend.tpl) has the following: Code:
Now this leads me to believe the form calls product.php and executes the send function because of a condition set on mode. I can not find any reference to mode in product.php, so I am stuck and can not find the code to modify the action after the send to friend is sent.
__________________
v4.1.8 GOLD |
|||||||
#2
|
|||||||
|
|||||||
![]() product.php includes send_to_friend.php where the mode is checked and the email is sent. Change the func_header_location at the bottom to go wherever you want.
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|