WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How to limit sales to one product per category (4 posts)

  1. evollove043
    Member
    Posted 5 months ago #

    Good day I'm trying to make an E-commerce site that enables step-by-step shopping (like those online shops that sell gaming PCs). I want to ask if it's possible to add only one product per category per transaction without using radio buttons or <select> drop-down box and just stick with Woocommerce's "Add to cart" buttons. Basically an example:

    Processor Category:
    Intel i7 ->Added to cart

    Intel i5
    AMD FX-octa ->Their add to cart buttons become disabled

    --------------OR--------------

    Video Card Category:
    AMD R9 290X ->Added to cart

    NVIDIA TITAN ->When added to cart, removes the previously added item from the same category

    Please bear with me, I'm a bit of a newbie. Thanks in advance!

    https://wordpress.org/plugins/woocommerce/

  2. Daniel Espinoza
    Member
    Posted 5 months ago #

    The closest plugin to this is Composite Products. You can make a 'kit' then the customer selects the quantity of each of the components to add.

    It won't limit the products in the cart to one per category though, that you would need to have custom coded.

  3. evollove043
    Member
    Posted 5 months ago #

    The plugin is great and all, and with a little tweaking would suit my needs perfectly but I don't think I can shell out $79 for this... :(

  4. evollove043
    Member
    Posted 5 months ago #

    Alright, maybe a conditional statement that evaluates whether or not an item of the same product category exists on the cart would help. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic