plopstar Posted May 27, 2006 Posted May 27, 2006 Hi all, Installed latest version of Ultimate SEO URLs... works great apart from two small but important issues... 'Buy now' bug * When I hit the buy now button in the product list I get an empty cart. :( - I can add the product to the cart fine from the product description though. :) 'checkout bug' * When I complete the checkout process I am returned to the customer login screen (but of course Im already logged in) I looked around the forum and have found mentions of these bugs but no solutions so far. Even had a go at pasting the 'working' code from the product description into the product listing, without success. If anyone has any pointers for solving these bug-ettes I would be very grateful :) Thanks Stuart Quote
choosealogin Posted May 27, 2006 Posted May 27, 2006 Stuart, Seems like I've heard of these issues before...you might try searching here for +"buy now" +empty (with the plus signs and quotes) or +checkout +login. I'd be curious to know where your 'buy now' button is pointing, in other words...on the product listing page, hover over a product's 'buy now' button and see what it says in the status bar in the bottom of your browser window. The checkout/login thing sounds more like a cookie problem or ssl setting problem. Just a thought. Mark Hi all, Installed latest version of Ultimate SEO URLs... works great apart from two small but important issues... 'Buy now' bug * When I hit the buy now button in the product list I get an empty cart. :( - I can add the product to the cart fine from the product description though. :) 'checkout bug' * When I complete the checkout process I am returned to the customer login screen (but of course Im already logged in) I looked around the forum and have found mentions of these bugs but no solutions so far. Even had a go at pasting the 'working' code from the product description into the product listing, without success. If anyone has any pointers for solving these bug-ettes I would be very grateful :) Thanks Stuart Quote
plopstar Posted May 28, 2006 Author Posted May 28, 2006 Thanks for replying Mark, Searched high and low...seems to be a few others with this problem but no resolutions that I can discover :( When SEO's turned off buy now button is pointing at: http://stuartcindy.com/studio/index.php?cP...402975ca23bd893 When SEO's turned on: http://stuartcindy.com/studio/hanging-acce...402975ca23bd893 Checkout problem dissapears when SEO's are turned off... I have force cookies turned off and no SSL installed yet. I'm just wondering if there's a way to change the .htaccess mod rewrite code so that it doesnt touch the buy now button or the continue button at the end of checkout...and if that would make any difference even if I did do that. What do you think? Cheers, Stuart Stuart, Seems like I've heard of these issues before...you might try searching here for +"buy now" +empty (with the plus signs and quotes) or +checkout +login. I'd be curious to know where your 'buy now' button is pointing, in other words...on the product listing page, hover over a product's 'buy now' button and see what it says in the status bar in the bottom of your browser window. The checkout/login thing sounds more like a cookie problem or ssl setting problem. Just a thought. Mark Quote
choosealogin Posted May 28, 2006 Posted May 28, 2006 Stuart, I visited the link in your message. Even though I have cookies enabled in my browser, session id's were appearing in all of your urls, click after click, still there. With cookies enabled on my end, I shouldn't be seeing the session id's. I found this thread, I think it may be relevant to your problem. http://www.oscommerce.com/forums/index.php?sho...3&hl=session+id Thanks for replying Mark, Searched high and low...seems to be a few others with this problem but no resolutions that I can discover :( When SEO's turned off buy now button is pointing at: http://stuartcindy.com/studio/index.php?cP...402975ca23bd893 When SEO's turned on: http://stuartcindy.com/studio/hanging-acce...402975ca23bd893 Checkout problem dissapears when SEO's are turned off... I have force cookies turned off and no SSL installed yet. I'm just wondering if there's a way to change the .htaccess mod rewrite code so that it doesnt touch the buy now button or the continue button at the end of checkout...and if that would make any difference even if I did do that. What do you think? Cheers, Stuart Quote
plopstar Posted May 30, 2006 Author Posted May 30, 2006 Thanks for the pointer... I just followed the thread suggested...just going to conduct a few experiments :) will keep you posted :) Much appreciated Stuart Stuart, I visited the link in your message. Even though I have cookies enabled in my browser, session id's were appearing in all of your urls, click after click, still there. With cookies enabled on my end, I shouldn't be seeing the session id's. I found this thread, I think it may be relevant to your problem. http://www.oscommerce.com/forums/index.php?sho...3&hl=session+id Quote
plopstar Posted May 30, 2006 Author Posted May 30, 2006 aha...the plot thickens :) Fantastic...I set my configure.php in the following way and cookies started working ...lovely clean urls now etc (slightly different than in the thread suggested - took a little experimentation) :) define('HTTP_SERVER', 'http://mysitehere.com'); define('HTTPS_SERVER', 'https://mysitehere.com'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.mysitehere.com'); define('HTTPS_COOKIE_DOMAIN', '.mysitehere.com'); define('HTTP_COOKIE_PATH', '/studio'); define('HTTPS_COOKIE_PATH', '/studio'); Actually..being new to OSC I didnt even realise there was a problem with that until you mentioned it :) Good work. So now, when cookies enabled by the shopper buy now and checkout operate no problem... however, when cookies are turned off the same problem appears. So it looks like something to do with OSC not being able to pass the session baton to the next page when there are no cookies, and SEO's are turned on...but just for buy now and checkout continue buttons! So we have progressed a little - thanks to you :) Any suggestions on the no cookie button problem? Cheers, Stuart Stuart, I visited the link in your message. Even though I have cookies enabled in my browser, session id's were appearing in all of your urls, click after click, still there. With cookies enabled on my end, I shouldn't be seeing the session id's. I found this thread, I think it may be relevant to your problem. http://www.oscommerce.com/forums/index.php?sho...3&hl=session+id Quote
plopstar Posted May 30, 2006 Author Posted May 30, 2006 As an update (for the benefit of anyone else who may have these problems)... I just tried using the 'buy now button links to forms' SID killer addon contrib to get around this...didnt seem to work for me :( I'll just force cookies for now and get up and running :) Stuart aha...the plot thickens :) Fantastic...I set my configure.php in the following way and cookies started working ...lovely clean urls now etc (slightly different than in the thread suggested - took a little experimentation) :) define('HTTP_SERVER', 'http://mysitehere.com'); define('HTTPS_SERVER', 'https://mysitehere.com'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.mysitehere.com'); define('HTTPS_COOKIE_DOMAIN', '.mysitehere.com'); define('HTTP_COOKIE_PATH', '/studio'); define('HTTPS_COOKIE_PATH', '/studio'); Actually..being new to OSC I didnt even realise there was a problem with that until you mentioned it :) Good work. So now, when cookies enabled by the shopper buy now and checkout operate no problem... however, when cookies are turned off the same problem appears. So it looks like something to do with OSC not being able to pass the session baton to the next page when there are no cookies, and SEO's are turned on...but just for buy now and checkout continue buttons! So we have progressed a little - thanks to you :) Any suggestions on the no cookie button problem? Cheers, Stuart Quote
choosealogin Posted May 31, 2006 Posted May 31, 2006 I didn't see this earlier. I'm glad you made some progress :thumbsup: What are your session settings in admin? admin>configuration>sessions As an update (for the benefit of anyone else who may have these problems)...I just tried using the 'buy now button links to forms' SID killer addon contrib to get around this...didnt seem to work for me :( I'll just force cookies for now and get up and running :) Stuart Quote
plopstar Posted June 3, 2006 Author Posted June 3, 2006 Session settings as follows: Session Directory /tmp Force Cookie Use True Check SSL Session ID False Check User Agent True Check IP Address True Prevent Spider Sessions True Recreate Session True Sorry for slow response to last post...in the middle of a web host move too. Busy 'rewiring' osc into new environment ;) Cheers, Stuart I didn't see this earlier. I'm glad you made some progress :thumbsup: What are your session settings in admin? admin>configuration>sessions Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.