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 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
December 19, 2023 at 7:01 pm #15096081

tomasA-11

I am trying to: Use the short code recent_products, on the original language

Link to a page where the issue can be seen: hidden link all the products under "Köp nyheter" is not showing under "Shop news" on hidden link
Only 1 out 4 news are shown. All the news on the swedish site is translated etc etc

I expected to see: The same amount of products under "Köpnyheter" and "Shop news".

Instead, I got: I only see one new product under "Shop news".

wpmlnews.png
December 21, 2023 at 7:39 am #15107053

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Tomas,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

I use the shortcode [recent_products] on a page and translate the page, then the translation products are displayed as well on the translation page. I don't see that issue on my demo site so I suggest you try steps below and see if it helps:

1. Enable a minimal environment:
- Deactivate all plugins except WPML plugins and WooCommerce.
- Switch to a standard theme of WordPress.
2. Make a small change to the page content > Save > Update the translation. Or you can add the shortcode to a new page and translate it.
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Look forward to your reply.
Thanks

The topic ‘[Closed] The woocommerce short code recent_products is not working properly’ is closed to new replies.