Once a customer has added a product to cart how can i change the bounce page so that the customer will be redirected to the checkout immediately or redirected to the store front so more products can be added?
- Edit 'CartManager.pl' in your site directory.
- Locate 'sub ContinueShopping'
- A few lines down you will see...
my $sURL = $::Session->GetLastShopPage();
- Comment out this line and add a new line so that it reads...
# my $sURL = $::Session->GetLastShopPage();
my $sURL = "TargetPage";
Where TargetPage is the URL of the page to be displayed.
Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.
Hi chris i made those changes but now when i try to take items through to the checkout i get this message
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Global symbol "$sURL" requires explicit package name at e:\domains\peaksensors.com\user\htdocs\cgi-bin\cm000001.pl line 240.
BEGIN not safe after errors--compilation aborted at e:\domains\peaksensors.com\user\htdocs\cgi-bin\cm000001.pl line 240.
here is the information that i changed:
# my $sURL = $::Session->GetLastShopPage();
my $sURL = "http://www.peaksensors.com/cgi-bin/os000001.pl?ACTION=Start&REFPAGE=http%3a%2f%2fwww%2epeaksensors%2ecom%2facatalog%2f";
What did i do wrong? Any help would be great thanks
I have now changed the seetings back to the original format so if your view our website it will work now, i would however still like to be abe to change the bounce pages.
thanks
Comment