This can be fixed by changing three of the Perl scripts.
- Locate the file CartManager.pl in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for 'sub ContinueShopping'.
- Scroll down to the line…
my $bClearFrames = $sDigest && ACTINIC::IsCatalogFramed() ?
$::TRUE : $::FALSE;
- Replace the line with…
my $bClearFrames = $sDigest && ACTINIC::IsCatalogFramed() &&
$$::g_pSetupBlob{UNFRAMED_CHECKOUT} ? $::TRUE : $::FALSE;
- Save and exit.
- Locate the file SearchScript.pl in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for 'SECTIONID', you should see...
elsif (exists $::g_InputHash{SECTIONID})
{
my $sSection = ACTINIC:ecodeText($::g_InputHash{SECTIONID},
$ACTINIC::FORM_URL_ENCODED);
my $sHTML = DisplayDirectLinkPage($sSection );
- Replace the last line with…
my $sHTML = DisplayDirectLinkPage($sSection, $::TRUE );
- Search for DisplayDirectLinkPage, you should see...
return(DisplayDirectLinkPage($sLink, $sProdRef));
- Replace this with...
return(DisplayDirectLinkPage($sLink, $::FALSE, $sProdRef));
- Scroll down a few lines and you will see 'sub DisplayDirectLinkPage'
- At the start of the sub, insert an extra parameter so that...
my $sLink = shift;
my $sProdRef = shift;
- Becomes...
my $sLink = shift;
my $bClearFrames= shift;
my $sProdRef = shift;
- About 15 lines below this you will see...
$sLink = $::g_InputHash{NOCLEARFRAMES} || !$$::g_pSetupBlob{USE_FRAMES} ||
!$$::g_pSetupBlob{UNFRAMED_CHECKOUT} ?
- Replace the line with...
$sLink = !$bClearFrames || $::g_InputHash{NOCLEARFRAMES} ||
!$$::g_pSetupBlob{USE_FRAMES} ?
- Save and exit.
- Locate the file Session.pm in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for 'sub InitURLs'.
- Scroll down to...
$sReferrer .= "?PRODUCTPAGE\=" . ACTINIC::EncodeText2($sProductPage,
$::FALSE)
- Comment it out and insert a new line so it now reads...
# $sReferrer .= "?PRODUCTPAGE\=" . ACTINIC::EncodeText2($sProductPage,
$::FALSE)
$sReferrer .= "?PRODUCTPAGE\=" . $sBodyPage;//
- Scroll down a few lines until you see…
if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!framenavbar\.html)/i )
- Comment out this line with a '#' and insert a new line after it so that it reads...
# if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!framenavbar\.html)/i )
if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!(framenavbar|index)\.htm(l?))/i
)
Note 1: 'index' in the above line is the catalog base page name, if you have defined the Catalog base page to be something other than index.html then replace 'index' in the above code with the name of your base page name.
Note 2: If you have created additional frames other than the two standard frames then the name of the html pages loaded into the additional frames also needs to be
added to the line above for example…
If you have a third frame which loads topframe.html then change the above code to…
if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!(framenavbar|topframe|index)\.ht
m(l?))/i )
- 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.
- Locate the file CartManager.pl in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for 'sub ContinueShopping'.
- Scroll down to the line…
my $bClearFrames = $sDigest && ACTINIC::IsCatalogFramed() ?
$::TRUE : $::FALSE;
- Replace the line with…
my $bClearFrames = $sDigest && ACTINIC::IsCatalogFramed() &&
$$::g_pSetupBlob{UNFRAMED_CHECKOUT} ? $::TRUE : $::FALSE;
- Save and exit.
- Locate the file SearchScript.pl in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for 'SECTIONID', you should see...
elsif (exists $::g_InputHash{SECTIONID})
{
my $sSection = ACTINIC:ecodeText($::g_InputHash{SECTIONID},
$ACTINIC::FORM_URL_ENCODED);
my $sHTML = DisplayDirectLinkPage($sSection );
- Replace the last line with…
my $sHTML = DisplayDirectLinkPage($sSection, $::TRUE );
- Search for DisplayDirectLinkPage, you should see...
return(DisplayDirectLinkPage($sLink, $sProdRef));
- Replace this with...
return(DisplayDirectLinkPage($sLink, $::FALSE, $sProdRef));
- Scroll down a few lines and you will see 'sub DisplayDirectLinkPage'
- At the start of the sub, insert an extra parameter so that...
my $sLink = shift;
my $sProdRef = shift;
- Becomes...
my $sLink = shift;
my $bClearFrames= shift;
my $sProdRef = shift;
- About 15 lines below this you will see...
$sLink = $::g_InputHash{NOCLEARFRAMES} || !$$::g_pSetupBlob{USE_FRAMES} ||
!$$::g_pSetupBlob{UNFRAMED_CHECKOUT} ?
- Replace the line with...
$sLink = !$bClearFrames || $::g_InputHash{NOCLEARFRAMES} ||
!$$::g_pSetupBlob{USE_FRAMES} ?
- Save and exit.
- Locate the file Session.pm in the site folder.
- Edit the file with a text editor such as Notepad.
- Search for 'sub InitURLs'.
- Scroll down to...
$sReferrer .= "?PRODUCTPAGE\=" . ACTINIC::EncodeText2($sProductPage,
$::FALSE)
- Comment it out and insert a new line so it now reads...
# $sReferrer .= "?PRODUCTPAGE\=" . ACTINIC::EncodeText2($sProductPage,
$::FALSE)
$sReferrer .= "?PRODUCTPAGE\=" . $sBodyPage;//
- Scroll down a few lines until you see…
if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!framenavbar\.html)/i )
- Comment out this line with a '#' and insert a new line after it so that it reads...
# if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!framenavbar\.html)/i )
if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!(framenavbar|index)\.htm(l?))/i
)
Note 1: 'index' in the above line is the catalog base page name, if you have defined the Catalog base page to be something other than index.html then replace 'index' in the above code with the name of your base page name.
Note 2: If you have created additional frames other than the two standard frames then the name of the html pages loaded into the additional frames also needs to be
added to the line above for example…
If you have a third frame which loads topframe.html then change the above code to…
if ($sReferrer =~
/$::g_sAccountScriptName.*PRODUCTPAGE\=(?!(framenavbar|topframe|index)\.ht
m(l?))/i )
- 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.