dokan icon indicating copy to clipboard operation
dokan copied to clipboard

DOKAN QUANTITY DISCOUNT - WPML - Discount Quantity Not Added to Translated Products

Open Sophie-2e opened this issue 1 year ago • 4 comments

Bug Description

Translated products do not have the Discount Quantity when we check the product via the Vendor dashboard:

  • Original EN version with qty discount: https://ibb.co/fpDgv4c
  • Translated version with no qty discount: https://ibb.co/9TMPYrL

And so the discount quantity is not taken into consideration on the translated cart and checkout pages:

  • Original EN version CART with discount: https://ibb.co/dJVX4NB
  • Translated version CARTwith no qty discount: https://ibb.co/VLLZQv5
  • Original EN version CHECKOUT with discount: https://ibb.co/6NV62R1
  • Translated version CHECKOUT with no qty discount: https://ibb.co/nLh5kdy

But the products with Dokan Quantity Discount are shown in the On Sale product loop (if not a variable products) even on the translated page:

  • Original EN version Product Loop on Sale: https://ibb.co/8My1nSB
  • Translated version Product Loop on Sale: https://ibb.co/5cc1Q0t

As you can see here I have the same settings in WPML for the Woocommerce Discount Product than for the Dokan Quantity Discount product but still, the Dokan Quantity discount is not duplicated/copied to the translated product:

  • https://ibb.co/zPqFCp3

How can we make sure to copy the Dokan Discount field to the translated products automatically, and so if the seller changes it on one version, it is automatically changed on the translated version, as it is for the Woocommerce Discounted Price?

Step To Reproduce

Add a product with dokan discount > translate product with WPML > check front end in translated version (pdt loop on sale, cart, checkout)

Expected Behaviour

To see the same info on the translated version and if the Dokan quantity discount is modified on the original version, have the discount also modified on the translated version. Or at least to give the seller the opportunity to automatically copy this discount to the translated version of the product.

Actual Behaviour

Discount Quantity not copied to translated product

Additional Information

No response

Environment (please complete the following information)

1. Dokan Version: [3.9.5]
2. Dokan Pro Version: [3.9.6]
3. WooCommerce Version: [8.4.0]
4. Browser [all]
5. Current Theme: [Store Front, Blocksy etc...]

Sophie-2e avatar Jan 02 '24 11:01 Sophie-2e

@shohag121 Maybe enabling the sync option will fix this issue.

nurul-umbhiya avatar Mar 12 '24 07:03 nurul-umbhiya

@shohag121 Maybe enabling the sync option will fix this issue.

Yes @nurul-umbhiya Bhai, You are right. I am adding those keys to the WPML Config file.

shohag121 avatar Mar 13 '24 08:03 shohag121

@shohag121 @nurul-umbhiya still not working after Dokan and Pro 3.10.2 update, is the fix supposed to be released?

Sophie-2e avatar Apr 08 '24 13:04 Sophie-2e

where are we with this feature @shohag121 @nurul-umbhiya ?

Sophie-2e avatar May 22 '24 12:05 Sophie-2e

@shohag121 thank you so much for fixing this issue with Dokan WPML 1.1.3 🙌 🎉👌 You rock!

Sophie-2e avatar Jun 24 '24 08:06 Sophie-2e