Announcement

Collapse
No announcement yet.

Re-Direct After Shopping Cart

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

    Re-Direct After Shopping Cart

    I want the customer to be re-directed to the homepage after shopping basket in place of going back to the same product.

    I have tried doing the following but does not work:

    If you want to change the target of the "Continue Shopping" button of the view cart page then CartManager.pl (within your 'Site1' (or equivalent) folder) should be edited. Just open this file in a plain text editor and find the line

    my $sURL = $::Session->GetLastShopPage();

    There will be only on instance in sub ContinueShopping. This line should be changed to:

    my $sURL = "MyURL";

    where MyURL should be the URL where you wish to redirect your shoppers.


    Any ideas?

    #2
    you changed the line to my $sURL = "\index.html"

    and then you uploaded (or refreshed) the website?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      I changed it to the full URL e.g. $sURL = "http://www.site.com/index.html"

      After that i did an upload which did not work so i also did a refresh which did not work.

      Comment


        #4
        Try this ..

        - Edit 'CartManager.pl' in your site directory.
        - Locate 'sub ContinueShopping'
        - A few lines down you will see...

        my $sURL = $::Session->GetLastShopPage();

        - Comment out this line and add a new line so that it reads...

        # my $sURL = $::Session->GetLastShopPage();
        my $sURL = "TargetPage";

        Where TargetPage is the URL of the page to be displayed.

        Actinic 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.

        Kind regards,
        Bruce King
        SellerDeck

        Comment

        Working...
        X