Add to cart as Widget

Home Forums Ticket Products Event Tickets Plus Add to cart as Widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #964780
    Jonathan
    Participant

    Hi,

    I have been going through some other posts but cannot get this to work.

    I have a plugin that allows me to place PHP in a widget i am trying to have an nice add to cart button in this widget of my single event listing.

    Customers will only ever book one ticket as its for a class so quantity is of no issue

    Adam

    #965040
    Josh
    Participant

    Hey Jonathan,

    Thanks for reaching out to us!

    The functionality you are looking for should be possible. Within the main WooCommerce plugin (not our WooCommerce Tickets) plugin, check out the templates > single-product > add-to-cart > simple.php. You should be able to take the way the formĀ is output there and remove anything you don’t want. It looks like you’ll just need to grab the ID of the product associated with your tickets and apply that to the appropriate places within that code.

    Let me know if this helps.

    Thanks!

    #984201
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add to cart as Widget’ is closed to new replies.