• Resolved alfredo1216

    (@alfredo1216)


    Hello,

    I wanted to ask the following question and see if it is possible:

    I have a currency switcher active on my website, and I want to add the currency switcher button (shortcode) in the existing mini cart of the theme.

    I ask, is it possible? Does it have a hook? Or do you have to add some custom code?

    I attached an image of where it would be added.

    If you could help me I would appreciate it.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @alfredo1216

    We do have some hooks present inside the mini-cart, but that’s only in Blocksy Pro. They look something like this — https://ibb.co/SmfTdzb

    Though, please be aware that under no circumstances we are allowed to offer support for Blocksy Pro on here. If you have any inquiries related to that, please connect with us via our website — https://creativethemes.com/blocksy/support/

    Thanks.

    Hi @alfredo1216

    Just a mini reminder about this one. Did the hooks I have provided help you in any way? ??

    Thanks!

    Thread Starter alfredo1216

    (@alfredo1216)

    Hello,

    Yes, the hooks shown worked perfectly for me.

    I share the code here in case someone needs it.

    // Shortcode custom mini cart Blocksy
    
    add_filter( 'woocommerce_before_mini_cart', 'shortcode_custom_mini_cart', 99 );
    function shortcode_custom_mini_cart( $variable ) {
        echo do_shortcode("name shortcode");
        return $variable;
    }

    Thanks.

    These are some good news, @alfredo1216 ! Glad it worked out nicely!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mini shopping cart – Addition’ is closed to new replies.