Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jeffreysmith1500

    (@jeffreysmith1500)

    Here is the formula I am trying:
    [alg_wc_mppu limit=”1″ product_category=”holiday-gift”]

    I have 3 products in a category named Holiday Gift. I would like to limit all customers, so they can only order 1 product from this category. If Holiday Gift1 is in Cart, they will not be able to add Holiday Gift2 or Holiday Gift3.

    Thread Starter jeffreysmith1500

    (@jeffreysmith1500)

    The formula worked after all. I did not enable “Limits by Formula”

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @jeffreysmith1500,

    Sorry for the late reply.

    Happy to hear you’ve figured it out, however, I believe the correct way would be to use term_id attribute (and not product_category), i.e.:

    
    [alg_wc_mppu limit="1" term_id="100"]
    

    where term_id would be the ID of your “holiday-gift” category.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do i limit a product category?’ is closed to new replies.