Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

use ref if no match in ecommerce_product #80

Open
wants to merge 2 commits into
base: 2022.5.3
Choose a base branch
from

Conversation

altairis-noe
Copy link

@altairis-noe altairis-noe commented Feb 16, 2023

When we use WPML in woocommerce, products can’t be associated to lines in Dolibarr orders because the llx_ecommerce_product table states that there is only one wordpress post per SKU — and WPML generates one post for each language. This checks the ref if the product hasn’t been found (or couldn’t be created) in the matching table, so we can still have an order with the products instead of free lines.

@altairis-noe
Copy link
Author

Hey there, @philippe-opendsi, is there a problem with that PR ?

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

Successfully merging this pull request may close these issues.

1 participant