- Status
- Resolved
- Resolved in
- 4.5.6
- Related plugin/theme
- Divi
Overview of the issue
When you create a page using Divi page builder and use Woo Title or Woo Description modules and translate the page, the selected product will not be translated on the translated page.
Workaround
Our developers are working on implementing a feature to fix this issue. As a workaround, you can add the following snippet to your child theme’s functions.php file
add_filter( 'et_pb_module_shortcode_attributes', function( $props ) { if ( isset( $props['product'] ) && !is_product() ) { $props['product'] = apply_filters( 'wpml_object_id', $props['product'], 'product', true ); } return $props; } ); Once added, the translate product title/description will be displayed on the translated page.