Support Forum

Content of the article

You need to log-in to create request (topic) to the support

How to show the side switcher only on shop pages?

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

I bought "WooCommerce Currency Switcher - Multi Currency and Multi Pay for WooCommerce" and installed it. It works great.

However the side switcher should ONLY be displayed on shop related pages.

Manually adding page ID's is undoable, because products and pages +posts are constantly being changed.

I just want to show this side switcher on:

  • The WooCommerce shop homepage
  • All WooCommerce category pages
  • All WooCommerce product pages
  • The WooCommerce cart page
  • The WooCommerce checkout page

 

I do NOT want the side switcher to appear on any other page. Not in the blogs, not on other pages.

Again, it's undoable to work with page ID where to show or hide the side switcher. Pages, posts, products keep changing and I don't want to keep updating the list of ID's every time. (besides... that functionality does not even work correctly, so I cannot use it anyway).

Is there a way to show the side switcher only on the shop related pages?

Thank you,
Maurice

Already got it. I added this CSS:

/* Hide everywhere */
.woocs_auto_switcher { display: none; }

/* Show on WooCommerce pages only */
.woocommerce .woocs_auto_switcher,
.woocommerce-cart .woocs_auto_switcher,
.woocommerce-page .woocs_auto_switcher { display: block !important; }

 

Hello Maurice

Thank you for  cooperation!

Also you can check this option - https://c2n.me/44xzgLS.png