cyberneticos Posted May 21, 2011 Share Posted May 21, 2011 In the Setup -> General Settings -> Ordering -> Default Order Form Template It doesn't matter what I select, I always get &carttpl=ajaxcart And I also get all of the other options (products that weren't selected showing up). If I am using a direct product link, I expected the other options not to show. I really don't have customers choose products from WHMCS, rather from my site (much neater). 0 Quote Link to comment Share on other sites More sharing options...
pjs32 Posted May 21, 2011 Share Posted May 21, 2011 In the Setup -> General Settings -> Ordering -> Default Order Form Template It doesn't matter what I select, I always get &carttpl=ajaxcart And I also get all of the other options (products that weren't selected showing up). If I am using a direct product link, I expected the other options not to show. I really don't have customers choose products from WHMCS, rather from my site (much neater). This has happened to me - seems to be caching issue - try clearing your cache aswell as deleting the files within the _templates folder. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted May 21, 2011 Author Share Posted May 21, 2011 I did. First thing I did actually. Also removed temp and cookies from my browser,.... No luck.. seems pretty odd, maybe I'm not understanding how it works. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 21, 2011 WHMCS CEO Share Posted May 21, 2011 So just to confirm, you have used the cart template variable in the URL to force a specific template, eg. cart.php?carttpl=ajaxcart , and then after that you have tried changing the default? That indeed wouldn't take effect until you started a new browser session, as the template you forced is going to be remember for the duration of your current session. Using another cart.php?carttpl=xxxxx url should change it though. Matt 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted May 21, 2011 Author Share Posted May 21, 2011 No Click on this: https://www.cyberneticos.com/clientes/order/?pid=1&skip=1 (I'm not setting anything there.) And the default template I have selected in Setup is the slider one. so in any case it should default to Slider. right ? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 21, 2011 WHMCS CEO Share Posted May 21, 2011 No, your link there is to the ajax order form. Not the shopping cart. Note the /order/ directory. So that is forcing the ajax cart via the url. Now that's set in your session you would have to close your browser and re-open and then go to the URL https://www.cyberneticos.com/clientes/cart.php?a=add&pid=1 (direct order link) and that would use your default cart template, or you could use https://www.cyberneticos.com/clientes/cart.php?pid=1&carttpl=slider or https://www.cyberneticos.com/clientes/cart.php?a=add&pid=1&carttpl=slider to force the slider. Matt 0 Quote Link to comment Share on other sites More sharing options...
ptomter Posted May 21, 2011 Share Posted May 21, 2011 So just to confirm, you have used the cart template variable in the URL to force a specific template, eg. cart.php?carttpl=ajaxcart , and then after that you have tried changing the default? That indeed wouldn't take effect until you started a new browser session, as the template you forced is going to be remember for the duration of your current session. Using another cart.php?carttpl=xxxxx url should change it though. Matt I am also facing this problem !! It seems that a file from whmcs redirects to order folder that come with latest package that also has a redirect link to this link so it goes in a "loop" its a seriously problem and we had to take our site down as well!! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 21, 2011 WHMCS CEO Share Posted May 21, 2011 I don't think that's what Anthony was describing before. If you can send me the steps to reproduce I'll take a look, but cart ordering links are working fine for sure. Matt 0 Quote Link to comment Share on other sites More sharing options...
lance Posted May 30, 2011 Share Posted May 30, 2011 same problem here also, whatever is selected as the default cart in the admin area, we only get the ajax form too.... we are using eg domain/billing/cart.php?a=add&pid=1 as the direct links for a product whatever is set as default in the whmcs admin area, eg at the moment its Verticalsteps we still get the ajax form, have also cleaned cache and templates_c ticket id 570742 is in for this. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted May 30, 2011 Author Share Posted May 30, 2011 I don't think that's what Anthony was describing before. If you can send me the steps to reproduce I'll take a look, but cart ordering links are working fine for sure. Matt Right, my issue was becuase in effect, I was using hardlinks to the ajax cart in the first place, and adding template parameters incorreclty. Everything is working as expected (it's not a Bug as far as I know). 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted June 13, 2011 Share Posted June 13, 2011 same problem here also, whatever is selected as the default cart in the admin area, we only get the ajax form too.... we are using eg domain/billing/cart.php?a=add&pid=1 as the direct links for a product whatever is set as default in the whmcs admin area, eg at the moment its Verticalsteps we still get the ajax form, have also cleaned cache and templates_c ticket id 570742 is in for this. hello just change on WHMCS path/order/index.php Line: .... header("Location: ../cart.php?pid=".(int)$pid."&carttpl=ajaxcart"); ... 0 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.