WooCommerce Menu Cart
[resolved] error: invalid agrument (6 posts)

  1. ppagarawal
    Posted 3 years ago #

    i am trying to use your plugin and am hit by an error which says invalid argument supplied for foreach on line 330. image: http://s11.postimg.org/4jz12g6sj/prob5.jpg
    kindly look into the matter so that the error is resolved.

    also to not i am not getting the drop down list of menus:http://s17.postimg.org/we8yktnbj/prob6.jpg

    i am running this site on local host.
    kindly help me.


  2. Ewout
    Plugin Author

    Posted 3 years ago #

    You probably have no custom menus configured (Appearence > Menus), which this plugin requires in order to work. The error message could be a little more informative though, so I will see if I can push a fix for this shortly. Meanwhile, could you confirm that creating a custom menu fixes the issue for you?

  3. ppagarawal
    Posted 3 years ago #

    yes this issue is fixed.

    however i'd like to seek some help from you. i am new to woocommerce and have added products to it. now in order to assure the changes are made to the website can you please tell me what to do next. also, let me know how to activate the add to cart button.


  4. Ewout
    Plugin Author

    Posted 3 years ago #

    Hi Prateek,
    The add to cart button should work out of the box.
    If you want your products to appear on the website, make sure you have added the shop page to your custom menu (if you are using permalinks, it should be something like yoursite.com/shop). When the cart is empty, WooCommerce Menu Cart will also link to this page. WIthout a link to your website, it's hard to give you any precise directions.

    I suggest searching for a WooCommerce tutorial online (here's one: Getting started with WooCommerce). Also, make sure your theme supports WooCommerce. Let us know if you have any issues with the WooCommerce Menu Cart though!

    Kind regards,

  5. ppagarawal
    Posted 3 years ago #

    will surely start with some online tutorial.
    Thanks Ewout

  6. Ewout
    Plugin Author

    Posted 3 years ago #

    Good! I'll mark this issue as resolved then. Let us know if you have any issues with or questions about the WooCommerce Menu Cart.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Menu Cart
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.