DBH Web Posted February 27, 2018 Share Posted February 27, 2018 (edited) OK here is the problem, If someone comes to our site and simply clicks on the "Sign Up Now" link (https://2buckhost.com/clients/cart.php?a=add&pid=1&carttpl=standard_cart ) we have on our front page then there is no problem , however if they go to the store page and click the "Web Hosting Plans" link (https://2buckhost.com/clients/cart.php?gid=1) and then they click Order Now they will be taken to the "Choose a Domain" page once they fill in the domain and click "Use" it just takes them back to the "Web Hosting Plans" page again and the cycle begins again, so they are unable to complete the order, this also happens with logged in clients when they click the "Order New Services" link. Now here is the strange thing if they have used the "Sign Up Now" (https://2buckhost.com/clients/cart.php?a=add&pid=1&carttpl=standard_cart ) link first, then when they use either of those links they will work??? Anybody have any ideas about what the cause of this issue maybe? Edited February 27, 2018 by DBH Web Link to comment Share on other sites More sharing options...
DBH Web Posted February 27, 2018 Author Share Posted February 27, 2018 I have made a temporary work around by redirecting all cart links to (https://2buckhost.com/clients/cart.php?a=add&pid=1&carttpl=standard_cart ) until we can find a better way ti fix it. Link to comment Share on other sites More sharing options...
brian! Posted February 27, 2018 Share Posted February 27, 2018 2 hours ago, DBH Web said: Anybody have any ideas about what the cause of this issue maybe? what modifications have you made to standard_cart ? if I change the url to use the "Six" template, with your standard_cart -> failure. if I change the url to use the "Six" template, with "Modern" -> success. if I change the url to use your custom template, with "Modern" -> success. it's weird that both the store link and the categories link both point to a product rather than a group - is that something you've done yourself to try to get around this issue ? Link to comment Share on other sites More sharing options...
brian! Posted February 27, 2018 Share Posted February 27, 2018 3 minutes ago, DBH Web said: I have made a temporary work around by redirecting all cart links to (https://2buckhost.com/clients/cart.php?a=add&pid=1&carttpl=standard_cart ) until we can find a better way ti fix it. ok - that solves my last question! Link to comment Share on other sites More sharing options...
DBH Web Posted February 27, 2018 Author Share Posted February 27, 2018 4 minutes ago, brian! said: what modifications have you made to standard_cart ? if I change the url to use the "Six" template, with your standard_cart -> failure. if I change the url to use the "Six" template, with "Modern" -> success. if I change the url to use your custom template, with "Modern" -> success. No mods on the standard cart as If I do any mods I normally save it as a new template so I can revert back to an unmodded one in case something like this happens. If I put everything back to default it still does the same, No matter what combination I use we get the same result, just loops back on it's self. Pretty lucky as we only sell the one hosting package on that site so if we have to keep the redirects then should be no problem however would be good to get it working in case we decide to add more packages in the future. Link to comment Share on other sites More sharing options...
DBH Web Posted February 27, 2018 Author Share Posted February 27, 2018 (edited) The really strange part is (as I said) that if you use the link (https://2buckhost.com/clients/cart.php?a=add&pid=1&carttpl=standard_cart ) first as we did in testing and then try the link that loops, it no longer loops and works as it should, so we then clear all browsing data and try that link again and it is back to looping again, as if it has something to do with dns cache or cookies? Edited February 27, 2018 by DBH Web Link to comment Share on other sites More sharing options...
brian! Posted February 27, 2018 Share Posted February 27, 2018 what happens when you try... https://2buckhost.com/clients/cart.php?gid=1&carttpl=standard_cart ? because for me that works... though i'm running out of browsers to check this with. now you shouldn't need to add the cart template to the URL... is standard_cart your default orderform template in setup -> general settings -> ordering ? Link to comment Share on other sites More sharing options...
DBH Web Posted February 27, 2018 Author Share Posted February 27, 2018 Yes that works fine, and yes standard_cart is the default orderform template in setup -> general settings -> ordering Link to comment Share on other sites More sharing options...
brian! Posted February 27, 2018 Share Posted February 27, 2018 there could be a js clash somewhere or an issue with your custom template... be difficult to tell without examining the template more closely... if tweaking the URL has fixed it for now, and if this were me, i'd live with that and only look into it further if it starts to fail. Link to comment Share on other sites More sharing options...
DBH Web Posted February 27, 2018 Author Share Posted February 27, 2018 Yes tweaking the URL has worked so I think that's what we will do. Thanks for your help Brian Link to comment Share on other sites More sharing options...
Recommended Posts