Jump to content

"View Cart" Button Displays An Empty Cart..


Firehouse

Recommended Posts

  • 3 months later...

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 by Firehouse
Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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"?

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated