Extend Schema.org Header Tag with SKU and ASIN per product
- Description
-
With this addon, database fields for SKU and ASIN can be added to the product. If the Product Schema JSON-LD Header Tag Module is installed and activated, this data is added to the source code.
Schema data for your local business can also be added.
You need to customize the schemaExtend.php file in templates/default/includes/hooks/shop/product_info/ according to your needs.
To add the database fields to your product table, it is necessary to execute the following SQL statement in phpMyAdmin or use the Databasetool by @zipurman:After altering your databasetable, just upload the three files of the zip archive. No files will be overwritten.Code: Select all
ALTER TABLE `products` ADD `products_sku` CHAR(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL AFTER `products_gtin`, ADD `products_asin` CHAR(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL AFTER `products_sku`;
!!! needs ht_product_schema from Phoenix v1.0.8.21 !!!
Add SKU and ASIN to your productsv1.0.0 for Phoenix v1.0.8.21NOT SUPPORTEDNOT TESTEDTESTED 8.x
-
- Addon Revisions/Downloads
- Version
- Phoenix Version(s)
-
- v1.0.0
-
- 1.0.8.21
-
Validation time: Nov 16, 2023 3:08 pm
Downloads: 93