PDA

View Full Version : removing link from product in cart


angieb
29-Dec-2003, 06:29 PM
Hi,

I need to remove the link from the product name from in the cart, i would have thought it would have been somewhere in the Act_ShoppingCartXML.html page, but i just can't see it. Am i just being blind?!!

Cheers
Angie

NormanRouxel
29-Dec-2003, 07:42 PM
Not blind - it's well hidden in the Perl.

Edit ActinicOrder.pm (use a text editor not a word processor and backup the file first)
and replace the line:-

my $sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat, ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $Response[1]);


With

# Original my $sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat, ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $Response[1]);
my $sProdLink = $Response[1]; # patched to disable product link


Norman

angieb
29-Dec-2003, 07:49 PM
cheers!

That worked a treat, you're a star!

Angie

NormanRouxel
29-Dec-2003, 09:53 PM
Don't forget that when you upgrade Actinic that modified scripts get replaced by clean new ones, so you'll have to re-do that patch again.

Norman