Warning this involves editing the Perl scripts that Actinic uses.
Actinic (rightly) doesn't support patched scripts.
Edit ActinicSCCode.fil (use a text editor ( notepad will do )- make a backup copy first)
look for the line (there should only be one instance)
@Response = FindComponent($_,$VariantList);
Change it to read
@Response = FindComponent($_,$VariantList,'¬'); # use a weird character as the separator
look for the line (there should only be one instance)
$ProdTable .= ' - ' . $sFontOpen . $Response[1] . $sFontClose;
replace it with the following fragment
my $sAttributes = $Response[1]; # the list of attributes from FindComponent above
$sAttributes =~ s/¬/
- /g; # replace (escaped) wierd character with
$ProdTable .= '- ' . $sFontOpen . $sAttributes . $sFontClose; # make the line
A similar thing needs doing with ShoppingCart.pl ( back it up first).
This file is too big for notepad so you'll need a text editor - see www.editpadlite.com if you don't have one.
look for the line (there should only be one instance)
@Response = ActinicOrder::FindComponent($pAcomponent,$VariantList);
change it to read
@Response = ActinicOrder::FindComponent($pAcomponent,$VariantList,'¬');
look for the line (there should only be one instance)
$sComponents .= ' - ' . $Component{text};
replace it with the following fragment
my $sAttributes = $Component{text}; # the list of attributes from FindComponent above
$sAttributes =~ s/¬ /
- /g; # replace (escaped) wierd character with
$sComponents .= ' - ' . $sAttributes; # make the line
Now do a site update and see if it works.
Note:-
The same code as above exists in ActinicOrder.pm but is overrided if ActinicSCCode.fil exists.
You probably don't need to make these changes in ActinicOrder.pm but it wouldn't hurt if you do.
This file is too big for notepad so you'll need a text editor - see www.editpadlite.com if you don't have one.
Norman