Extend Schema.org Header Tag with SKU and ASIN per product

Unbenannt.PNG
v1.0.0 Phoenix 1.0.8.21
Released:
Thu Nov 16, 2023 3:08 pm
File size:
4.96 KiB
Validated for:
Phoenix 1.0.8.21
MD5 checksum:
e916f86b11d12197cd790899eb8e845b
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:

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`;
After altering your databasetable, just upload the three files of the zip archive. No files will be overwritten.

!!! needs ht_product_schema from Phoenix v1.0.8.21 !!!
Add SKU and ASIN to your products
v1.0.0 for Phoenix v1.0.8.21
NOT SUPPORTED
NOT TESTED
TESTED 8.x
  • Author Denzel
  • Last updated Thu Nov 16, 2023 3:08 pm
  • Total Downloads 93
  • Rating
    (0)
  • Categories Content
Unbenannt2.PNG Unbenannt1.PNG
  • Addon Revisions/Downloads
    Version
    Phoenix Version(s)
  • v1.0.0
    • 1.0.8.21
    Validation time: Nov 16, 2023 3:08 pm
    Downloads: 93