• First up, super helpful plugin. Using the free version as the boss probably wont allow for the plus.

    I added a menu item which links to the quote request page (using normal checkout), is there a way I can add a counter to that menu item for each item in the ‘quote cart’? Much like the one for the woocommerce cart.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Neah Plugins

    (@gplsaver)

    Thanks.

    I can tell you part of the answer: how to get the count in the quote cart (see below).

    $gpls_woo_rfq_cart = 
    gpls_woo_rfq_get_item(gpls_woo_rfq_cart_tran_key() . '_' . 'gpls_woo_rfq_cart');
    
    if(is_array($gpls_woo_rfq_cart)){
    echo count($gpls_woo_rfq_cart);    
    }else{
    echo 0;
    }
    Thread Starter njlsa

    (@njlsa)

    in functions.php?

    Hi @gplsaver,

    Can you guide us on this? Brief answer is fine.
    Your help is appreciated.

    Plugin Author Neah Plugins

    (@gplsaver)

    You need to contact the theme author about how to add a counter to the menu. My snippet only shows how to get the count of the items.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Quote counter in menu’ is closed to new replies.