Home Forums WoodMart support forum How to set quantity presets ?

How to set quantity presets ?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #689190

    Maxor
    Participant

    Hi

    i would like to set quantity presets 10 / 20 / 30

    depending on products or categories

    how can i do that

    see example in private url

    thank you

    #689231

    Hello,

    I’ve checked the example link you shared. You can achieve the same setup in WooCommerce with the following steps:

    1. Create a “Quantity” attribute:

    Navigate to Products > Attributes in your WordPress dashboard > Add a new attribute (for example, “Quantity”) > Add your desired values such as 10 | 20 | 30.

    2. Assign it to the product:

    Edit the product where you want this feature > In the Attributes tab, select “Quantity” and choose the values you want to use > Mark it as Used for variations and save.

    3. Create variations:

    In the Variations tab, click “Create variations from all attributes > You’ll now be able to set a different price for each quantity value .

    10 pcs → $20
    20 pcs → $35
    30 pcs → $45

    This way, the customer can select a quantity preset like 10 / 20 / 30 directly from the product page, similar to your example link.

    Best Regards,

    #690360

    Maxor
    Participant

    Ok thank you but how can it be linked to quantities in woocommerce
    i mean if the client seclect the attribute “10 pcs → $20”, how can it automatically select quantity = 10 ?

    thank you

    #690379

    Hello,

    By default, WooCommerce doesn’t automatically link variation attributes like 10 pcs to the actual quantity input field; they work independently. The “10 pcs > $20” variation simply represents a pricing option for that quantity, but it won’t automatically set the quantity field to 10 when selected.

    Best Regards,

    #690395

    Maxor
    Participant

    ok then this solution cannot work then ?

    #690509

    Hello,

    Yes, with WooCommerce’s default functionality, this specific setup won’t automatically adjust the quantity field when a variation like “10 pcs” is selected. The variation only represents a pricing option and doesn’t control the quantity input directly.

    If you want the quantity field to update automatically based on the selected variation, You need to find a third-party plugin to achieve more functionality that best suits you.

    Best Regards,

Viewing 6 posts - 1 through 6 (of 6 total)