libracore / WooCommerceConnector

Integration App for ERPNext to connect to WooCommerce
Other
81 stars 136 forks source link

Woocommerce Variation product #73

Open webbosolutions opened 1 year ago

webbosolutions commented 1 year ago

i have variation products on woocommerce but if anyone order only post the main product not post variation product on erpnext

thanks

sptechcue commented 1 year ago

i have variation products on woocommerce but if anyone order only post the main product not post variation product on erpnext

thanks

How do you have the products with variants in erpnext? When synchronizing the products were the variants synchronized?

webbosolutions commented 1 year ago

after synchronizing products posted exactly on erpnext but if i ordered from woocommerce the order synchnizing to other id item like these pics

67767 ro 8989

787 9880 232 12

988990

sptechcue commented 1 year ago
image

Disable this, just have a product master, let erpnext count everything.

image

To prevent the IDs from being changed you must delete the purge part in the doctype sync_products.

You only have to press and synchronize once the sync_ID and let it automatically do the process every hour, otherwise it will give you these problems.

webbosolutions commented 1 year ago

Sorry what's meaning delete the purge part in the doctype sync_products.do you mean delete field or what

sptechcue commented 1 year ago

Sorry what's meaning delete the purge part in the doctype sync_products.do you mean delete field or what

Do you know programming? There is a paragraph in the doctype that indicates that the ids are deleted at each synchronization...you have to delete or comment that paragraph according to your needs. Check it and let me know

webbosolutions commented 1 year ago

Thanks for replying I know little but I will search this paragraph on the doctype and comment it after that let you know but I must search first on this paragraph Thanks

webbosolutions commented 1 year ago

sorry not working do you mean this paragraph? @frappe.whitelist()

def sync_woocommerce_ids():

"Enqueue longjob for syncing woocommerce"

enqueue("woocommerceconnector.sync_products.add_w_id_to_erp", queue='long', timeout=1500)

frappe.msgprint(_("Queued for syncing. It may take a few minutes to an hour if this is your first sync."))

webbosolutions commented 1 year ago

any solution please

sptechcue commented 1 year ago

I tested it on a test system of ERPNEXT v14.29.1 and the Woocommerce connector of Libracore for the synchronization of variants, everything is functional the only error I found so far is something related to taxes and the version of MariaDB when synchronizing the order I'm reviewing and images in ERPNEXT that I must add the correct URL.

image

image

image