Announcement

Collapse
No announcement yet.

removing link from product in cart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    removing link from product in cart

    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

    #2
    Not blind - it's well hidden in the Perl.

    Code:
    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
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      cheers!

      That worked a treat, you're a star!

      Angie

      Comment


        #4
        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
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X