defreeze Posted October 23, 2006 Share Posted October 23, 2006 Hi Cubecart, I've set up a fabulous shop with cubecart for a very fussy client. We are in the home straight however I can't seem to find an answer to the Buy Button issue. The Buy Button takes you to the product information even if there aren't product options to choose from. I've installed estelle's "redirect to basket after adding a product" but the client is not happy with this solution. Can the Buy button be set up to ONLY add to the basket without redirecting to Basket page or product information page? I'm running 3.0.13 with a heavily mod-ed killer skin. Many Thanks Patricia Quote Link to comment Share on other sites More sharing options...
Guest Posted October 23, 2006 Share Posted October 23, 2006 As far as i know, when there are no options it will add it to the basket. It seems that some mod might of caused this :) Quote Link to comment Share on other sites More sharing options...
defreeze Posted October 24, 2006 Author Share Posted October 24, 2006 I was afraid of that... Right I will try to uninstall the mods and see if that narrows it down. Thanks Patricia Quote Link to comment Share on other sites More sharing options...
Guest Posted October 24, 2006 Share Posted October 24, 2006 You are welcome and hope you spot it easily ;) Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 22, 2006 Share Posted November 22, 2006 This is a problem with the latest version of CubeCart. Quickest fix is to locate this section within includes/boxes/shoppingCart.inc.php: // prevents refresh adding extras to the basket header("Location: index.php?act=viewProd&productId=".$_POST['add']); exit; And comment it out, i.e: // start mod: Stop Buy button redirecting to product page, by Estelle /* // prevents refresh adding extras to the basket header("Location: index.php?act=viewProd&productId=".$_POST['add']); exit; */ // end mod: Stop Buy button redirecting to product page, by Estelle Quote Link to comment Share on other sites More sharing options...
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.