Closed aksenovaa closed 1 year ago
What is offers
? A COA
? A PAGE
?
A assume, the following is missing:
offers = COA
hadn't thought of that The documentation didn't say that, it just did: Multiple values can also be assigned to one property using numeric keys. Example:
page.10 = SCHEMA page.10 { type = Organization properties { name = My Company sameAs { 10 = https://example.org/ 20.typolink { parameter = t3://page?uid=42 forceAbsoluteUrl = 1 returnLast = url } } } }
At the end it is TypoScript ;-)
But: Why are you using TypoScript for that purpose? Every time, something changes, an integrator has to take action and adjust the structured data. Better would be to store the products in a database table and build the structured data with PHP. So an editor can adjust the products.
These are specific services/goods: printing services, large format printing. It is not convenient to store them in the database - there are no precise definitions. Except for a price list. Some things I take from page parameters - images, some things I enter into variables by hand. Now instead of TS I have done the same on fluid. It works great.
I would like to get a mark-up for product variations according to the following scheme:
Current behavior
I'm trying to add a scheme with TypoScript, but I can't get multiple Offer nested under Offers :
But in the end, I can only get the markup for the last Offer, offers.20