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

Product review email cannot be disabled without also disabling Contact Seller #2206

Closed
danielbreves opened this issue Mar 18, 2024 · 1 comment · Fixed by #2207
Closed

Product review email cannot be disabled without also disabling Contact Seller #2206

danielbreves opened this issue Mar 18, 2024 · 1 comment · Fixed by #2207
Assignees

Comments

@danielbreves
Copy link

Bug Description

Product review cannot be disabled without also disabling Contact Seller

Step To Reproduce

  1. Go to WooCommerce's Emails Settings page: /wp-admin/admin.php?page=wc-settings&tab=email
  2. Ensure both Dokan Contact Vendor and Dokan Vendor Product Review emails are enabled.
  3. Click on Dokan Vendor Product Review.
  4. Untick Enable this email notification and save.
  5. Notice Dokan Contact Vendor has also been disabled.

Expected Behaviour

I should be able to enable/disable Dokan Contact Vendor and Dokan Vendor Product Review independently.

Actual Behaviour

Dokan Contact Vendor and Dokan Vendor Product Review cannot be enabled/disabled independently.

Additional Information

This seems to happen because VendorProductReview has the same id as Dokan Contact Vendor:

$this->id = 'dokan_contact_seller';

Environment (please complete the following information)

1. Dokan Version: 3.10.0
2. WooCommerce Version: 8.6.1
@danielbreves danielbreves changed the title Product review cannot be disabled without also disabling Contact Seller Product review email cannot be disabled without also disabling Contact Seller Mar 18, 2024
@danielbreves
Copy link
Author

cc @nurul-umbhiya

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