Announcement

Collapse
No announcement yet.

Taking the link out of NETQUOTEVAR:PRODUCTNAME?

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

    Taking the link out of NETQUOTEVAR:PRODUCTNAME?

    In the shopping cart it is listing my products with a link back to the product page, however, due to the way I am structuring the site this is undesirable.

    The line that displays the link/product name (in Act_ShoppingCartXML.html) is NETQUOTEVAR:PRODUCTNAME.

    Is there any way I can remove the link from this? Or is there another variable without the link that can display the product name?
    John

    #2
    Additional info :

    According to the advanced user guide this variable can be formatted in "Design | Text | Web Site | HTML", however, it doesn't say which one to edit, nor is there anything obvious. There is one href in there but changing it makes no difference...
    John

    Comment


      #3
      I'm afraid this one is hard coded in ActinicOrder.pm. It's easy to fix, however.

      Edit ActinicOrder.pm and look for the line
      Code:
      		my $sProdLink = !$bIncludeButtons ? $Response[1] : sprintf($sProdLinkFormat, ACTINIC::EncodeText2($$pProduct{'REFERENCE'}), $Response[1]);
      immediately below this add the line
      Code:
      		my $sProdLink = $Response[1];        # override link formatting from above
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Cool, that worked just fine - thanks.
        John

        Comment


          #5
          Don't forget that you'll need to redo the patch if you upgrade to a new version of Actinic.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X