Home›Support›English Support›[Escalated to Compatibility team] Issue with displaying prices in euros in the bulk order B2BKing
[Escalated to Compatibility team] Issue with displaying prices in euros in the bulk order B2BKing
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.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Background of the issue:
Hi, I have an issue with displaying prices in euros in the bulk order view in B2BKing ( i know Compatibility between B2BKing plugin and WPML https://wpml.org/plugin/b2bking/.)
I have a multilingual website. After changing the language, prices update correctly everywhere—in the store, categories, cart, and order summary.
However, there's an issue specifically with bulk orders. For example, I have the following products:
Default language (Polish - currency: PLN):
Product A - 40.00 zł
Product B - 80.00 zł
My second currency is euro, and as I mentioned, prices update correctly after switching the language—even the minimum order value (using the B2BKing function). In the cart, it correctly shows that the minimum order is 1,000 zł, and after switching to another language, it correctly displays 240 euros.
The problem occurs in the bulk order view, where the price values remain in PLN, but the currency symbol is displayed as euro.
For example, assuming 1 euro = 4 zł, the prices should be:
Product A - 10 euros
Product B - 20 euros
But instead, they appear as:
Product A - 40 euros (it keeps the PLN value but displays the euro symbol)
Product B - 80 euros
To display prices in euros, I use WPML's built-in currency function to ensure compatibility and update exchange rates via the CurrencyLayer API.
How can I configure this so that prices in the bulk order view are correctly converted to the selected currency? Do you have any ideas?
Bulk order i mean function from B2BKing: hidden link
Below, you’re asking for a link to the website, so I provided it. However, prices are only visible after creating an account, verification, and setting the prices—so I recorded a video instead.
Link: hidden link
Symptoms:
The problem occurs in the bulk order view, where the price values remain in PLN, but the currency symbol is displayed as euro.
For example, assuming 1 euro = 4 zł, the prices should be:
Product A - 10 euros
Product B - 20 euros
But instead, they appear as:
Product A - 40 euros (it keeps the PLN value but displays the euro symbol)
Product B - 80 euros
Questions:
How can I configure the bulk order view to correctly convert prices to the selected currency?
I added the following products:
1 priced at $1
2 priced at $2
I created Spanish translations for them.
I added a new group in B2BKing – "ANG TEST PATRYK" (and assigned it to this account to see the new prices). For the product named "1", I changed the price from $1 to $1.5 for this group (in both languages, including the translation – because the group price is not automatically applied in translations and needs to be set separately). I left the product named "2" unchanged for comparison.
Now, when visiting the store and the product page in English, we see that the price of product "1" is $1.5. When switching the language to Spanish, we correctly see the converted price of €1.37 in the store (I didn’t need to use the API – it's a fixed rate). I set the exchange rate as $1 = €0.91, so this part is correct.
However, when accessing the Bulk Order page in English, we see the correct group price of $1.5. But when switching the language to Spanish, instead of seeing €1.37, we see €1.5 – meaning it takes the value from the default language but simply replaces the currency symbol.
Link for bulk order: hidden link
link for shop: hidden link
thanks, I have escalated this to our compatibility team.
I will update you when I have some news, note it may take a few days.
Regards,
Drazeb
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.