Announcement

Collapse
No announcement yet.

How can I set the product link in the cart to go to the extended info pages?

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

    How can I set the product link in the cart to go to the extended info pages?

    When viewing the shopping cart, each product listed is a link back to the product. To change this to go to the extended information page of the product you need to make the following change to a perl script (note that this relies on Actinic generating the extended info page names (ie info_productreference.html) and also will not work with customer accounts as it no longer uses the search script to determine if a customer is logged in or not):

    * browse to your site folder and locate 'ActinicOrder.pm' (take a backup)
    * open the file using a text editor such as notepad
    * search for:

    $sProdLinkFormat

    * you should see:

    my $sProdLinkFormat = "<a href=\"$::g_sSearchScript?PRODREF=%s&NOLOGIN=1$sShop\">%s</A>";


    * replace this with:

    my $sProdLinkFormat = "<a href=\"info_%s.html\">%s</a>";

    * close and save the file
    * update your site.

    SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder or restore your backup.
Working...
X