Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Change "Continue Shopping" link on popup
Author « Topic »  

PaulP
Advanced Member

USA
213 Posts

Posted - 10/19/2018 :  17:47:34  
Hello ECT,
Is there a way to change the "Continue Shopping" link on the popup window that opens when you add a item to the cart?

When you click on the "Continue Shopping" link at the bottom of the window it closes the window and your still on the same product you just purchased. I want to change the link to take you to the categories page.


Yours Truly,
Paul P.
Longtime ECT Customer

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 10/19/2018 :  20:05:11  
Hi Paul,

The following may help you out. These are the parameters for the php includes file that are found on the parameters help page [url]https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp[/url]

Continue shopping

$actionaftercart=1;

...or not setting anything will mean that the continue shopping button will take the URL from the xxHomeURL from the vsadmin/inc/languagefile_en.php which is the current default. From version 6.4 the variable here is orhomeurl rather than xxHomeURL so if you wanted people to continue to products.php enter this in includes.php

$orhomeurl='products.php';

$actionaftercart=2;

...will make the cart "continue shopping" button return to the page you just came from when you are on the cart contents page.

$actionaftercart=3;

...when you add something to your cart, you will refresh immediately back to the products page you came from without going to the cart contents page.

$actionaftercart=4;

...will skip the page showing "The products have been added to your cart" when adding products to the cart.

$cartrefreshseconds=2;

... can be used to control the number of seconds that the message "The items has been added to your cart" is shown. If set to zero this will perform an HTTP redirect rather than a refresh.

If you need to change the continue shopping link on thanks.php, use the following

$thankspagecontinue="http://www.yourstoreurl.com/finishpage.php";

If you need to change Home URL in the product / category breadcrumbs, use the following

$orhomeurl="yourhomeurl.php";

Will - Bolton Manchester UK

Edited by - V45 on 10/19/2018 20:05:54

Andy
ECT Moderator

95440 Posts

Posted - 10/19/2018 :  23:48:04  
Hi Paul

The Continue Shopping link is simply a close window function and can't take you to another page I'm afraid.

Andy

Please feel free to review / rate our software

PaulP
Advanced Member

USA
213 Posts

Posted - 10/20/2018 :  04:46:58  
Hi Andy and V45,
Thanks for your help.

Can the wording be changed to "close window" and a link to the categories page added to the window with the text Continue Shopping?
Is that something that might be in a upcoming update?

Edited by - PaulP on 10/20/2018 04:51:33
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000