I need a way to collect specific data from Woocommerce. For example, when something was booked in stock, each time that product or variation was sold and how much it was sold for at that time.
I'm not against bashing my head against a wall until I get some code to work, but I'd rather not.
Can anyone help me figure out a way to export this sort of information to a .csv file?
I've tried exporting from Woocommerce's analytics plugin, stock manager plugin and Woocommerce's product export. None of which export the data I need. My stock manager plugin however, has the data! Stock Manager/Stock log/"product name"/history. It just doesn't export it. Please help.
Thanks
Tom
Related
Anyone know why some orders on Dokan export CSV not extract the data.
I have a issue that many orders exported just show the product and order number... but now showing all customer, shipping... by the way any data.
Anyelse with the same problem? Anyone solve this issue before.
Thanks a lot!
I'm trying to update many products at once in my Woocommerce. I thought that exporting everything, changing prices in Excel and importing back in with the update option checked would work.
It does... but only for simple products, variable products aren't updated and their stock and price stay the same.
I can't figure out if I'm doing something wrong or not or if this is not supported (although this seems like such a basic feature).
Ok, after some fiddling, I've figured it out.
For some reason, if Simple and Variable products are exported and imported in the same file, variations don't update.
So, to successfully update variable products and their variations we have to export Simple and Variable products separately.
Sorry I don't have any code to show yet as I'm just trying to find a solution.
I'm in need of a way to set the price of products based on the users billing zip code. I have a custom registration form, I was thinking of somehow figuring this out during that process. Basically after they fill out their billing info, somehow check their zip code and and apply a price for that customer.
I may be able to write a custom API that would take the zip code and return a price. But what would I do with this price? Store it in user_meta? Then I would have to override $price in a million different templates.
I have googled this and didn't come back with much.
What would the best approach be for this?
I am facing a unusual problem in woocommerce. I have enough stock for a particular simple product but when testing it for checkout. Woocommerce is showing out of stock message and asking be to come back after so on time and try again.
Can anyone help?
I have figured out the issue. It was coming due to excessive on hold orders (for that particular product) i.e hold stock.
Thank you very much for your time and patience :)
I am wanting to know how to pull the woocommerce data from the backend to be displayed in a widget on the front-end. More specifically I am wanting to pull the data about total number of customers & the total amount of sales. This is to be used for a crowdfunding campaign page that I have built.
The total number of customers will be changed to backers & will update automatically when a sale has been processed.
The total number of customers will display the number of backers & will also update automatically when a sale has been processed.
The idea is that all you need to build a crowdfunding single campaign site is just woocommerce & a couple of free plugins, without the need for expensive plugins that you don't need in reality.
Any help with this would be greatly appreciated.
Cheers!
You might already know, but there are themes specially built for crowdfunding. I dont know any free plugins that can do that. The only way to get this data is to either grab them from database which will require some pretty advance mysql joins, or a better way would be to inspect the code that woocommerce uses to display the reports. Here is a great post on how to do just that http://imdev.in/woocommerce-how-to-get-total-sales-of-all-products-number/
You can use the code and create a plugin, which can then help other developers as well.