Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter embmus

    (@embmus)

    Finished updating and moved the staged site over.

    Being able to fully configure Booster on the staged site would be very useful considering how large Booster is and how much a site is dependent on it.

    Thread Starter embmus

    (@embmus)

    This should work, but I don’t think the shortcode is registered by the time this is run. Or there could be another problem entirely.

    //	Put Booster currency dropdown after cart in header
    add_action( 'init' , 'add_currency' , 15 );
    function add_currency() {
            add_action( 'storefront_header', 'insert_currency', 65 );
    }
    function insert_currency() {
    	echo do_shortcode( '[wcj_currency_select_drop_down_list]' ); 
    }

    Is this the right approach, and can you see where the problem is?

    • This reply was modified 6 years, 2 months ago by embmus.
Viewing 2 replies - 16 through 17 (of 17 total)