Jump to content
Jack_mcs

Continue Shopping

Recommended Posts

This addon adds a continue shopping button to the shopping cart page. It is compatible with Frozen, Phoenix and all V2.3.4 shops that can use modules.
 

Share this post


Link to post
Share on other sites

Hello Jack,

Thank you for the "Continue Shopping" addon, I was wandering if you could show me where I change the outcome  to put me on a "category display" of the product and not back to the "product" itself. Thanks iin advance for your time.

 

 

Share this post


Link to post
Share on other sites

The code is located in  includes/modules/content/shopping_cart/cm_sc_continue_shopping.php file. Search for the line "if ($fromProduct) {".  I don't know what change would be needed without going through the code so I can't help you any more than that.

Share this post


Link to post
Share on other sites

@Jack_mcs Many thanks for this simple button addon. Much needed and very appreciated.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Dont think it will ever get added into core, but is a requirement of many stores.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

It makes no sense to add something like this to Core Code. 

That just means more that Matt and I have to support, and (as you know) the support for the Core Team is coming from some businesses but not enough that we can make core Phoenix a "addons" project.  We prefer to change the core to enable easier implementation of addons for shopowners, but that means that good addons are harder to write, so addon makers must be supported.

The concept of modularity means that addons like this are easy to install, and the support of them is nothing to do with Matt or I.  Everyones a winner.


Help shape the future of Phoenix; join the Phoenix Club

Share this post


Link to post
Share on other sites

Jack I have just added this to a new 1.0.7.9 Phoenix store and am getting the following error

Quote

Notice: Undefined offset: 1 in /home/railway1/public_html/phoenix/includes/modules/content/shopping_cart/cm_sc_continue_shopping.php on line 68

Only seems to be present when logged in.

Before login the continue shopping button works as expected. As soon as logged in the error appears.

Any ideas how to correct this.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

@14steve14I think this will fix it. In the file and line mentioned, replace

if ($fromProduct) {

with

if ($fromProduct && isset($parts[1])) {

 

Share this post


Link to post
Share on other sites

@Jack_mcs That did cure the error, but has now added another one which may or may not be anything to do with your module, but with the module removed there is no error. This time the error/warning is Notice: Undefined index: sendto in /home/####/public_html/####/includes/system/versioned/1.0.5.3/order.php on line 176. 

When I refresh the site and page cache the error seems to not appear now the module is reinstalled and I have logged back in again.

I think your change may have sorted the error. I will keep my eyes open in case it returns.

Cheers Jack.

 

 


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×