Good Evening Florian,
I hope you are doing well during the pandemic, I have question that I can’t find the answer to.
My website (egypttaxitransfer.com)uses Woocommerce to sell airport transfers, Now the problem is I using the Organization snippet where I show info about my company. now the problem is I created another snippet called transfer where I use MoveAction Schema with the following properties (Name, priceRange, image, fromLocation, toLocation, description) and I assigned it to the product page but the product page still shows the Organization snippet.
I hope my explanation made sense to you.
3 thoughts on “Creating more than one snippet for the same page!”
and thanks for your question.
I don’t quite understand what you want to achieve exactly. Maybe you can clarify a little more: Do you want to show two schemas at the same time? Or do you want to exclude a second schema when the first one is displayed?
Sorry for the poor explanation, Yes I want to show the product shema in the product page and exclude the Organization from the product page.
Also I forgot to thank you for the amazing plugin, Good job.
glad to hear that you like the plugin as much as I do! 😉
You can easily exclude post types by adding another rule to your Global Snippet. For this, open up the Global Snippet for your Organization. Scroll down until you see the “Position” metabox. Click the “and” button and choose the following rule: “Post Type is not equal to Products”.
That should do the trick! 😉