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.

This topic contains 1 reply, has 0 voices.

Last updated by Osama Mersal 8 months, 1 week ago.

Author Posts
December 6, 2024 at 1:16 am #16484243

kanugalawattage-pereraA

Background of the issue:
I am translating the WooCommerce cart and checkout pages on my site hidden link using WPML. I have located and translated the checkout steps in string translation and set the translated cart page template to WooCommerce cart.

Symptoms:
The translated cart page only displays the [woocommerce-cart] shortcode without any of the template elements that appear in the default language page, such as the breadcrumbs/checkout steps and the container for the cart. Instead, the page displays the shortcode inside the default WordPress container div#content.

Questions:
Why does the translated cart page only display the [woocommerce-cart] shortcode without the template elements?
How can I ensure the translated cart page displays the same elements as the default language page?

December 8, 2024 at 2:17 pm #16489897

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

1) Would you please let us know how the cart page is created in the default language?

If you use a custom template, please ensure the template is translated.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

The topic ‘[Closed] Flatsome/Woocommerce template issue’ is closed to new replies.