Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Shopping Cart Hide Quantity

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Shopping Cart Hide Quantity

Tagged: Hide Quantity

  • This topic has 10 replies, 6 voices, and was last updated 7 years, 3 months ago by sahmcolorado.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • February 8, 2011 at 11:01 am #2668
    Sashiko Sachiko
    Member

    Is there any way to hide the quantity in the shopping cart? My items are downloadable and it doesn’t have any sense to have that option.

    Thank you.

    February 9, 2011 at 4:07 am #28838
    amin007
    Participant

    Update: There is now a settings option for this in the settings menu. If you do not want to show the quantity in the shopping cart, simply check the “Do Not Show Quantity in Shopping Cart” checkbox in the general settings of eStore.


    [deleted the code tweaks as it is no longer required]

    February 9, 2011 at 10:20 am #28839
    Sashiko Sachiko
    Member

    Hi amin007,

    It worked! Thank you for your prompt reply :)

    July 27, 2011 at 5:56 am #28840
    amin007
    Participant

    Added an option for this in the settings menu now. If you do not want to show the quantity in the shopping cart simply check the “Do Not Show Quantity in Shopping Cart” checkbox in the general settings of eStore.

    August 8, 2014 at 12:40 am #28841
    nolmt60243
    Member

    Going along this thread, I have an Add to Cart short code with a custom button. Are there any parameters that I can include to hide the quantity field? I would like the quantity to be active in general, but only disabled for these particular buttons.

    Here is the code: [wp_eStore_add_to_cart_custom_button id=1 button=http://yoursite.com/wp-content/uploads/2013/07/addtocart.png]

    I have tried show_quantity=0 and quantity=0, and am at a loss of how that might occur.

    Thanks!

    August 8, 2014 at 3:02 am #28842
    admin
    Keymaster

    Edit the eStore product in question and uncheck the “Display Quantity Field” field. That field is unchecked by default (you must have checked it when you created the product).

    Your customers will still be able to change the quantity in the shopping cart.

    August 8, 2014 at 4:02 am #28843
    nolmt60243
    Member

    I was looking to keep that selection checked, as everywhere else I would like it to have a quantity field. It is only this one instance that I would like the quantity turned off. Is that possible?

    Thanks!!!

    August 8, 2014 at 11:05 pm #28844
    admin
    Keymaster

    You can create another estore product (use the copy product functionality) then uncheck the quantity display field for this one and use it.

    February 20, 2018 at 8:58 am #28845
    sahmcolorado
    Spectator

    Is it possible to hide the quantity in the cart without limiting the user to 1 of each item?

    I have tried using css to hide the quantity, but if I use display:none, it messes up the columns in the table because the “Total” cell spans 2 columns. I can make it look exactly how I want by editing the html directly to eliminate that column, but I don’t know where I can do that in the code. Can you help me figure out how to do thi?

    Thank you for your help.

    February 20, 2018 at 1:09 pm #28846
    wzp
    Moderator

    Is it possible to hide the quantity in the cart without limiting the user to 1 of each item?

    Have you tried the “Do Not Show Quantity in Shopping Cart” checkbox in the general settings of eStore? It works, no matter what the product quantity is.

    February 21, 2018 at 12:51 am #28847
    sahmcolorado
    Spectator

    Yes, I tried that first. That prevents adding the same item again, though. Here is what I need the user to be able to do:

    1. Enter information in the customer info field for Item A and click “Add to Cart”

    2. Enter different information in the customer info field for Item A and click “Add to Cart” again.

    I have quantity hidden for Item A, so they can only add one at a time. Each time they add Item A, they must enter customer info. If they go and edit the quantity in the cart, it won’t make sense.

    I’ve played around a little with the code to remove the table cells that contain the quantity value in the cart. However, I haven’t yet found where the header cell is to remove that. I would really prefer not to mess with the code and just do something with css or a separate script if possible.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ