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

Deleting products from the dashboard does not delete translations #82

Closed
decodekult opened this issue Sep 13, 2024 · 1 comment · Fixed by getdokan/dokan#2368 · May be fixed by #83
Closed

Deleting products from the dashboard does not delete translations #82

decodekult opened this issue Sep 13, 2024 · 1 comment · Fixed by getdokan/dokan#2368 · May be fixed by #83

Comments

@decodekult
Copy link

decodekult commented Sep 13, 2024

Hi there

This is Juan from the WPML compatibility team. We got a report about deleting products using the Dokan frontend dashboard. It seems that this action is not deleting product translations despite the WPML setting on that matter.

I am opening related PRs against the main plugin and this glue plugin. We need a couple of actions triggered when deleting products from the dashboard, and callbacks to apply some WPML actions.

@Sophie-2e
Copy link

Hello @decodekult, I noticed the ticket you mention was created 3 years ago. So I just did a test to verify, in a default environment with WPML, Dokan, Dokan Pro and Woo updated to latest version. And I could delete the product from the seller dashboard, and the translations associated were automatically deleted too.

The only issue I faced is that if the admin delete a product, previously added via a seller dashboard, the translations associated with this product will not be deleted automatically. Instead the admin need to delete the translations associated manually, despite the WPML settings. But the issue only happen if we delete product from WP admin, not from the seller dashboard.

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