Viewing 1 replies (of 1 total)
  • Works like a charm with the latest plugin update. I simply added a meta box with one field to the produt page, this field returns the post_id of my associated event. In the twig section, I assigned this ID as follows:

    {% set event_id = get_field(‘ticket_event’, PRODUCT_PARENT.get_id) %}

    Since Sasolo implemented a usable get_field function for twig, I now have access to each and every ACF value of my event CPT, like so:

    {% set event_title = get_field(‘event_title’, event_id) %}

    Now I can use the event title whereever I need it: {{ event_title }} I know that there must be other ways to achieve this, but in my case it works as I need it.

    This plugin is a perfect addition to my self coded events calendar.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.