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

REFUND FUNCTION - STORE CREDIT - EMAIL SENT TO CUSTOMER 'Dokan Send Coupon To Customer' > Wrong slug url #2257

Open
Sophie-2e opened this issue Apr 24, 2024 · 1 comment
Assignees

Comments

@Sophie-2e
Copy link

Bug Description

Following up on Dokan Customer Support Ticket #40346, opened since December 2023:

In Dokan Send Refund Request to Vendor email template, there is an issue with the slug url, as I got the same error in all languages. The Url link is not working because there is double // and because the email template is not catching the translation of the slug in the url, while it works like a charm in the customer dashboard.

Currently, the link is : website.url/my-account**//**view-rma-request/XX/
while it should be : website.url/my-account/view-rma-request/XX/

And in another language such as dutch it is: website.url/nl/mijn-account**//view-rma-request/**XX/
while it should be : website.url/nl/mijn-account/bekijk-retour-en-terugbetalingsverzoeken/XX/

The slugs has been properly translated in WPML Strings so the issue seems to come from the construction of the url itself in the email template.

Please request the video of the test with Dokan 3.10.3, sent in Dokan support ticket #40346 on Apr 19th 2024. You will see in detail the issues, with tests in various languages.
I also sent various testing videos about the issue with the previous Dokan versions, and with no plugins activated and default theme store front, you can request them to Yeasin as well.

Step To Reproduce

REFUND FUNCTION - STORE CREDIT - EMAIL SENT TO CUSTOMER 'Dokan Send Refund Request to Vendor' > Wrong slug url

Expected Behaviour

Currently, the link is : website.url/my-account**//**view-rma-request/XX/
while it should be : website.url/my-account/view-rma-request/XX/

And in another language such as dutch it is: website.url/nl/mijn-account**//view-rma-request/**XX/
while it should be : website.url/nl/mijn-account/bekijk-retour-en-terugbetalingsverzoeken/XX/

Actual Behaviour

Currently, the link is : website.url/my-account**//**view-rma-request/XX/
while it should be : website.url/my-account/view-rma-request/XX/

And in another language such as dutch it is: website.url/nl/mijn-account**//view-rma-request/**XX/
while it should be : website.url/nl/mijn-account/bekijk-retour-en-terugbetalingsverzoeken/XX/

Additional Information

No response

Environment (please complete the following information)

1. Dokan Version: [all including 3.10.3]
2. Dokan Pro Version: [all including 3.10.3]
3. WooCommerce Version: [all including 8.8.2]
4. Browser [all]
5. Current Theme: [all included Store Front]
@Sophie-2e Sophie-2e changed the title REFUND FUNCTION - STORE CREDIT - EMAIL SENT TO CUSTOMER 'Dokan Send Refund Request to Vendor' > Wrong slug url REFUND FUNCTION - STORE CREDIT - EMAIL SENT TO CUSTOMER 'Dokan Send Coupon To Customer' > Wrong slug url May 12, 2024
@Sophie-2e
Copy link
Author

Sophie-2e commented May 12, 2024

Hello @mrabbani and @MdAsifHossainNadim , there is also this issue that has been opened for a while on Github which is related to the email sent to the vendor in the refund process, but it is in this GitHub that I explained the error for the email template sent to Vendor - Dokan Send Refund Request to Vendor - #2114

While this GitHub is in fact about the email sent to the customer for the store coupon refund process, so the template 'Dokan Send Coupon To Customer'.

Got confused with the various url links issues 😅

And both issues still there with Dokan 3.11.0

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

No branches or pull requests

2 participants