Code

Discussion on WooCommerce Attribute Stock – Shared Stock & Variable Quantities

Discussion on WooCommerce Attribute Stock – Shared Stock & Variable Quantities

Cart 1,846 sales
Recently Updated

MewzPlugins supports this item

Supported

This author's response time can be up to 1 business day.

176 comments found.

Hi, just trying to understand if my use case is possible before purchasing.

I have 3 products, A, B and C. I sell each of them separately with their own stock amount. Now I want to add a bundle (4th product). The bundle consists of 1x A, 1x B and 1x C, and never anything else. The stock of the bundle should be equal to the lowest amount of the first 3 products. For example: if stock A is 12, B is 8 and C is 22, the bundle stock is 8.

Your plugin description specifically says it supports bundles, but I have not been able to replicate this setup on your test environment. Could you please explain step by step which settings to configure to create this setup?

Thank you.

Hi there. Thanks for your interest. But I wouldn’t recommend our plugin if this is the only type of functionality you’re looking for. Attribute stock can achieve this thanks to its flexibility, but purpose-built product bundle plugins will provide a simpler and more user-friendly experience in the end.

Thanks for the quick reply. Could you recommend purpose-built product bundle plugins that are not monthly subscriptions?

No sorry, I haven’t used any product bundle plugins extensively myself. But there are several on CodeCanyon alone and all are once-off purchases.

Hi,

Pre-sales question.

We are looking for a way to use SKU1 stock for setting stock quantity for multi-packs. SKU1 = 100pcs SKU2 (2-pack SKU1) = Automatically 50pcs SKU3 (5-pack SKU1) = Automatically 20pcs

Any of these sold should deduct stock accordingly (1pc, 2pcs or 5pcs etc)

Is this the right plugin to do it?

Best Regards

Hi there,

Yes, you can manage variable stock quantities like this in a number of ways. For example by setting a multiplier on a global attribute term, or directly on a product variation.

Note that in WooCommerce SKUs themselves are solely for reference purposes and don’t affect stock functionality in any way. This is true for our plugin too, but you can achieve the same functionality you’re looking for in more manageable ways.

https://wcas-docs.mewz.dev/stock-multipliers

Hi,

Thank you for the quick reply.

Our current setup is all single products: Product A (1x) 2-set Product A (2x multiplier) 3-set Product A (3x multiplier) Product AX (1x Product A / Same stock as product A) Product AY (1x Product A / Same stock as product A) Product AZ (1x Product A / Same stock as product A)

Is this plugin suitable to have a single stock for all these different “versions” of the same product in a manageable way?

Best Regards

Sure. How this works in our plugin is you’ll have a “stock item” for Product A with a rule to match the products it relates to.

You can add each product to the rule directly, or you can create a global attribute which you assign to each product.

Multipliers can be set directly on your products to use different quantities of the shared stock item.

You can read more about how these stock items work in our docs. They are very versatile and can be shared or configured however you need.

https://wcas-docs.mewz.dev/attribute-stock

Hello! I’m updating the plugin from version 2.1.1 to 2.2.1, but I’m having a problem. When I do the update, everything in the front office is reset, preventing sales. I checked, and in the back office, everything is fine. I’ve already updated directly through WordPress, replacing it, and through the server, and the same problem always occurs.

Any solution? Thanks.

Hi. Please contact us directly through our profile above so we can look into this for you.

Send! Thank you

Hi,

My client has purchased a license for the full version of the plugin, and I’m currently in the process of configuring the product. I’ve encountered a situation that I’m not sure how to handle:

The product has variations for size and color, and each specific combination has its own stock. For example:

Blue – XL: 6 units in stock

Blue – L: 3 units in stock

However, in the current plugin configuration, I can only manage stock by color or by size, but not by both attributes combined.

Could you please advise me on how to properly manage stock in this kind of case? I’d really appreciate your help.

Hi there. You can add any combination of attributes to attribute stock items. Take a look at this stock item on our demo site that has both color and size:

https://wcas-demo.mewz.dev/wp-admin/post.php?post=127&action=edit


If you need any further help, please feel free to reach out directly on our profile.

Thanks!!!

Hi,

I installed the Lite version of your plugin. Everything is working well except for one thing, and I’m wondering if it’s related to the fact that I’m only using the Lite version. Is it possible, within my option choices, to make one disappear if the stock is at zero?

For example, I have workshops at 2:00 PM with one option, and at 3:45 PM with two options. If one of the two 3:45 PM options is out of stock, I don’t want people to be able to select it. Is that possible?

Yes of course. But you’ll need the full version for that. The lite version doesn’t affect frontend product stock in any way, it’s only useful to track internal stock values.

beleo

beleo Purchased

Hello! It’s been a while but we are ready to purchase however just want to ensure this works the way we understood.

We would like to setup several scenarios 1) Have a variation where it is a package of several units of a base product. So when customer purchases that variation it deducts from the inventory of base product

2) Create a product that is a bundle of several different products. When the bundle is purchased it deducts the number of included products from associated inventory.

Can you product do this? Also does your plugin have a history log of stock deductions?

Looking forward to your reply. Thank you!

Sure, but keep in mind I only offer email support.

There’s no historical log sorry. However orders will show an order note of attribute stock changes. A full history log is a feature we plan to add, but I can’t give you a specific timeframe unfortunately.

beleo

beleo Purchased

Hello I have sent you a message please kindly assist with setup configuration. It’s a bit complex, and when we setup does the attribute stock create the product? Or is it creating a rule to assign stock to a particular product?

Hi, I’ve replied to your email.

Will this work with Funnelkit Cart? the plugin I am using allows you to oversell when adjusting quantities for different variants of the same product in the cart.

We haven’t tested it, but our plugin doesn’t change the way stock works on the frontend. By that I mean most plugins won’t know if you’re using attribute stock or not. So it should “just work”. If not, you can always reach out to us to add compatibility if it’s possible, or get a full refund.

Wow, your on the ball with support, super fast response :-) Ok, I’ll give it a try as the existing plugin I use has got no support.

Great. We’re here to help if you run into any issues :)

Hello, I sell pizza in my neighborhood. Is it possible for this plugin to deduct the pizza ingredients from the inventory? If so, how would this be done?

Yes absolutely. It’s as simple as creating attributes for your ingredients, setting their stock quantities, and adding them to your products.

QUESTION PREVENTE : Bonjour pour les besoins spécifiques d’un client j’ai besoin de pouvoir gérer les stocks des produits variables. la demande est la suivante : le client a un produit qu’il peut vendre soit en poche de 1kg soit en lot de 5 poches de 1kg. Nous avons donc créé un produit variable. Cependant nous avons besoin de gérer le stock au niveau de l’UGS parent et que celui-ci soit partagé avec les UGS des variations Ainsi si le stock global est de 10, si un client prend une poche de 1kg le stock passera à 9 mais si le client opte pour la variation en lot de 5 poches le stock global après la validation de la commande devra etre de 5

est ce que votre plugin peut permettre cela et si oui comment merci d’avance

Yes you can do this easily with our plugin. See here for more info on how to do it:

https://wcas-docs.mewz.dev/stock-multipliers

We have a WordPress WooCommerce site for selling groceries, vegetables, and other products.

WooCommerce, by default, offers its own stock management system. However, we’ve encountered an issue related to stock tracking. For example, we have products with variable weights or volumes, such as 0.500kg, 0.750kg, 1kg, 5kg, 1 litre, and 5 litres. When we set the stock quantity to 50 units, it represents 50kg or 50 litres.

The problem arises during the purchase process. When a customer buys a product (e.g., 5kg, 0.750kg, or 5 litres), the stock is reduced by 1 unit instead of the equivalent weight or volume (e.g., 5 units or 0.750 units). This behavior is incorrect for our use case.

How can we address this issue to ensure the stock reduces based on the actual weight or volume purchased rather than the number of units?

My sincere apologies for missing your comment. For some reason I didn’t get an email notification.

You can 100% use our plugin for this and it’s very easy. You can set a “stock multiplier” on your product variations to change the amount of stock reduced for each size or quantity.

You can read more about how it works here:

https://wcas-docs.mewz.dev/stock-multipliers

Pre-sales question

We have a WordPress WooCommerce site for selling groceries, vegetables, and other products.

WooCommerce, by default, offers its own stock management system. However, we’ve encountered an issue related to stock tracking. For example, we have products with variable weights or volumes, such as 1kg, 5kg, 1 litre, and 5 litres. When we set the stock quantity to 50 units, it represents 50kg or 50 litres.

The problem arises during the purchase process. When a customer buys a product (e.g., 5kg or 5 litres), the stock is reduced by 1 unit instead of 5 units, which is incorrect for our use case.

How can we address this issue to ensure the stock reduces based on the actual weight or volume purchased rather than the number of units?

Take a look at our “stock multipliers” feature. You can read more about it here:

https://wcas-docs.mewz.dev/stock-multipliers

Hi, PreSale question: I have the following situation: we sell tickets to an event that has 5 timeslots (so that is 1 product with 5 variations). This part is okay to do in Woocommerce, but then each timeslot has 2 variations to choose from. The total stock is 5 because each timeslot can only be sold 1 time. Can this plugin handle this? And does it work with Foo Events?

Sure. Attribute stock lets you add rules to match stock with attributes and variations in any way you like.

It should work fine with Foo Events as long as you’re using normal attributes and variations on the product. The only potential issue is if you’re trying to manage stock with Foo Events and Attribute Stock at the same time, there might be a conflict.

In any case if there are any issues you can always reach out to us to resolve the issue or refund you in full.

Hi there, great plugin which has been working well for me – many thanks. Could you tell me – is there a way to bulk delete attributes? Many thanks in advance.

Hi there, thanks for your speedy reply. When I am in Products > Attributes I am only able to delete them one at a time – there are no check boxes to select multiple items.

I’m afraid it’s not possible in WooCommerce, and I don’t know of any plugins that allow you to do this.

It’s also worth keeping in mind that bulk deleting attributes could overload your server if they have a lot of terms and product associations, since actions need to run for each term that gets removed along with the attribute.

I would suggest exploring alternative solutions such as optimising your attribute configuration to groups more terms with fewer attributes.

I should also point out that this isn’t directly related to Attribute Stock as we only use attributes, but managing the attributes themselves are entirely handled by WooCommerce.

Gotcha – many thanks for the info.

Hello , I also use these plugins - Extra Product Options & Add-Ons for WooCommerce - Lumis, Can it work with these plugins? Can you calculate inventory based on those settings?

Unfortunately not. Attribute stock only works with WooCommerce attributes and products/variations.

hi, i have 3 products with 300 of stock each, i want if some one buys product 1, the stock of the 3 products go to 299, is this possible? and how? thanks

If product 1 and 3 share one stock, and product 2 and 3 share a different stock, then you can add an attribute term A to product 1 and 3, and an attribute term B to product 2 and 3.

In this case product 3 will use stock from A and B at the same time.

ok thanks, and how do i add this to the products??

It works with normal WooCommerce attributes. You create the attributes under Products > Attributes, then you can add them to your products from the Attributes tab.

Some knowledge of WooCommerce is required. I suggest you read up about attributes from the official documentation:

https://woocommerce.com/document/managing-product-taxonomies/#product-attributes

Feature request: Could you add a way to duplicate an attribute with all of its terms? I like the convenience of the attribute stock to manage the stock levels across the store. Without this I will probably need to just rely on the product stock and duplicate the product with its variations.

Could you elaborate a bit on why you would need this? Generally attributes are something you re-use across products and attribute stock. Attribute stock items can set a filter for which product(s) they apply to even when using the same attributes. There are not many scenarios where creating a mass amount of attributes is the correct thing to do.

If you’d like to go into detail please email us from the Support tab above.

Hi, I don’t know if this has been ask already, But on the demo, candle-flowers stock is set to 0 but still can be added to cart? Tried it on my site and it’s the same.

Hi. The flower candle can still be added to cart because it’s pulling stock from plain candles. It’s showcasing the “components” feature of attribute stock.

In your case it’s likely just because you’re using the free lite version. As mentioned at the top of the description for the lite version, it doesn’t affect frontend product stock or prevent over-purchasing. This is only available in the full version.

Got it. Thanks for clarifying! will get the full version then.

Thanks for the purchase! Feel free to reach out via the Support tab if you need any further assistance.

PRESALE question: Apart from the proper stock handling, even on product variations, I’d like to give an employee restricted access to 1. handle orders 2. follow stock quantities. Nothing more only order and product management Checking out the docs and especially the demo website, can we say that this plugin can also provide this restricted access I need?

Yes this shouldn’t be a problem. Attribute stock access is automatically included in the “Shop Manager” role, but you can also set more fine-grained user capabilities with a plugin like User Role Editor.

The available attribute stock capabilities are roughly the same as the product and order capabilities.

thank you very much

Hello

I have a question before buying the plugin. I’m selling a product that consists of two parts: a base and a top. The aim is to let the end customer choose the colour of each part. For example: a red base + a green top. I was thinking of using attributes to manage this, with a stock for the top and a stock for the bottom. They also need to be able to choose the size of the base (3 sizes). Is that possible? Also, is it possible to associate an image with each attribute? For example, in this case, when the customer chooses the ‘red base’ attribute, the corresponding image can be displayed.

Thank you for your answers

Yup you can do all of this pretty easily. Feel free to test it out on our demo site.

Thank you for your prompt reply. I’ve tried but I can’t seem to display the images of the base and the top at the same time, on the same product page. Is it possible to display both images of these attributes on the same page? I don’t know if my request is very clear, sorry.

Only one image can be displayed at a time on the product page in WooCommerce. So in this case you’ll need to create an image for each combination of top and base, and add the image to each product variation instead.

Hi,

We are interested in your WooCommerce plugin and have a question about stock management. We sell a product with variations of 1000 ml, 500 ml, and 350 ml. For example, if we have 1 unit of the 1000 ml in stock, we want the stock to decrease to 0.5 when a 500 ml variation is purchased, so the 1000 ml variation is no longer available for purchase. Is this type of global stock control possible with your plugin?

Thank you for your attention.

Yes you can do this with stock multipliers. You can read more about them here:

https://wcas-docs.mewz.dev/stock-multipliers


Decimal stock isn’t available in WooCommerce by default, but you can enable it under Attribute Stock settings.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey