Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.
    You can use the Currency Selector (by shortcode) instead of Currency Switcher in this case. Please try one of these shortcode with the layout you like in this list.

    With shortcode, you can place it in any position you like.

    Best regards.

    Thread Starter Diiamo

    (@luislu)

    Hi,
    I didn’t add the Currency Switcher on the product single page, it shows up automatically after I install this plugin.
    I want to change its position, what hook should I use?
    If can’t change the position, how to hide it?

    Plugin Support angelagrey

    (@angelagrey)

    For this:

    I want to change its position, what hook should I use?

    You can disable the Currency Switcher, then replace with this code:

    add_action( 'woocommerce_single_product_summary', function () {
    	if ( is_product() ) {
    		echo do_shortcode( '[woo_multi_currency_product_price_switcher]' );
    	}
    }, 11 );

    To disable the Currency Switcher, you can select this option “Not Show”: https://prnt.sc/4vCtCp_4Ln_P

    Plugin Support angelagrey

    (@angelagrey)

    But it’s looks odd when the Switcher is below the “Add to cart” button, I doubt your site includes custom code/CSS.

    In this case, you must find the hook yourself and replace with the code I sent above. The hook name is ‘woocommerce_single_product_summary’

    • This reply was modified 2 years, 3 months ago by angelagrey.
    Thread Starter Diiamo

    (@luislu)

    Thank you, Love this plugin!
    By the way, one suggestion: Use flag SVG icon instead of one big image (62.5kb) https://picshack.net/ib/suwk3VNnaP

    Putting all flags in one image is not good for page loading speed, and the flags show up slowly(because it is added by CSS).

    I am using the Optimole plugin to compress the image, the flag image is add by CSS, so Optimole is not able to compress it.

    Plugin Support angelagrey

    (@angelagrey)

    Thank you for the suggestion, and thank you so much for the link! We’ll take it into consideration.

    We’re glad to help, have a great day!

    • This reply was modified 2 years, 3 months ago by angelagrey.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Modify the single product page currency switcher position’ is closed to new replies.