This requires a change to ShoppingCart.pl
Edit ShoppingCart.pl in the site folder using Notepad.
- Search for 'sub BounceAfterAddToCart'.
- Then search for 'ReturnToLastPage'.
You should see the following 2 lines...
@Response = ReturnToLastPage($nBounceDelay, ACTINIC::GetPhrase(-1, 1962) . $sCartHTML . ACTINIC::GetPhrase(-1, 1970) . ACTINIC::GetPhrase(-1, 2051),
$sPageTitle);
Comment out the 2 lines by inserting a '#' at the start of each line and add a call to BounceToPageEnhanced so it now reads...
#@Response = ReturnToLastPage($nBounceDelay, ACTINIC::GetPhrase(-1, 1962) . $sCartHTML . ACTINIC::GetPhrase(-1, 1970) . ACTINIC::GetPhrase(-1, 2051),
#$sPageTitle);
my $sDestinationUrl = "http://yourserver/path/page.html" ;
@Response = ACTINIC::BounceToPageEnhanced($nBounceDelay, ACTINIC::GetPhrase(-1, 1962) . $sCartHTML . ACTINIC::GetPhrase(-1, 1970)
. ACTINIC::GetPhrase(-1, 2051), $sPageTitle, $::g_sWebSiteUrl,
$::g_sContentUrl, $::g_pSetupBlob, $sDestinationUrl, \%::g_InputHash);
Replace "http://yourserver/path/page.html" in the above code with the desired URL.
There is a refinement required to make this work in B2B.
Instead of using a fixed URL we need to use the search script to load the required section, the search script will take care of the B2B processing.
Instead of using...
my $sDestinationUrl = "http://yourserver/path/page.html" ;
use...
my $sDestinationUrl = "http://yourserver/cgi-bin/ss000001.pl?SECTIONID=page.html&NOLOGIN=1" ;
If you are using scriptID 1 then ss000001 is Ok, else it needs to be changed to match the scriptID in 'Web | Network Setup'.
Save and exit. Update the site.
SellerDeck 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, replace the script you have changed and upload to you site. If you have a test facility, we strongly recommend that you test any changes before you upload them to your live site.
Edit ShoppingCart.pl in the site folder using Notepad.
- Search for 'sub BounceAfterAddToCart'.
- Then search for 'ReturnToLastPage'.
You should see the following 2 lines...
@Response = ReturnToLastPage($nBounceDelay, ACTINIC::GetPhrase(-1, 1962) . $sCartHTML . ACTINIC::GetPhrase(-1, 1970) . ACTINIC::GetPhrase(-1, 2051),
$sPageTitle);
Comment out the 2 lines by inserting a '#' at the start of each line and add a call to BounceToPageEnhanced so it now reads...
#@Response = ReturnToLastPage($nBounceDelay, ACTINIC::GetPhrase(-1, 1962) . $sCartHTML . ACTINIC::GetPhrase(-1, 1970) . ACTINIC::GetPhrase(-1, 2051),
#$sPageTitle);
my $sDestinationUrl = "http://yourserver/path/page.html" ;
@Response = ACTINIC::BounceToPageEnhanced($nBounceDelay, ACTINIC::GetPhrase(-1, 1962) . $sCartHTML . ACTINIC::GetPhrase(-1, 1970)
. ACTINIC::GetPhrase(-1, 2051), $sPageTitle, $::g_sWebSiteUrl,
$::g_sContentUrl, $::g_pSetupBlob, $sDestinationUrl, \%::g_InputHash);
Replace "http://yourserver/path/page.html" in the above code with the desired URL.
There is a refinement required to make this work in B2B.
Instead of using a fixed URL we need to use the search script to load the required section, the search script will take care of the B2B processing.
Instead of using...
my $sDestinationUrl = "http://yourserver/path/page.html" ;
use...
my $sDestinationUrl = "http://yourserver/cgi-bin/ss000001.pl?SECTIONID=page.html&NOLOGIN=1" ;
If you are using scriptID 1 then ss000001 is Ok, else it needs to be changed to match the scriptID in 'Web | Network Setup'.
Save and exit. Update the site.
SellerDeck 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, replace the script you have changed and upload to you site. If you have a test facility, we strongly recommend that you test any changes before you upload them to your live site.