Firehouse Posted January 26, 2014 Share Posted January 26, 2014 When clicking on "View Cart" button it is showing that the cart is empty with subtotal and Total Due Today displaying $0.00... 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 28, 2014 WHMCS Support Manager Share Posted January 28, 2014 Hi, Please post a link to your WHMCS installation so we may take a look. 0 Quote Link to comment Share on other sites More sharing options...
Firehouse Posted January 31, 2014 Author Share Posted January 31, 2014 (edited) http://firehousewebhosting.com/members/clientarea.php or from http://firehousewebhosting.com just hover over one of the plans and click on the "Purchase" button to follow the order process on the site.. Edited February 1, 2014 by Firehouse 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted February 2, 2014 Share Posted February 2, 2014 Are you sure youre actually putting something into the cart before trying to view it ( a very common mistake ) ? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 2, 2014 Share Posted February 2, 2014 othellotech is right - the purchase links are wrong as you aren't specifying the product and/or config in the links. http://docs.whmcs.com/Linking_to_WHMCS 0 Quote Link to comment Share on other sites More sharing options...
Firehouse Posted February 6, 2014 Author Share Posted February 6, 2014 Okay, I'll have a look, thanks 0 Quote Link to comment Share on other sites More sharing options...
Firehouse Posted June 1, 2014 Author Share Posted June 1, 2014 I'm back to trying to figure this out, and no matter how the links are inserted into the "Order Now" button (I'm using the Start Up plan on the site's planbox on the homepage to test the links out by the way), it still doesn't show anything within the "View Cart" page..Links I've tried are: cart.php?a=add&pid=1 (currently set to this one, if you wish to test it yourself on the site) cart.php?a=add&pid=1&carttpl=cart cart.php?a=add&pid=1&carttpl=modern I'm assuming one or all of these would be correct, and therefore not understanding why it still isn't working..I'm using the Modern template for orders..I even click on the link on the documentation page, and it doesn't appear to be working on the demo either (not sure if it's suppose to or not). I'm do have and am using a custom template on the site..Would this be causing the problem? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 1, 2014 Share Posted June 1, 2014 that order now button link on your site is working for me - it links to the correct product in the cart and starts the ordering process... the links on the documentation page (only tried top two) are working for me also... is there any chance you have a browser cache issue? 0 Quote Link to comment Share on other sites More sharing options...
Firehouse Posted June 1, 2014 Author Share Posted June 1, 2014 (edited) Order processing is working fine, as well as recurring payments (have had a test account for 3 months now, and no issues with payments at all) It's when clicking on the "View Cart" button that still continues to be the problem, as subtotal and Total Due Today displays $0.00 on that page..I did try, of course, clearing browser cache multiple times, but makes no difference.. Edited June 1, 2014 by Firehouse 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 1, 2014 Share Posted June 1, 2014 if it helps, I can now reproduce this locally when there are billing cycle options (works fine if only one option).. the simplest solution would be to either remove the view cart button from configureproduct.tpl, or change the link to use the same as Checkout (two lines above). <input type="button" value="{$LANG.viewcart}" onclick="window.location='cart.php?a=view'" /> either the customer will want to carry on shopping or checkout... viewcart is basically checkout anyway. what appears to be happening is that view cart button isn't adding the product to the cart (hence it being empty) - but both checkout and continue buttons will add it to the cart... 0 Quote Link to comment Share on other sites More sharing options...
Firehouse Posted June 1, 2014 Author Share Posted June 1, 2014 Yes, I do have three different billing options to choose from I have considered removing the "View Cart" button just so it doesn't create confusion for potential customers..Thanks for your help, and in taking a closer look at this, I appreciate it. 0 Quote Link to comment Share on other sites More sharing options...
Firehouse Posted June 2, 2014 Author Share Posted June 2, 2014 I've removed the "View Cart" button, and I'm noticing on the Review and Checkout page, in the upper left-hand corner, where it lists the products that are in the cart, and underneath it has these links: [Edit Configuration][Remove] Where can I remove the "Edit Configuration"? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 2, 2014 Share Posted June 2, 2014 in modern/viewcart.tpl, ~ line 66 <a href="{$smarty.server.PHP_SELF}?a=confproduct&i={$num}" class="cartedit">[{$LANG.carteditproductconfig}]</a> <a href="#" onclick="removeItem('p','{$num}');return false" class="cartremove">[{$LANG.cartremove}]</a> the first 'a href' is the edit config link; the second 'a href' is the remove link - so if you just want to remove the edit link, change the above line to... <a href="#" onclick="removeItem('p','{$num}');return false" class="cartremove">[{$LANG.cartremove}]</a> 0 Quote Link to comment Share on other sites More sharing options...
Firehouse Posted June 2, 2014 Author Share Posted June 2, 2014 Okay, great! Thank you again, brian for your help, I really appreciate it 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.