Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

This topic contains 0 reply, has 0 voices.

Last updated by Shekhar Bhandari 10 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
December 23, 2024 at 2:31 pm #16540712

michaelS-282

Background of the issue:
I am working on a website developed with WooCommerce and the plugin Wholesale for WooCommerce. I have set up wholesale pricing for products on this site, which requires users to register and log in to purchase at the wholesale price. The website is multilingual, and I have configured the settings in the backend to be Translatable or copy.

Symptoms:
In English, the discounted price appears correctly after logging in as a wholesaler and adding a product to the cart. However, when switching to other languages, the discounted price does not work. I have tried adjusting settings, but the issue persists.

Questions:
Why is the discounted price not showing in other languages?
What settings should I check to ensure the wholesale price works in all languages?

December 24, 2024 at 4:13 am #16542301

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Thank you for contacting WPML support. I'd be happy to assist you on this issue.

I have created a sandbox site here: hidden link

This is a public sandbox site, so only add demo contents, can you set the plugins and see if the problem exists on the sandbox? Please only install required plugins.

Look forward to your reply.

Thanks

December 25, 2024 at 1:56 am #16544806

michaelS-282

Ok, working on it

December 25, 2024 at 3:42 am #16544838

michaelS-282

I have duplicate the issue

the is the products on the demo site,
hidden link

I added a user as a wholesaler, the login name and pw is
testwholesale
MdhVg%DzSeP$lowC$2h6mYzH

I added the products to the cart, the the price in the cart stay the same.

There is no issue on this demo site.

But on my live site, when I login as the wholesaaler role, the multilingual price will not apply the discount price.

you can login by below informatio

You can login and check. because this live site already backup on server, so you can directly work on it.

English price.png
Arabic price.png
December 25, 2024 at 5:16 am #16544896

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Since the issue only happens at your site, Have you tried disabling all non-WPML plugins, switching to one of the default themes, and checking whether the issue still persists or not?

Please remember to create a backup of your site (both files and the database) before making any updates or changes. This is always a good practice.

Further, To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

December 25, 2024 at 8:19 am #16545018

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I don't see the issue while logedin, the screenshot you provided earlier is from two sections and one is per piece and another is total of 16, so both are correct.

I see $30 for products in both languages, am I missing something here, what should be the expected value.

Look forward to your reply.

Thanks

December 25, 2024 at 8:56 am #16545059

michaelS-282

Hello Shekhar Bhandari,

if you added the 20 products from English, the discount will apply.
But if we switch the lanugage from English to Arabic or spannish, the product price disocunt not applyed in the cart.

You can check

December 25, 2024 at 9:00 am #16545089

michaelS-282

Hello Shekhar Bhandari,

you can check the issue by this video.

hidden link

December 26, 2024 at 6:07 am #16546268

michaelS-282

Hello Shekhar Bhandari,

Have you checked it, because are are in tight to live this site.

Thank you

December 26, 2024 at 6:22 am #16546279

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I am checking the issue, I found out that Wholesale User Roles (wholesale_user_roles) taxonomy was set as translatable while on the sandbox site, it was set to not-translatable, I changed this on the live site.

Can you let me know if you have made any modifications to the plugin translations settings.

Further, There is a new version of Wholesale For WooCommerce available. View version 2.4.7 details.

Can you please update this plugin on the site as well as disable all caches available and see if it helps?

Look forward to your reply.

Thanks

December 26, 2024 at 7:01 am #16546302

michaelS-282

wholesale_user_roles I just did the translation on the live site, but I haven't done this on the sandbox site.

And for other settings, I just set the Custom Term Meta Translation some custom fileds to be tranlsatable.

and for the plugin version, the demo site are the same version, so I do not think this is the issue, please double check.

Thank you

December 26, 2024 at 7:14 am #16546313

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Can you provide me site packages so I can replicate the site on my localhost and perform further debugging, I tried duplicator plugin but it didn't helped. You can backup wp-content and database and share the link with me.

I have enabled the private reply.

Look forward to your reply.

Thanks

December 27, 2024 at 7:35 am #16548050

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

After a lot of testing, I figured out that the issue is happening with variation products on simple products the issue is not happening.

Upon further checking, I managed to reproduce the error even on sandbox, if I view the products in secondary language, the issue is happening, so to help you further on this issue, I would request you to update the plugin to the latest version on sandbox site.
hidden link

Let me know once the sandbox is updated with the latest version of plugin.

Thanks

December 27, 2024 at 3:10 pm #16548756

michaelS-282

Hello, the plugin versision I have is V2.30, and is it not the version issue? are there some other technical issues ?

December 30, 2024 at 4:53 am #16552114

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

The latest version is 2.4.7, so can you please update this plugin to the latest version on sandbox site so I can check this further? If needed I will need to escalate this to our compatibility team.

I can't test it on 2.3.0 and escalate it as we will need latest versions for tests.

Look forward to your reply.

Thanks

The topic ‘[Closed] Discounted price no show on multilignual with Wholesale for woocommerce’ is closed to new replies.