Forums / Features Wish List / Built in Schema

Built in Schema

Started by mprough on 6 Jan 2026, 11:26 AM · Views: 207

Results 1 to 3 of 3
6 Jan 2026, 11:26 AM
#1
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,324
Plugin Contributions:
40

Built in Schema

I think it's time to add schema, other fields list ISBN etc & be more compliant at least for the crawling venues. Field matching for products/categories import/export like Mailchimp, Google & so many do will help smaller merchants compete in the bigger feed driven venues.

=)
~Melanie

3 Nov 2026, 11:18 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Built in Schema

Hi Melanie,

I agree that small stores need this to compete in the feed-driven venues. I see three separate requests here, and each would land differently:

1. Product identifiers. 2.0.0 added products_mpn, but 3.0.0 still has no GTIN field. Google asks for a GTIN whenever a product has one. An ISBN is just a GTIN-13, so one products_gtin field would cover ISBN, UPC, EAN and JAN. It should be varchar(14) so GTIN-14 fits too. This looks like the easiest one to get into core.

2. Schema (JSON-LD) output. None of the core templates output it today, but torvista's Structured Data plugin already does (you're listed among its authors). It outputs Product, Offer, Breadcrumb and Organization blocks. It already reads the core products_mpn field, and it reads GTIN from whatever field name you set in its admin, so a core products_gtin would plug straight in. If core ever added its own markup, it would need an on/off switch. Otherwise stores running the plugin would get two competing Product blocks on every page.

3. Import/export. lat9's Database I/O Manager (DbIo) covers the bulk side. Its Products handler imports and exports every field in the products tables. That includes products_mpn and any field a plugin adds, so a GTIN column would show up with no extra code. Its templates let you pick which fields go out and in what order. What it doesn't do is produce a feed. The column headers are DbIo's own (v_products_model and so on), and it exports no product links, image links or availability values. Matching Google's or Mailchimp's field names is a feed generator's job, not an import/export tool's.

I think #1 would have a much better chance as its own GitHub issue than as part of a wish-list thread.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

4 Nov 2026, 4:04 AM
#3
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,811
Plugin Contributions:
24

Re: Built in Schema

I'll focus on the built-in schema only since "other fields" is a very broad subject and you'll probably only find 1-2 that would be needed by everyone, the rest would be site-specific. ISBN/EAN would be one that really needs adding to core, but as John mentioned, you should bring this up on GitHub and do a PR perhaps?

As for schema - I very much agree, but ONLY if distributed as an Encapsulated plugin (like PayPal Restful or POSM). Schema markup changes too often, and new features keep getting introduced. It needs to be easily updatable without forcing a new Zen Cart release.
This is exactly where Encapsulated plugins come in. We already have working examples of this in the library (torvista's Structured Data and/or your Super Data encapsulated plugins), which proves the encapsulated approach works perfectly, and it would only be a matter of deciding which of the two "weighs" more to be included in the "core" distribution.

Now, as wilt mentioned in another thread, it seems we're going to get a feature I've been talking about for almost 2 years now - a Remote Installer. Hopefully, this will allow users to browse the official plugins library and install encapsulated plugins with a single click from the admin. If we get that, all we need is an official list of recommended plugins to install and you don't need to distribute anything with the core, and any future updates to your plugins would be a one-click update for the end user. Fingers crossed that this happens soon (although it should've been yesterday...)

My site - Pro ZC Help
My portfolio | My plugins