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?
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:
The topic ‘[Closed] Flatsome/Woocommerce template issue’ is closed to new replies.
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.