Hi Tracey,
This is a bug because it used to work in V7.
Work around:
Edit ActinicDiscounts.pm
Search for and replace...
$Response[1]
with...
$$pProduct{'NAME'}
Save and exit
Edit ActinicOrder.pm
Search for and replace...
$sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat,
ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $Response[1]);
with...
$sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat,
ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $$pProduct{'NAME'});
Save and exit
Edit SearchScript.pl
Search for and replace...
$ACTINIC::B2B->SetXML('S_PNAME', $sTemp);
with...
$ACTINIC::B2B->SetXML('S_PNAME', $Product{NAME});
Save and exit
Edit ShoppingCart.pl
Search for and replace...
$hVariables{$::VARPREFIX."PRODUCTNAME"} = $sLine;
with...
$hVariables{$::VARPREFIX."PRODUCTNAME"} = $$pProduct{"NAME"};
Save and exit
Update the site
Please make sure you have a backup first.
This is a bug because it used to work in V7.
Work around:
Edit ActinicDiscounts.pm
Search for and replace...
$Response[1]
with...
$$pProduct{'NAME'}
Save and exit
Edit ActinicOrder.pm
Search for and replace...
$sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat,
ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $Response[1]);
with...
$sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat,
ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $$pProduct{'NAME'});
Save and exit
Edit SearchScript.pl
Search for and replace...
$ACTINIC::B2B->SetXML('S_PNAME', $sTemp);
with...
$ACTINIC::B2B->SetXML('S_PNAME', $Product{NAME});
Save and exit
Edit ShoppingCart.pl
Search for and replace...
$hVariables{$::VARPREFIX."PRODUCTNAME"} = $sLine;
with...
$hVariables{$::VARPREFIX."PRODUCTNAME"} = $$pProduct{"NAME"};
Save and exit
Update the site
Please make sure you have a backup first.
Comment