• Resolved Tarjeet Singh

    (@tarjeet98)


    Hi, firstly I would like to thank you for your amazing plugin! I really mean it and it’s really good. So many features in the free version and please keep it this way.

    I wanted to know how can I add a cart button like “Go to cart” or “View Cart” in the sidebar mini cart, I couldn’t find any setting for that. But I did find the function code from your GitHub page. I am using the below following code.

    // Add cart button to side mini cart

    add_action( ‘fkcart_before_checkout_button’, function(){
    ?>
    <a id=”fkcart-checkout-button” class=”button” href=”dynamic_wocommerce_cart_url_here”>View Cart</a>
    <?php
    } );

    I am looking forward to us this plugin for my future projects so I wanted to know if is it safe to use the function code because I am worried that future updates might crash the website due to the discontinuation of the above code. Else could you add a view cart button in your future updates?

    Thank you once again!

    Regards,
    Tarjeet Singh

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @tarjeet98,

    Thank you so much for using the Funnelkit Cart module. Glad to know that you like its features??

    The snippet you shared is the correct way to add any additional code or HTML above or below the checkout button.

    The filter hook to power up this snippet will always be there. You can safely use it and add the link. This will not be wiped out with any update in the future.

    Feel free to ask if anything else.

    Thanks
    Team Funnelkit

    Thread Starter Tarjeet Singh

    (@tarjeet98)

    Hi, thank you very much for confirming.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add cart button in sidebar mini cart’ is closed to new replies.