Price labels in checkout page and Cache data is not cleared for next check out(previous quantity)

nareshnaresh Member
Hi adam,

Issue 1: Our cart has three items, in check out page if item quantity is more than one then only price label is appearing. If the quantity is equal to 1 price label is not appearing in checkout page.

here is the url : http://gulamelts.webflow.io/

Issue 2: At the check out page the items added in the earlier session is not getting cleared and automatically adding to the current session quantity.

Thanks,
Naresh.
Comments
  • fc_adamfc_adam FoxyCart Team
    @naresh,

    Thanks for posting and including the link there.
    Issue 1: Our cart has three items, in check out page if item quantity is more than one then only price label is appearing. If the quantity is equal to 1 price label is not appearing in checkout page.
    I believe you're referring to the per-price column on the cart there? If so - that value hiding for single quantity products is the expected behaviour for FoxyCart. If the quantity is one, we hide that information as with a single amount the total price for that item is the per-item price as well.
    Issue 2: At the check out page the items added in the earlier session is not getting cleared and automatically adding to the current session quantity.
    Could you clarify what you're experiencing here? Any products that have been added to the cart will stay there unless removed, or until that particular cart session expires (72 hours for your store).

    If you're wanting to clear out the cart before adding any new products to the cart - you can remove the empty parameter as part of your add to cart form - which would look like this:
    <input type="hidden" name="empty" value="true" />
    That will cause the cart to be emptied before adding any new products included within that specific add to cart.

    Alternatively, are you referring to the fact that when you add a specific product to the cart (like for instance the Coconut Sugar Jar), that the other two products that you offer are also being added? If so, and you only want the product that is listed on that page to be added - you'll need to update your add to carts. Currently they're set to add all three products at once. Instead, you'll want to have the add to cart forms only include the details of the products you want to add.

    Does that help? If not - if you could provide some additional information about what you're experiencing, and perhaps some steps we could take to replicate - we'd be happy to take a closer look.
  • nareshnaresh Member
    Thank you Adam.
Sign In or Register to comment.