PDA

View Full Version : Problem with checkout in v1.3


rjwmotor
November 26th, 2003, 08:56 PM
I just upgraded to v1.3 from v1.2 and the only problem I'm having is in the ordering phase. Everything was working fine so I know it's something in the upgrade. First, When I add something to the cart, it goes to a page that says "1-whatever added to cart". "Whatever" would be the product. In v1.2, it went straight to the checkout page; in v1.3 it does not. It goes to this page and stops. I have "go to checkout" specified in my store settings so what gives? I'd prefer to bypass this page altogether if possible.

Secondly, after one item is added to the cart; that's all it will let me add. After clicking to add a second item, it goes to a blank "checkout" page and does not show up in the cart.

Like I said, everything was working fine so it has to be something with v1.3 or something I didn't change. Either way please help!

If you need to see what I mean go to my site: www.rjwmotorsports.com/store.php

Jamie
November 28th, 2003, 11:05 AM
Hi,

I believe something in your custom theme is causing the problem. I logged in and changed the theme to "squirrelcart", and everything worked OK. (which only applies for the user, not your whole site).

I would suggest you go through the template files in your custom theme, and compare them to the new ones in the squirrelcart theme. You should only have the templates that you modified in your custom theme folder. If you rename each one to "*.old", and test your site in between each file rename, you should be able to find the culprit. I would bet that it is "show_product_detail.php" which had a few changes made to it for v1.3.0. You will probable need to replace the <form> tag at the top of the file with the following:

<form action="<?=$Form_Action?>" method="get">
<?=$Show_Cart?><!-- DO NOT REMOVE OR MODIFY THIS LINE! It controls whether or not the checkout is displayed when adding to the cart -->
<input type="hidden" name="microtime" value="<?=$Microtime?>">


Thanks,
Jamie

rjwmotor
November 28th, 2003, 02:27 PM
You were right Jamie; it was in my "show_product_detail" file. I simply added a new row and everthing's working fine. Thanks!

Jamie
November 28th, 2003, 02:45 PM
Great! Glad it worked.