You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
In an ideal world , we'd save the category IDs. This will make it 100x easier to translate.
However, Woo core's category enhanced select saves SLUGS. that's why we have saved slugs now. 🙄
We could write our own custom JS for the enhanced select. If we start saving as IDs we'll technically need to run an update routine... though this is an unsupported plugin and since it doesn't update automagically we coudl require folks, re-save their meta.
wc_get_products() also doesn't yet support querying by term ID so the two things are kinda linked.
However, we can add support for querying by IDs like so:
In an ideal world , we'd save the category IDs. This will make it 100x easier to translate.
However, Woo core's category enhanced select saves SLUGS. that's why we have saved slugs now. 🙄
We could write our own custom JS for the enhanced select. If we start saving as IDs we'll technically need to run an update routine... though this is an unsupported plugin and since it doesn't update automagically we coudl require folks, re-save their meta.
wc_get_products()
also doesn't yet support querying by term ID so the two things are kinda linked.However, we can add support for querying by IDs like so:
The text was updated successfully, but these errors were encountered: