how to include a button on product pages with a minimum quantity greater that 1?

Top WooCommerce & WordPress Plugins Forums Min Max Default Quantity for WooCommerce how to include a button on product pages with a minimum quantity greater that 1?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104844
    Jacek
    Guest

    Hi Omar,

    We’ve been using your plugin for quite a while and love the possibilities and simplicity – thanks for the effort and a great product.

    We do have a question. In our shop some products have minimum quantity equal to 1, and other products have min quant greater than one (eg 6 or 10). On a product pages with min quant set to >1 we’d like to include a button, that would redirect customers to a page listing products with min quant set to 1 so that the customers that only want to buy 1 item can browse through possibilities. Now we could achieve that by creating a category or a tag and assigning products with min quant set to 1 to that particular category or a tag. Unfortunately, this approach it’s prone to errors.. If we decide to change min quant for a particular product from 1 to eg 6 and don’t remember to update the category/tag errors will start to creep in. Is there a way to use data assigned by your plugin to achieve similar results? A hook or something that would throw a list of products with min quant = 1?

    Your input on the above matter will be greatly appreciated.

    #104845
    WPWhale
    Moderator

    Hey Jacek,

    Thanks for the great feedback.

    There are more than 1 possible solution for this, depending if you are defining min. as 1 or leave it unchanged (so default is 1), please send us at [email protected] and we can get this done with the correct query based on what you need exactly.

    Omar

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.