X
184735

Is there a template to edit the lightbox output?

There are details in the documentation about modifying archives and things like that, I’m mostly interested in editing the lightbox. Specifically I like the lightbox details but the ticket feature doesn’t show certain other WooCommerce product add-ons. So I’d like to link to the single event page from the lightbox. There is no option to do this by default and there isn’t any information about modifying the lightbox. Based on the work I’ve done with EventOn it seems as though the EventCard Data is loaded here but again, no details about modifying this.

If there is a template file that can be overridden that would be useful to know.

BY: Gary Smith - Jul 6,2020 AT 4:07PM - 4 years ago
    • infotainerdave Jul 6,2020 AT 8:19PM - Posted 4 years ago - #184744

      Are you saying that on the lightbox – certain woocommerce product addons don’t appear- but they do on the single event page?

      if so- what appears on the single event and not on the lightbox?

    • Gary Smith Jul 6,2020 AT 8:43PM - Posted 4 years ago - #184748

      Yith Product Add-on options appear on the single event page. Only WooCommerce default variations appear in the lightbox. I haven’t really looked very closely at how the difference applies. My only quick-fix would be to not load any of the order information in the lightbox but a link to take them to the single event page.

    • Artem Jul 6,2020 AT 11:51PM - Posted 4 years ago - #184763

      Hey Gary,

      Or, we can do some modification for you, so you can load all those details to the lightbox if you want.

      You can send us a customization job request by creating a new ticket in here and selecting Customization Request as the category.

    • Gary Smith Jul 7,2020 AT 2:02PM - Posted 4 years ago - #184910

      I appreciate the enthusiasm but I am unsure what custom modification you could do that wouldn’t be broken in future updates. I tried modifying the template-add-to-cart files by moving them into /eventon/ and/ eventon-tickets/ directories in the theme but it could be they aren’t being looked for there.

      After looking through the files more directly there are single event hooks in the class-single-event file. But the issue isn’t that WooCommerce data can’t load in the lightbox, but that other data does not load because it doesn’t recognize it as a single product entry (like single product page).

      It looks like I could possibly rebuild the Checkout process myself and just remove the Ticket Box eventcard data and use a custom one but thats a lot of work. I have just used some custom styling and repurposed the “Learn More” link to push users to the single event page when it’s got a ticket with Product Add-ons.

      I looked at the Ticket Variation & Options extension but it doesn’t seem to have any conditions which is what I’m using the Yith Product Add-ons for (if Variation 1, show add-on 1 and 2 etc…)

    • Artem Jul 13,2020 AT 12:41PM - Posted 4 years ago - #185683

      Hey Gary,

      We could discuss it and see ways ot be implemented.

      We are open for those things yes.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON