The 'general questions' in the checkout retain their values if a customer re-orders. How can I stop that from happening?
By default the 'general questions' on checkout page 2 retain the data that customers enter so if they re-order the same data is downloaded with their next order. This is because it is stored in the cookie. To ensure that these fields are blank for the next order placed you can do the following:
* locate 'session.pm' in your site folder and edit it using a text editor such as notepad (take a backup first)
* search for:
if (($sKeyContactDetails eq $ACTINIC::GENERALINFO) &&
($key eq "USERDEFINED") && # skip referrer code
(ACTINIC::IsPromptHidden(4, 2))) # if prompt is hidden i.e. this is the source from referrer.pl
{
next;
}
* add the following after the above:
if ($sKeyContactDetails eq $ACTINIC::GENERALINFO && $key eq "HOWFOUND")
{
next;
}
if ($sKeyContactDetails eq $ACTINIC::GENERALINFO && $key eq "WHYBUY")
{
next;
}
if ($sKeyContactDetails eq $ACTINIC::GENERALINFO && $key eq "USERDEFINED")
{
next;
}
* save and close the file
* update your 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.
By default the 'general questions' on checkout page 2 retain the data that customers enter so if they re-order the same data is downloaded with their next order. This is because it is stored in the cookie. To ensure that these fields are blank for the next order placed you can do the following:
* locate 'session.pm' in your site folder and edit it using a text editor such as notepad (take a backup first)
* search for:
if (($sKeyContactDetails eq $ACTINIC::GENERALINFO) &&
($key eq "USERDEFINED") && # skip referrer code
(ACTINIC::IsPromptHidden(4, 2))) # if prompt is hidden i.e. this is the source from referrer.pl
{
next;
}
* add the following after the above:
if ($sKeyContactDetails eq $ACTINIC::GENERALINFO && $key eq "HOWFOUND")
{
next;
}
if ($sKeyContactDetails eq $ACTINIC::GENERALINFO && $key eq "WHYBUY")
{
next;
}
if ($sKeyContactDetails eq $ACTINIC::GENERALINFO && $key eq "USERDEFINED")
{
next;
}
* save and close the file
* update your 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.