To have separate destinations for the checkout 'Cancel' and the receipt page 'DONE' button you will need to change the script OrderScript.pl, a copy which you will find in your site folder*.
Open the script in a plain text editor and search for: -
'UNFRAMED_CHECKOUT_URL'
You should see: -
Change the code: -
to: -
where 'http://www.your_url.com/yourpage.html' is the address of the target page for the DONE button.
e.g.
then save and close the file.
Once you have uploaded the destinations for the checkout 'Cancel' and 'DONE' button on the receipt page will be different.
PLEASE NOTE: This will only work if you have entered a separate URL into the field 'URL for Completed and Aborted Checkout' in 'Design | Design Options'.
*If there is only one site within the software it will be called 'Site1', if there are multiple sites within the software you will need to browse to the site folder name corresponding to the current site you are using.
Additionally depending on the installation option chosen or operating system used, the 'Site' folder can be found in either 'My Documents', 'Documents', 'Shared Documents' or 'Program Files' in the folder 'Actinic vX\Sites\' (with X replacing the version number).
NOTE: All versions after v11.03 will have a file path of 'C:\Program Files\SellerDeck xxxx'.
Open the script in a plain text editor and search for: -
'UNFRAMED_CHECKOUT_URL'
You should see: -
Code:
if (defined $$::g_pSetupBlob{'UNFRAMED_CHECKOUT_URL'} && $$::g_pSetupBlob{'UNFRAMED_CHECKOUT_URL'} ne "") { $sRefPage = $$::g_pSetupBlob{'UNFRAMED_CHECKOUT_URL'}; }
Code:
$sRefPage = $$::g_pSetupBlob{'UNFRAMED_CHECKOUT_URL'};
Code:
$sRefPage = "http://www.your_url.com/yourpage.html";
e.g.
Code:
$sRefPage = "http://www.actinic.com/index.html";
Once you have uploaded the destinations for the checkout 'Cancel' and 'DONE' button on the receipt page will be different.
PLEASE NOTE: This will only work if you have entered a separate URL into the field 'URL for Completed and Aborted Checkout' in 'Design | Design Options'.
*If there is only one site within the software it will be called 'Site1', if there are multiple sites within the software you will need to browse to the site folder name corresponding to the current site you are using.
Additionally depending on the installation option chosen or operating system used, the 'Site' folder can be found in either 'My Documents', 'Documents', 'Shared Documents' or 'Program Files' in the folder 'Actinic vX\Sites\' (with X replacing the version number).
NOTE: All versions after v11.03 will have a file path of 'C:\Program Files\SellerDeck xxxx'.