Code

Discussion on WooCommerce Attribute Stock – Shared Stock & Variable Quantities

Discussion on WooCommerce Attribute Stock – Shared Stock & Variable Quantities

Cart 1,935 sales
Recently Updated

MewzPlugins supports this item

Supported

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

178 comments found.

Hello, can we prevent customers from ordering when the product is out of stock? How do we do this?

Purchasing out of stock items is prevented by default. If you’re having trouble with this please feel free to contact us via the Support tab.

Hello !

Does the pro version allow you to retrieve the value of a variation (present in Attribute Stock with conditions) and use it in a filter hook or custom function action?

Hi. In the pro version you can retrieve product or variation stock the usual way and it will return the correct value from attribute stock, e.g. $product->get_stock_quantity().

There are several other ways to retrieve stock values depending on your needs.

Hi, I am interested in your plugin but just have a question. When stock of a product reaches 0, does this remove the product from being displayed in the shop?

Hi. This depends on your “Out of stock visibility” setting under WooCommerce inventory settings. This works with our plugin the same way that it does with normal product stock.

Hi, any plan on updating the plugin ? look like it’s not compatible anymore with current version of WordPress/WooCommerce.

Cheers

Hi, yes. We have a new update coming out in the next week or so. The current version will however still work with the latest WordPress and WooCommerce.

Hi! Please, this plugin is compatible with waitlists plugins? If a variation is out of stock, can I use a waitlist? Thanks!

Yes, our plugin is compatible with most waitlist plugins.

However keep in mind that waitlist plugins don’t support variations with “Any” selected for an attribute that has stock. So you have to make sure all attributes that have stock are selected explicitly on your variations.

Hello, is there a way for this plugin to hold stock for pending orders? It seems to only adjust stock when an order is completed. We accept payment offline so we need to pull the stock at checkout. Thanks.

The payment method selected when placing an order is responsible for reducing stock when the order is created. However if you’re looking to hold stock before the order is actually created, you can use the free Cart Stock Reducer plugin. All of this works for attribute stock the same way that it does for regular product stock.

Great, thank you!

Any chance that you add the property of item cost to the list, optionally?

You’re welcome! If you have any additional feedback, feel free to let us know.

Yes, I have. The plugin is incredible and a must clearly a must have in some businesses!

Oh thank you very much :)

If you want to, you can add a rating/review under the Reviews tab above. It would be greatly appreciated!

Can I use this for regular items? For example I have the same product listed for retail and then listed under a seperate sku for wholesale. I want to sync the stock but dont have any attributes. It’s just a standard product.

Yes you can add attributes to simple products, and they will share any stock attached to the attribute(s).

Hello. I get the inventory from the supplier. This includes more items than available in my shop. How can I skip the non-existent sku during import and only update the existing ones? Currently, the plugin accidentally imported over 5700 items that I do not need. Deleting is also tedious as only 20 can be moved to the trash at a time.

Hi. Please send us a message from the Support tab and we can provide you with a short code snippet to do this.

Hello – I usually use a saved export to generate a stock report, automatically emailed each day or week to the store manager. This is done with the pro version of this plugin: https://docs.algolplus.com/order-export-docs/

Have you tested your plugin’s compatibility with this one? It’s pulling from the standard location for stock, but looks like your plugin has it’s own table or location for shared stock values.

Thanks.

There are several ways to go about this with the full version of our plugin. Please reach out via the Support tab and we’ll be more than happy to assist.

Hi! Product A (100 stock) has an attribute “B” (50 on stock). If I buy 2x product A it get only 1 of attribute “B”. So finaly I get Product A with 98 on stock and Attribute “B” with 49 on stock. I need to have 48 on Atttribute “B”. I mean if I buy 2x Product A, I should get 2x Attribute “B”. How can I do it? Thanks!!!

Hi. I have replied to your email.

good day, I have two variations of a product, each variation have its own price but I want them to have same quantity, is that doable by the plugin. thank you

amazing, i have tried the lite version, and i did read the documentation but am not getting how to do it, is there a video tutorial? thanks in advance

got it : ) took me sometime to understand

Video tutorial coming soon hopefully :)

Hello! Great plugin. Is there any way to use this plugin to disable variation options when the stock of the attribute value is set to 0 or out of stock? Currently, products that are set as out of stock are being shown in the variable dropdowns, but when selecting the checkout button is disabled. The shop and/or plugin does not show any indication why this is (because the variation is out of stock). This would be a great addition.

Alternatively you should be able to change the “Stock display format” setting to display to customers the stock status of a selected product variation. Keep in mind that this can sometimes be changed or overridden by your theme.

Hi Mewz, this is exactly the feature i wanted (second comment) thank you for informing me. I gave you a review as this is exactly what we needed!

I appreciate that, thank you!

Greetings can you help with this scenario:

We start with a total of 60 booths available for each day of our event, Fri, Sat & Sun.

We want to offer the option to purchase booths in any combination. Example: Vendor 1 purchases booth on Fri. Fri now has 59 booths remaining.

Vendor 2 purchases booth for Fri, Sat & Sun. Fri now has 58 booths, Sat has 59 and Sun has 59 booths remaining.

Vendor 3 purchases booths for Sat and Sun. Sat now has 58 booths and Sun has 58 booths remaining.

Vendor 4 purchases booths for Fri & Sun. Fri now has 57 booths and Sun has 57 booths remaining.

Vendor 5 purchases booth for Sun. Sun now has 56 booths remaining.

Vendor 6 purchases booth for Fri, Sat & Sun. Fri now has 56 booths, Sat has 58 and Sun has 55 booths remaining.

And so on…

Can this be done with this plugin? I have attempted to set this up on your example site and have not been successful.

On WordPress dot org you summarized what I think is my solution but again I have not been able to do this on your example site:

EXAMPLE #3 Attribute stock can be used in many more cases. For example, event tickets can be sold with a limited number of seats, days, or both. Different levels of tickets can be sold as separate products while sharing one or more central stock pools.

If this can be done can you add this scenario to your example site?

Hi. I’ve replied to your email. Please let me know if you received it.

I have received it.

AlMuhammad PURCHASED SUPPORTED

Hello, you said that with Pro Version “On the frontend product stock availability is handled automatically, so when you reduce stock on your attribute, all products with that attribute will have their stock availability reduced.” Ok. Do we see the stock level on product list page (admin) ? Because, with the Lite Version, we only see “In Stock” in the stock column – even if the related attribut stock level is 0 or negative. Thank you in advance for your return.

“the marketplace integration we want to purchase creates new orders on our site”

Essentially attribute stock overrides a product’s stock value, so when the marketplace integration syncs stock it will “see” the correct stock value, even though the product itself doesn’t have a stock value.

However this requires that the integration uses the correct WooCommerce methods to get stock values from products. If it simply pulls values directly from the database then it’s not going to work. So it’s just a case by case thing.

In any case if it doesn’t work we’re happy to see if we can add in compatibility, if it’s possible, otherwise we can just refund you if there’s no way to get it working properly.

Thanks a lot. We are going to buy the plugin today and we will come back to you if we have any difficulties with the synchronisation with our marketplaces.

It would be really cool if you could do this not only for inventory but also for price.

Thank you for the suggestion. We may add this in a future update.

Does your plugin work for multisites? I have two stores, one selling plain t-shirts and the other selling printed t-shirts. I need them to share the same stock of t-shirts as a base.

No unfortunately this isn’t possible yet.

Hello, this is what I need to do, I have 3 single products, they are all the same brand called Forest.

Forest Bluebell Fragrance 100ml Forest Daisy Fragrance 100ml Forest Rose Fragrance 100ml

I want to create a new variable product called

Forest 100ml Perfumes Variation: Forest Bluebell Fragrance 100ml Variation: Forest Daisy Fragrance 100ml Variation: Forest Rose Fragrance 100ml

If somebody buys from the variation page the stock should reduce on the single product and the same if they buy from any of the single product the variation stock will reduce.

If the above works, what happens if I increase stock on the Single Product? Will this update on the variation?

Thanks

You can do this with attribute stock. But it’s important to understand that our plugin doesn’t directly change the stock levels on products. Instead you’re moving the stock to attributes, and any products using these attributes will “inherit” the shared stock level.

So you wouldn’t increase stock on the single product or variable product directly. You would increase the attribute’s stock and the products using it would automatically use that stock level.

In fact with this type of stock setup you would disable stock management on your products since stock is managed at the attribute level and not at the product level.

I am not sure why you would disable stock management on products as that is how the stock is reduced, how would the stock know to reduce across all listings? Also, it seems very complicated set up, stock increased or reduced on any product should increase all related listings / variations.

I currently use a bundle product that works well and is very simple but I was looking for one that did a variable listing.

You only disable stock management on products since you’re not managing stock at the product level anymore, you’re managing stock at the attribute level. In fact you could use both product stock and attribute stock at the same time. They are different types of stock.

On the frontend product stock availability is handled automatically, so when you reduce stock on your attribute, all products with that attribute will have their stock availability reduced.

It requires thinking about the relationship between stock and products a bit differently. Unfortunately WooCommerce makes it very difficult to share stock levels between products, which is why very few solutions for this exist.

Is there additional documentation available on how to batch update multiple stock items quantities? Would love to do this through the API but cant find how!

Hi. You can find our REST API documentation here:

https://wcas.mewz.dev/rest-api.html

Another option for batch updating stock is to use the CSV import function. You can see an example of this by exporting your stock items. Only an identifier and stock quantity are required for updating stock items.

The last option is to update via code. If you need any info on this, please email us.

hi, can we use this plugin with the features inside this theme on booking extra add on service quantity?

https://themeforest.net/item/wp-rentals-booking-accommodation-wordpress-theme/12921802

Tq

It’s highly unlikely. Our plugin only works with WooCommerce global attributes and products.

It looks to me that this theme would have its own stock system for managing availability by date.

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