Okay
  Public Ticket #2650179
Linking event to a product
Closed

Comments

  •  1
    Mallory Balnis started the conversation

    I have certain user roles on my site (Vendors) who I would like to be able to add Events on the front end and link that event to a product in WooCommerce.  I only see instructions on how to link an event to a product from the back end.  Is there a way to add this option to the front end for my Vendor users? 

    Or, if there's no way to do that, how do I give them access to add events from the back end, but see nothing else in the back end of the site?

  •  783
    Zhivko replied

    Hi,

    At the moment users can only create "Tickets" which are custom type of WooCommerce products from the front-end. 

    Is this what you need or you need different type of products?

    Giving access to the backend is bad idea because they'll need access to woocommerce as well.




    Stachethemes Developer

  •  1
    Mallory Balnis replied

    How would they do this?  When I look at the options given to a user trying to add an event from the front-end, I don't see where they can link it to any type of WooCommerce product at all.  

  •  783
    Zhivko replied

    Do you have Elementor plugin installed?


    Stachethemes Developer

  •  1
    Mallory Balnis replied

    I'm using Elementor as my page builder, yes

  •  783
    Zhivko replied

    You can then create your own submission form using the Elementor Builder.

    Go to Dashboard -> STEC -> Builder.

    Under "Event submission form" click "Create new" button and edit with elementor.

    Your elementor widget panel (the toolbox on the left) will have new widget section "Stachethemes Event Calendar" containing all available elements for the event submission form. 

    There are some extra elements that are not included in the default form like the "Booking" element which allows to create tickets from the front-end.

    After you've finished building your new form go to Dashboard -> STEC -> General -> Event Submission tab and select your new form from the "Template" selector.


    Stachethemes Developer

  •  1
    Mallory Balnis replied

    Thank you for this!  It took me a bit to circle back around to this, but I have followed your instructions and added the Booking element to my custom submission form.  The only problem I'm having now is that the "+Ticket" button isn't showing up on my form.  I made sure to create a ticket in case that was the problem, but it's still not giving me the option to add a ticket.  I can only see the Ticket button as an admin user, but I need front-end users to be able to see Tickets.  Is there a setting I'm missing somewhere?

  •  783
    Zhivko replied

    Hi,

    The user must have "manage_woocommerce" capability in order to create products and see the tickets button.


    Stachethemes Developer