Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was having trouble translating strings from Iconic plugins, specifically the Flux Checkout and the Sales Booster plugin. The issue was that certain strings in the backend options of the plugin were not translatable.

Solution:
We provided a workaround that involves two parts:
Part I:
1. Navigate to WPML > Settings > Post Types Translations.
2. Set Checkout Order Bumps (at_checkout_ob) as Translatable.
3. Go to Sales Booster > Order Bumps and manually translate your bump, ensuring to manually select the product translation instead of the original.

Part II:
1. Open the file

.../wp-content/plugins/iconic-woo-sales-booster/inc/checkout/class-order-bump-at-checkout.php

.
2. Locate line 26 and just before the line:

parent::__construct( $bump_id, Iconic_WSB_Order_Bump_At_Checkout_Manager::get_instance()->get_post_type() );

3. Add the following code:

$bump_id = apply_filters( 'wpml_object_id', $bump_id, 'at_checkout_ob' );

We also advised the client to contact the plugin developer and ask them to collaborate with us through the Go Global Program to integrate a permanent solution into the plugin's code base.

If this solution does not seem relevant, please feel free to open a new support ticket in the WPML support forum.

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.

This topic contains 15 replies, has 2 voices.

Last updated by Christopher Amirian 1 year ago.

Assisted by: Christopher Amirian.

Author Posts
January 23, 2024 at 1:20 pm #15216905

kasperv-6

I found the problem. The second order bump in my staging site didnt have a translation yet. As soon as I added that the site stopped crashing. So I guess it is very important to add a translation immediately when making an Order Bump.

Thanks for all the help Christopher, much appreciated. I wil make sure to contact iconic and tell them about the changes made, and to contact you guys to embed this in their plugin in a future update.

If I have anymore questions I know where to find you 😀

Regards, Kasper

January 23, 2024 at 2:09 pm #15217503

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Kasper,

I'm glad that you managed to find the workaround.

If you have additional questions you are welcome to open up another ticket and we will be more than happy to help 🙂