[Skip to main content](#vessel-content)

#   Update product inventory with different quantities

##

- **[Nat.Adams](/forum/user/12936-nat-adams "View Nat.Adams's Profile")**
- [![Nat.Adams's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12936-nat-adams "View Nat.Adams's Profile") Topic Author
- [ Offline](/forum/user/12936-nat-adams)

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 8 months ago [\#92804](#92804) by [Nat.Adams](/forum/user/12936-nat-adams "View Nat.Adams's Profile")  *[Update product inventory with different quantities](/forum/4-how-to/78925-update-product-inventory-with-different-quantities#92804 "Hi there, Is it possible to have the &quot;characteristics&quot; of a product subtract different amounts from the main product? Basically one product being sold in different quantities.  Example:  Main Product: Apples, Current Quantity: 10 lbs Characteristics: Quantity (1 lb, 2 lb, 3 lb, 4 lb)  If one customer buys 3 lbs of apples and another buys 2 lbs of apples, the Main Product Quantity would reduce to 5 lbs.  Is there a way to do this?  Thanks.")* was created by *[Nat.Adams](/forum/user/12936-nat-adams "View Nat.Adams's Profile")*

Hi there,
Is it possible to have the "characteristics" of a product subtract different amounts from the main product? Basically one product being sold in different quantities.

Example:

Main Product: Apples, Current Quantity: 10 lbs
Characteristics: Quantity (1 lb, 2 lb, 3 lb, 4 lb)

If one customer buys 3 lbs of apples and another buys 2 lbs of apples, the Main Product Quantity would reduce to 5 lbs.

Is there a way to do this?

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTI1LXVwZGF0ZS1wcm9kdWN0LWludmVudG9yeS13aXRoLWRpZmZlcmVudC1xdWFudGl0aWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago [\#92884](#92884) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Update product inventory with different quantities](/forum/4-how-to/78925-update-product-inventory-with-different-quantities#92884 "Hi there, Is it possible to have the &quot;characteristics&quot; of a product subtract different amounts from the main product? Basically one product being sold in different quantities.  Example:  Main Product: Apples, Current Quantity: 10 lbs Characteristics: Quantity (1 lb, 2 lb, 3 lb, 4 lb)  If one customer buys 3 lbs of apples and another buys 2 lbs of apples, the Main Product Quantity would reduce to 5 lbs.  Is there a way to do this?  Thanks.")*

Hi,

I think that you'll just have to delete the quantity of your product's variants quantity, that way the variant will share the same quantity as your main product.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTI1LXVwZGF0ZS1wcm9kdWN0LWludmVudG9yeS13aXRoLWRpZmZlcmVudC1xdWFudGl0aWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Nat.Adams](/forum/user/12936-nat-adams "View Nat.Adams's Profile")**
- [![Nat.Adams's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12936-nat-adams "View Nat.Adams's Profile") Topic Author
- [ Offline](/forum/user/12936-nat-adams)

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 7 months ago [\#93034](#93034) by [Nat.Adams](/forum/user/12936-nat-adams "View Nat.Adams's Profile")  Replied by *[Nat.Adams](/forum/user/12936-nat-adams "View Nat.Adams's Profile")* on topic *[Update product inventory with different quantities](/forum/4-how-to/78925-update-product-inventory-with-different-quantities#93034 "Hi there, Is it possible to have the &quot;characteristics&quot; of a product subtract different amounts from the main product? Basically one product being sold in different quantities.  Example:  Main Product: Apples, Current Quantity: 10 lbs Characteristics: Quantity (1 lb, 2 lb, 3 lb, 4 lb)  If one customer buys 3 lbs of apples and another buys 2 lbs of apples, the Main Product Quantity would reduce to 5 lbs.  Is there a way to do this?  Thanks.")*

Hi Mohamed,

Thank you for the response but I don't think I clarified it well enough. I'm trying to figure out how to have the characteristic "Quantity" (3 lbs, 2 lbs, etc) remove a designated quantity (3, 2, etc) from the main product quantity. How do I set up the characteristics and product so that each characteristic can subtract its respective quantity?

For example: if we sell apples in a 2 lb, 3 lb and 5 lb bag only, I believe we have to designate those amounts as a characteristic unless there is way to specify that a customer can only purchase specified amounts (1, 4 and 6+ are not allowable quantities).

Product: Apples
Characteristic "Quantity": (3 lbs, 2 lbs, etc.)
If a customer buys 3 lbs of apples, the system subtracts quantity 3 from the product, if a customer buys 2 lbs of apples, the system subtracts quantity 2 from the product, etc.

Thank again for your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTI1LXVwZGF0ZS1wcm9kdWN0LWludmVudG9yeS13aXRoLWRpZmZlcmVudC1xdWFudGl0aWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago -  13 years 7 months ago [\#93062](#93062) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Update product inventory with different quantities](/forum/4-how-to/78925-update-product-inventory-with-different-quantities#93062 "Hi there, Is it possible to have the &quot;characteristics&quot; of a product subtract different amounts from the main product? Basically one product being sold in different quantities.  Example:  Main Product: Apples, Current Quantity: 10 lbs Characteristics: Quantity (1 lb, 2 lb, 3 lb, 4 lb)  If one customer buys 3 lbs of apples and another buys 2 lbs of apples, the Main Product Quantity would reduce to 5 lbs.  Is there a way to do this?  Thanks.")*

That "feature" doesn't exists in Hikashop, but you can maybe do it by creating a plugin which will require some PHP knowledge.

Last edit: 13 years 7 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4OTI1LXVwZGF0ZS1wcm9kdWN0LWludmVudG9yeS13aXRoLWRpZmZlcmVudC1xdWFudGl0aWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.091 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
