• Resolved Anonymous User 18563845

    (@anonymized-18563845)


    When updating the astra theme from version 3.9.1 to 3.9.2 the product flag on a woocommerce product page changes from location.
    The new location is below the short product description. I need the flag to stay under the product price, on top op the page like before. Astra support is not helping me out, they are not aware of the curcy plugin. Could you please help out ?

    • This topic was modified 2 years, 4 months ago by Anonymous User 18563845.
    • This topic was modified 2 years, 4 months ago by Anonymous User 18563845.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hi,

    Thank you for reaching out to us.

    You can use this code, please place it to your theme function:

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

    Please deactivate this option in the plugin settings: https://prnt.sc/Og0hQzmyPAnX If you enable that option while using the code, it’ll show 2 switchers.
    And change the number 20 to change the position of the price switcher.

    Best regards.

    Thread Starter Anonymous User 18563845

    (@anonymized-18563845)

    Thank you for the reply. The function works well.
    Only when I change the position to position 10. the switcher shows above the price. When I change the position to 11, the switcher shows up under the product tags at the very bottom.

    Is it possible to define the function so that it should come below the class price? thank you very much in advance for the answer.

    Plugin Support angelagrey

    (@angelagrey)

    Hi,

    You may try this code:

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

    You may try the number with decimal, but please place it inside the ''

    Plugin Support angelagrey

    (@angelagrey)

    I’m not sure if this code might work. If it does not help, you may have to contact your theme to have custom template.

    Thread Starter Anonymous User 18563845

    (@anonymized-18563845)

    Thank you for your answer. The result is indeed the same. I try to contact the astra theme creator again. Thank you for all the effort.

    Astra has disabled the multicurrency trying to force users to buy the pro version.

    The multicurrency menu is disabled.

    The description box where to add the shortcodes in the custom menu is disabled.

    Basically this is making the theme useless for many

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Compatibility with astra 3.9.2’ is closed to new replies.