ข้ามการนำทาง

Waiting for author

Topic Tags: Compatibility, WCML

Overview of the issue

When using the Astra theme and its PRO add-on, the Quick View popup for WooCommerce products does not display the selected currency. Instead, it shows the default currency even when another currency is selected. The rest of the site correctly reflects the chosen currency.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open your theme’s functions.php file.
    // WPML Workaround for compsupp-7862 
    add_filter( 'wcml_multi_currency_ajax_actions', 'add_action_to_multi_currency_ajax', 10, 1 );
      
    function add_action_to_multi_currency_ajax( $ajax_actions ) {
      
        $ajax_actions[] = 'ast_load_product_quick_view'; 
        return $ajax_actions;
      
    }
            

ทิ้งคำตอบไว้

โปรดอยู่ในหัวข้อและเคารพผู้อื่น หากคุณต้องการความช่วยเหลือเกี่ยวกับปัญหาที่ไม่เกี่ยวข้องกับโพสต์นี้ โปรดใช้ฟอรัมสนับสนุนของเราเพื่อเริ่มการสนทนาหรือส่งตั๋ว.

คุณสามารถใช้แท็กเหล่านี้:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>