Woocommerce let 'Gravity addon' product reduce stock automatically

This project received 17 bids from talented freelancers with an average bid price of €14 EUR / hour.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
€12 - €18 EUR / hour
Total Bids
Project Description


I have got a webshop with woo commerce. I am using the plugin 'Gravity Addon' so customers can select an option.

The options are also related to 'simple products' in the shop.

What I want is when a customer selects an option, I need the stock of the 'simple product' (that is related to that option) to be reduced.

1.)My client sells bathrobes and belts.

2.)The bathrobes are variable products (sizes) and have each the same 'gravity addon' form. The form is called 'Do you want a belt with it?' and
the options are 'No Belt - Belt 1 - Belt 2 (+euro 21,-) - Belt 3 (+euro 34)'

3.)But you have also got these options as 'simple products' in the shop like: Belt1, Belt2, Belt3...

4.)I use SKU for all products. What needs to be done is that when the customer selects the option 'Belt3' for instant, the simple product 'Belt 3' needs to be reduced with 1 in the stock. And offcourse when the client selects a quantity of 2, it needs to be reduced with 2 in the stock.

# So actualy the value of the options in the form need to be the SKU of the simple products, telling the shop that it needs to be reduced in the stock by the number of quantity (????)

Can you help me with this?

It is important to only make changes in the [url removed, login to view] of the theme. So when I need to upgrade woo commerce, it will have no affect and I can make simply the changes when there are new belts.

Greets Jair

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online