Support » Plugin: WooCommerce » Woocommerce calculated quantity in bundle

  • Resolved igeezmo

    (@igeezmo)


    I need your advice or direction in building quantity dependencies in grouped products:

    Task

    We have e-commerce website on WordPress, Woocommerce, and we are selling food boxes bundles. User can make it’s own bundle, but we want to help him make it more easy:

    There are 4 bundles with 4 boxes inside (nested products)

    User need to enter number of persons, he wants bundle for, and on front this value will be calculated with nested products dependencies, and values changes automatically in product cards.

    Example:

    John enters our website, he needs to buy bundle for 15 people, on the front he enters value “15” in field and press button.
    After that page reloads, and he see 4 presets (Meat, Vegan, Ballance, Fish). All of them are already calculated for 15 persons.
    Logic for bundle:

    Bundle 1 Master value: 15

    Box 1 (for 8 persons): calculated 15/8 and round up to closest integer value: 2 (ceil)

    Box 2 (for 5 persons): calculated 15/5 and round up to closest integer value: 3 (ceil)

    Box 3 (for 10 persons): calculated 15/10 and round up to closest integer value: 2 (ceil)

    Box 4 (for 7 persons): calculated 15/7 and round up to closest integer value: 3 (floor)

    and so on…

    User will open Bundle product with predefined values, that he could change manually as well.

    How this could be implemented? Found some plugins, but they can’t push value to product before entering card.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Three Sons

    (@3sonsdevelopment)

    Hi @igeezmo,

    Have you taken a look at the Gravity Forms Product Add-ons extension? It works with Gravity Forms to let you create custom product configurations. That’s the off-the-shelf product that comes to mind when I read your description.

    https://woocommerce.com/products/gravity-forms-add-ons/
    https://gravityforms.com

    If that’s not quite what you need, you may want to go with a custom solution. There are freelance developers available at Codeable who could create this for you.

    https://woocommerce.com/codeable/

    I hope that helps out.

    Cheers!

    Plugin Support Three Sons

    (@3sonsdevelopment)

    Hello @igeezmo,

    Hopefully, that extension worked for you. Since we haven’t heard back from you in a while, I’m marking this thread resolved. If you do have any questions, please feel free to open up a new topic and we’ll be happy to help out.

    Take care

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