Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Woocommerce Variation product #73

Open
webbosolutions opened this issue Apr 4, 2023 · 9 comments
Open

Woocommerce Variation product #73

webbosolutions opened this issue Apr 4, 2023 · 9 comments

Comments

@webbosolutions
Copy link

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

thanks

@sptechcue
Copy link

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
Copy link
Author

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
Copy link

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
Copy link
Author

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

@sptechcue
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

any solution please

@sptechcue
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants