Support » Plugin: Mobile Contact Bar » A couple of feature ideas

  • Resolved mrboats

    (@wpseiskaadmin)


    A couple of ideas/feature requests:

    – Whatsapp as a communication channel. Uses the same URL method as your other comms channels so should be easy to include: Calling whatsapp from browser.

    – I would really like to get the Woocommerce cart into the comms bar. The best plugin that I have found so far for managing the cart is Woocommerce Site Cart. Idea: could this be integrated to be one of the buttons at the bottom of the screen? Or something similar.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author anna.bansaghi

    (@annabansaghi)

    Hi,

    you can already create a WooCommerce cart icon. First, add the following code to your theme’s functions.php file. Next go to Admin/Settings/Mobile Contact Bar, and set your cart page URL.

    
    function my_mcb_admin_update_contacts( $contacts ) {
        $contacts['woocommerce_cart'] = array(
            'icon'        => 'shopping-cart',   // Font Awesome 4.7.0 icon name
            'title'       => 'WooCommerce',
            'protocol'    => 'https',
            'placeholder' => 'https://mysite.com/page_or_post'
        );
        return $contacts;
    }
    add_filter( 'mcb_admin_update_contacts', 'my_mcb_admin_update_contacts' );
    
    • This reply was modified 1 year, 7 months ago by  anna.bansaghi.
    mrboats

    (@wpseiskaadmin)

    Yes, thank you, that works nicely. However, for a good customer experience, a little more would be needed (such as at least number of items in cart etc). So still wondering if ig would it be possible to connect the cart icon in your contact bar so that it would open/activate this one: https://wordpress.org/plugins/side-cart-woocommerce/??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘A couple of feature ideas’ is closed to new replies.