I’m having the same problem, as we are a little event location and i use woocommerce to sell tickets. I extra changed from Yoast to RankMath because Yoast does not offer schema type event, and now i can’t use the schema type, because you enforce type product.
The code above basically works, but i have two problems as i’m no php-programmer:
– how do i find out what variables i can use, to fill dynamic data that is different on every event (like dates and performer)
– how can i change values that are not anywere stored in variables yet. As an example we have musicEvents, TheaterEvents, ArtEvents so i have to be able to change that on every event.
As a dirty fix it would be ok, to just have the same form for the details as if i mark a article as ‘type event’, but on the long therm it would be more convinient to be able to take the variables from woocommerce that already live there, expecially the number of tickets left.
Thanks for your help…
You must be logged in to reply to this ticket.