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)

Tagged: 

This topic contains 3 replies, has 3 voices.

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

Assisted by: Long Nguyen.

Author Posts
November 15, 2023 at 7:57 pm

alexanderH-96

Language switcher not working on shop page

November 15, 2023 at 8:52 pm
November 17, 2023 at 12:23 am #14831289

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Reviewing your site I noticed that the /shop/ page linked above does not correspond to an actual page in the backend (notice you cannot edit it)

Since you are using WooCommerce i also checked the pages to locate the "shop" page and could not.

Go to WooCommerce->Status -> Woocommerce Pages

Notice the page is not set or missing.(see screenshot)

Please navigate to WooCommerce->Status -> Tools Create default WooCommerce pages. Do read the notices first before running this action, please as it will override the existing pages and re create the default WC pages. (cart,shop,checkout,etc)

NOTE: Always have a recent and working backup before making any changes recommended by our team or a 3rd party

Screen Shot 2023-11-16 at 4.21.46 PM.png
November 23, 2023 at 6:36 pm #14911133

alexanderH-96

Hello, I just did that and it caused new problems. In the Tools section it says:

"Note: This tool will install all the missing WooCommerce pages. Pages already defined and set up will not be replaced."

However, all shop pages now had a "-2" added to it, for example "/cart-2/". I made a backup before doing this and reversed it by setting it back to the backup. How can I do this without adding "-2" to all my shop pages? I want to add the /shop/ page without changing anything about all the other shop pages.

Maybe this helps: I do not need the "shop" page at all. If there is a way to not show it and not index it, that would be ok for me too.

November 24, 2023 at 3:18 am #14913121

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi,

You can go to WooCommerce > Settings:
- Products tab > Shop page: to set up a page (or any page) as the Shop page.
- Advanced tab: to set up Cart, Checkout ... pages.

Then you can delete the duplicate pages that have the slug "-2" on your site.

Look forward to your reply.
Thanks

The topic ‘[Closed] Language switcher not working on shop page’ is closed to new replies.