DRHughes00
Forum Replies Created
-
I am very new to woocommerce, so forgive me if this is totally irrelevant!
Have all the variations either have zero stock (so that it is managed at top level) or each variation has a stock level.
My understanding is that if a variation has no stock then it will not show – at least I hope so because I am currently coding to use this behaviour.
Sorry if this doesn’t help, but it should only take a moment to check.
Forum: Plugins
In reply to: [WooCommerce] Updating a simple product to a variableHi Mike,
Yes, that’s the on I am using.
Forum: Plugins
In reply to: [WooCommerce] Updating a simple product to a variableThanks Guys.
ancawonka: It’s the woocommerce api using the ‘official’ wrapper. I have read, many times, the docs. There is certainly information there regarding creating a variable product, I have no problem with that. There is no documentation there that describes changing a ‘simple’ product into a ‘variable’ one, hence my question.
Riaan: It is a product related woocommerce API related question which I mistakenly thought would be something that the woocommerce plugin support forum would see often! How naive am I?
Not a great fan of stackoverflow, many of their contributors appear patronising and a little bit too much up themselves! Seen some newbies get ripped and didn’t like it much.Anyhoo, thanks to both for taking the trouble to reply, much appreciated.
Thanks,
DennisForum: Plugins
In reply to: [WooCommerce] Internal server error on checkoutCheck the php carefully for missing semi-colons, extra (or missing) ‘{‘ or ‘}’ or comments not terminated correctly – ‘*’ instead of ‘*/’.
Our server throws an internal server error (500) if it encounters any one of these – a real pain!
Dennis
Forum: Plugins
In reply to: [WooCommerce] Updating a simple product to a variableAnyone?
Forum: Plugins
In reply to: [WooCommerce] API timing out?Thank you Mike for your response. Just knowing that there is no set limit is very helpful in that I will tailor my code differently. It is only rarely that we will need to process the entire results set, so should not be too onerous.
Will mark as resolved. Thanks again.
Dennis
Forum: Plugins
In reply to: [WooCommerce] API timing out?Forget last post. Read documentation (again!) I can see that it is my fault.
Dennis
Forum: Plugins
In reply to: [WooCommerce] API timing out?A further update.
“View List of Products
This API helps you to view all the products.”<?php print_r($woocommerce->get('products')); ?>
Returns the last ten products created, not all of them. I must surely be missing something here.
Forum: Plugins
In reply to: [WooCommerce] API timing out?I may be answering my own question, but would the bulk api be my friend here?
I can see how bulk updates are done by submitting an array of product ids and the fields to be updated, but how does the bulk creation of products work? There is no documentation on this that I can see. Is it just using the endpoint to create the product as if it were a single product but it doesn’t fail as described in my previous post, or does one pass an array of products to be created?
Syntax to use would be very much appreciated.
Dennis
Forum: Plugins
In reply to: [WooCommerce] 'Official' API Product filters – how the hell do they work?Thank you Mike for your reply and it is nice to know that I can ignore the “doubters”!
I have resolved my problem so will mark as such.
Forum: Plugins
In reply to: [WooCommerce] 'Official' API Product filters – how the hell do they work?Is the “official” (your words, not mine) API Client not supported?
Forum: Plugins
In reply to: [WooCommerce Variation Details on Page Product] Just list all the variations?I’m giving you a +1 for getting a response. Well done you.
Forum: Plugins
In reply to: [WooCommerce] 'Official' API Product filters – how the hell do they work?A secondary question that the authors may care to address is whether woocommerce is actually the correct product for me.
It looked great, but I need to be able to integrate my stock suite scripts with the API to constantly maintain stock levels and prices.
I have seen elsewhere that woocommerce is just fine for very small product lists (under, say, 200 products) but starts to unwind above that.
I don’t really believe that, but need to be reassured that it will handle 3500+ products with most of them having 5 or more variations.
I have already endured much pain migrating from virtuemart to eShop, more pain is not what I need right now……..
Forum: Plugins
In reply to: [WooCommerce] API Product CreateSolved.
Forum: Plugins
In reply to: [WooCommerce] API Product CreateOk. Something tells me that this is still not the correct place for this query.
Could someone please tell me where I can get at least an acknowledgement of my question, if not an answer?
Thanks
Dennis