X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   The universal solution "Continue Shopping Button" (https://forum.x-cart.com/showthread.php?t=39603)

imexhouse 05-05-2009 02:17 AM

Re: The universal solution "Continue Shopping Button"
 
Yurij,

I'm using your latest version and it works great. Except, when a customer logs in and the next step he takes is to click on "View cart". When he clicks on "Continue Shopping", he's taken back to the secure login page, even though he's already logged in. Could you put in an elseif for that situation, so he's taken back to home page instead?

Thanks!

Victor D 05-11-2009 07:01 AM

Re: The universal solution "Continue Shopping Button"
 
Something like this I suppose
Code:

if (strpos($back_url, "secure_login.php") !== false){
$back_url="home.php"
}

$smarty->assign("back_url", $back_url); 


imexhouse 05-11-2009 12:14 PM

Re: The universal solution "Continue Shopping Button"
 
Thanks Victor - so far so good :)

ARW VISIONS 06-03-2009 04:00 PM

Re: The universal solution "Continue Shopping Button"
 
I can't get this working with 4.2. Has anyone done this?

ARW VISIONS 06-05-2009 05:04 PM

Re: The universal solution "Continue Shopping Button"
 
Any one???????

buckyreal2 06-09-2009 09:47 AM

Re: The universal solution "Continue Shopping Button"
 
Does anyone have code that works with 4.2?

tamalita 07-16-2009 01:52 PM

Re: The universal solution "Continue Shopping Button"
 
I would like to know if this is working for 4.2 as well. My 'continue shopping' button is going to the home page; gonna read back through this thread to see what it should be ...

taponitrof 09-29-2009 03:45 PM

Re: The universal solution "Continue Shopping Button"
 
Do this mod work on 4.2.x?

I'd love to give it a try. I sure wish this were a setting in x-cart.

voodoo1967 10-15-2009 12:25 PM

Re: The universal solution "Continue Shopping Button"
 
bump....
Anyone got this to work on 4.2 ?

nate korn 10-16-2009 07:37 AM

Re: The universal solution "Continue Shopping Button"
 
hello,

i find this "continue shopping button" very useful only the code does not seem to match with my version. anyone know the code for this???


All times are GMT -8. The time now is 01:32 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.