Split: Event Snippet with Woo Products

#80532
  • Resolved Ulrich
    Rank Math free

    Hello,

    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…

    Ulrich

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for getting in touch with us.

    At its core, the Event tickets are actually products and using Product Schema is correct for them.

    If you use the Schema on a regular post, you cannot choose Product and Event both together. You can choose either one.

    If you check the official page on the Product Schema, you will see that even in the example they say that the product Schema needs to be used for tickets:
    https://schema.org/Product

    Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.

    So, you should use the Product Schema for selling the tickets. We do not have any option in the plugin to do like you described because it is not efficient that way.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Ulrich
    Rank Math free

    Hello Uzair,

    sorry for answering late, but i did not get the notification email about your reply.

    I agree with you that a ticket is a product, but a ticket for a event is not the same as the event itself. My main objective is to get google to list my events as events. I don’t really care if google understands that this site also sells tickets. The people will see this when they are interested in the event. This is why i want the woocommerce product site describing the event to be marked as type event.

    ou write it is not possible to mark one post as two different types.
    Is this limitation coming from schema.org or from your software?
    Would it be inefficient in therms of plugin programming or in terms of SEO?

    As far as i understand there are several ways in schema.org to combine different types to describe one site or content:
    https://schema.org/additionalType
    https://www.upbuild.io/blog/how-to-combine-multiple-schema-org-itemtype-declarations-in-a-single-script/

    But i can accept this limitation, i just would prefer this sites to be marked as events not as products.

    Hello,

    Unfortunately, we do not have such an option in the Rank Math plugin (yet).

    We have taken note of your feedback and we might introduce this in a future release of the plugin.

    Stay tuned.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this ticket.