Despite having one item for a product, it is allowed to add it multiple times!

This topic has 7 replies, 3 voices, and was last updated 2 days, 21 hours ago ago by Tony Rodriguez

  • Avatar: islam
    islam
    Participant
    April 14, 2026 at 13:33

    Hi,
    I have only one item for all products and set the dropdown to show only available stock, but when a product is added to the cart, then readd it again, it will modify its price in the cart as you
    can see on the attachment in subtotal.

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    6 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 14, 2026 at 14:05

    Hello @islam,

    Please check it now. You have set only one value for the select option range, but it should be a range: https://gyazo.com/18c0065fd02e6211a90b0d30ee85e2d7. If you would like to use it as an input field, please set the type to “Input”: https://prnt.sc/ENPenNWZDMHh.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: islam
    islam
    Participant
    April 14, 2026 at 14:15

    Hi Jack,

    Thanks for your support, the problem with the dropdown (default implementation) is that it doesn’t consider the available stock quantity!

    I have only one item on the stock, and I expect when adding an item to the cart, its subtotal will not be updated if the customer re add it again.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 14, 2026 at 16:01

    Hello @islam,

    You can perform a test using the default theme, such as Storefront, since the functionality for calculating stock items is provided by the WooCommerce plugin. Our theme scripts do not increase or decrease item quantities.

    If you would like to allow certain items to be sold only once (https://prnt.sc/emKOxc3Qx5sn), please refer to the official WooCommerce documentation: https://wordpress.org/support/topic/i-need-to-strict-purchasing-a-product-to-one-per-order/.

    Alternatively, you can set a specific stock quantity for your products: https://gyazo.com/34cd4db10a5a241cba8b393ee0a989a2/.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: islam
    islam
    Participant
    April 14, 2026 at 16:19

    Great thanks @Jack

    Avatar: islam
    islam
    Participant
    April 14, 2026 at 16:19

    Thanks for the support! My topic “Despite having one item for a product, it is allowed to add it multiple times!” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    April 14, 2026 at 16:19

    Dear islam,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Despite having one item for a product, it is allowed to add it multiple times!’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.