WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Menu Cart
[resolved] Manual Menu (2 posts)

  1. Brad
    Member
    Posted 1 year ago #

    Any chances to get the exact code to manually insert the menu cart? Working on a WordPress theme not making use of the Dashboard menu options, and need to insert manually.

    Thanks.
    Brad

    http://wordpress.org/extend/plugins/woocommerce-menu-bar-cart/

  2. Ewout
    Member
    Plugin Author

    Posted 1 year ago #

    The simple answer would be that the exact code is what you see in the files...

    We use a wordpress hook called wp_nav_menu_%menu name%_items to add the cart at the end of the menu with %menu name%. If you don't use such a menu, you have hook into wp_list_pages. We don't have a canned solution for you unfortunately...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.