sarah1980 Posted July 17, 2005 Share Posted July 17, 2005 I have a problem when I have gone through to checkout and then I want to continue shopping, the continue shopping button brings me to checkout_shipping.php. Not sure exactly what part of the code relates to this problem but I assume it has something to do with catalog/shopping_cart.php. Here is the code at the "continue shopping" section: <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> ? ? ? ? ? ? ? ?<td class="main"><?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td> <?php ? ?$back = sizeof($navigation->path)-2; ? ?if (isset($navigation->path[$back])) { ?> ? ? ? ? ? ? ? ?<td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> <?php ? ?} ?> ? ? ? ? ? ? ? ?<td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> ? ? ? ? ? ? ? ?<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> Here is the link to the catalog: http://www.tallpoppycraft.com/catalog/ If there are any ideas out there, I'd appreciate it! Link to comment Share on other sites More sharing options...
hubcat Posted July 17, 2005 Share Posted July 17, 2005 I just went to your site and it worked perfectly for me. I added 3 different items, and each time the "continue shopping" button sent me back to what I had just been looking at. You might have been stuck in an odd loop. Try opening a new browser window and retesting. Good Luck, Adrienne Link to comment Share on other sites More sharing options...
stevel Posted July 17, 2005 Share Posted July 17, 2005 The "Continue Shopping" button takes you back to the page you were on before you clicked on the shopping cart link. You could, I suppose, replace: tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) with: tep_href_link(FILENAME_DEFAULT,"","NONSSL") which would take the user back to the home page always. It would be a bit more complicated to decide when to go back to the previous page and when not. BTW, I think you want "peek" on the main page and not "peak". Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
sarah1980 Posted July 17, 2005 Author Share Posted July 17, 2005 hubcat: Thanks for trying out the cart. After having a few hours sleep I've just turned the machine on again and the continue shopping button works perfectly. It did feel like an odd loop - a mini Groundhog Day almost? stevel: Thanks for the replacement code. If I get the loopy thing happening again I'll use it. You're right, "peek" is correct. Thanks for picking that one up - wouldn't want to attract the wrong type of visitor to my site :-" Link to comment Share on other sites More sharing options...
stevel Posted July 17, 2005 Share Posted July 17, 2005 I imagine that the issue is if you start to check out, get to the checkout_shipping page, then click on the cart and then Continue Shopping, you go back to the shipping page. That's the way it's currently designed. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.