Skip Navigation

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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

This topic contains 3 replies, has 0 voices.

Last updated by Dražen 1 day, 10 hours ago.

Assisted by: Dražen.

Author Posts
January 7, 2025 at 1:50 pm #16569791

dirkV-7

Background of the issue:
I am using the plugin 'Local pickup plus' to offer customers the option to pick up plants and force pickup for items that cannot be shipped due to size or weight. The shipping class is 'local pickup' and the local pickup option is 'Must be picked up'. This setup works for the base language, Dutch, where shipping options are limited to 'Pickup'.

Symptoms:
In other languages, the default shipping option (DPD) still appears and is calculated, even though shipping classes and plugin strings are translated. The 'must be picked up' option is not enforced.

Questions:
Why is the 'must be picked up' option not enforced in other languages?
How can I ensure that the default shipping option does not appear in other languages?

January 7, 2025 at 2:37 pm #16570167

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for contacting us.

In default language, how are you selecting for which products "Must be picked up" will be applied? Via some settings or in products?

Please share more information.

Regards,
Drazen

January 8, 2025 at 7:15 pm #16575115

dirkV-7

Hello

It is chosen on product level (see screenshot)
We have 3 main schipping classes
Plants, Hardware and local pickup

The second variable is decided by the plugin

Use categorie settings (shipping)
Can be picked up
Must be Picked up
Cannot Be picked up

See second screenshot.

It works fine in Dutch, but when i switch to any other language,
Other shipping methods reappear, and disappear again when switchingn back to Dutch

Naamloos2.png
Naamloos1.png
January 9, 2025 at 7:44 am #16576213

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

good, that means this plugin adds an additional custom field that is not being synced in translation. Try to go to WPML > Settings, find Local pickup custom field and set it to COPY, then go to your default language product and resave it, it should be then be same in both languages.

Guide to follow: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

Regards,
Drazen