• Resolved JapeNZ

    (@japenz)


    Hi there,
    I’m using the WP Bottom Menu plugin which has an option to add an onclick event for custom menu items.

    I can’t for the life of me work out what the onclick code should be to get the Side Cart to toggle.

    I managed to get the fly cart I’ use’m currently using to trigger with ‘woofc_toggle_cart();’ but using a similar format for the Side Cart doesn’t seem to work.

    Here’s a screenshot of the settings page, so you can see what I mean:

    Any help you can offer would be very much appreciated!

Viewing 1 replies (of 1 total)
  • Plugin Author xootix

    (@xootix)

    Hello,

    Sorry for the delayed response.
    If I understood correctly, you want to open side cart from menu item?
    You can add classes to your menu items, to trigger side cart use the below class.
    xoo-wsc-cart-trigger

Viewing 1 replies (of 1 total)
  • The topic ‘WP Bottom Menu onclick event’ is closed to new replies.