huggettm Posted February 7, 2018 Share Posted February 7, 2018 Hi, How do I edit the path for {$DATA.link} ours sends the link to the customer with like this which is a dead end https://wonderland-fancy-dress.com.au/store/modules/gateway/UPG/index.php?_a=vieworder&cart_order_id=WONAU-180205-092732-6908 Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 7, 2018 Share Posted February 7, 2018 Generally, CubeCart uses a function in /includes/functions.inc.php, currentPage() to build a URL. The URL posted above suggests the UPG module is doing something outside its scope of responsibility. Specifically, in this case, the Order->orderStatus() prepares notices for emailing by calling Order->getOrderDetails(). In the ORDER_PROCESS section, the cart.order_confirmation email template is loaded, and a call is made to Order->assignOrderDetails(). It is here that $DATA.link is created. It uses $GLOBALS['storeURL']. So, if this is where the link is actually being created, then somehow $GLOBALS['storeURL'] is getting changed. This is calculated and set in ini.inc.php and is not supposed to change. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.