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

dokan_can_edit_product validation function should draft product #2136

Open
fisher2470 opened this issue Jan 9, 2024 · 0 comments
Open

dokan_can_edit_product validation function should draft product #2136

fisher2470 opened this issue Jan 9, 2024 · 0 comments

Comments

@fisher2470
Copy link
Contributor

Is your feature request related to a problem? Please describe.

If the 'dokan_can_edit_product' function is used for product validation (product has image, product has image and etc), the errors are correctly displayed to the user on page reload, but all product fields are removed.

Describe the solution you'd like

Save the product in the draft state, this will give the seller the ability to update the content and eventually publish the product, without causing the user to need to re-add all of their data.

Describe alternatives you've considered

No response

Additional context

No response

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

No branches or pull requests

2 participants