fahadmahmood8 / stock-locations-for-woocommerce

This plugin will help you manage WooCommerce Products stocks through locations and also different traditional barcodes.
https://pt.wordpress.org/plugins/stock-locations-for-woocommerce/
GNU General Public License v3.0
22 stars 14 forks source link

Syncing with Square #38

Open sloyer opened 4 years ago

sloyer commented 4 years ago

Hey there,

Square has inventory locations which already separates by location but id like to pull the numbers from square with the total number by variation. For instance.

I have a product with 105 items in stock. (Set in square) 55 in one location 50 in another location

Via the plugin though it only says i have 55. I imagine this is being done via Square and its just grabbing the product from on location and not both and I am pretty sure this is done via square and not your plugin.

So what I am wondering is this.

If I Make a Square Location called "Universal" And rather than breaking down my stock i just put the total number in square -- Then in this plugin I manually break them out.

Square says I have 50 items

I tell Woo I have 25 in each store, if I sell one of those will Square go "Hey you have sold one of these, I will take down the number to 49" and will the plugin go, you have sold 1 item from X location"?

So What I am asking is will this take away from the inventory being set by the system?

Its not ideal but the interface of this plugin in leagues better than the rest and I would like to keep using it. I just want to make sure

alexmigf commented 4 years ago

Hi @sloyer you mean by communicating via REST API?

warengonzaga commented 4 years ago

@alexmigf this is what he mean https://developer.squareup.com/docs/build-basics/using-rest-api

warengonzaga commented 4 years ago

It looks like it is a huge update.