Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hey Mike,
    You can put this in your template, but not straight out of the box. It’s probably much easier to copy the essential bits from wp-menu-cart.php (the wpmenucart_menu_item function) and /includes/wpmenucart-jigoshop.php (which is where the data is collected).

    It does require a bit of php skill though…

    More about the implementation can be found here: https://docs.woothemes.com/document/show-cart-contents-total/
    It’s for WooCommerce, but the same principles apply and you can of course take a few hints from our code.

    Hope that helps!

    Ewout

    Thread Starter technolovegy

    (@technolovegy)

    Thanks Ewout! I’ll give it a shot if my workaround gives me problems. What I did was make a menu with one page in it, and told the cart to go there, then called that menu into my template. I then hid the page link and overrode a bit of css.

    Seems to be ok!

    Plugin Contributor Ewout

    (@pomegranate)

    Great fix! I’ll go ahead and set this topic to resolved, but do let us know if you have any other questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Menu Cart in Template’ is closed to new replies.