osaka / module-structureddata
Module created to generate structured data in the product page
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
This package is auto-updated.
Last update: 2025-04-29 01:36:36 UTC
README
A simple module for Magento 2, version 2.4.x, that will help you add structured data to your product pages. The plugin does not add any configuration to your ecommerce dashboard, and it does not require any customization from your side.
composer require osaka/module-structureddata
Main Functionalities
Module created to generate structured data in the product page
Installation
* = in production please use the --keep-generated
option
Requirements
- Requires PHP soap extension. To install it run
sudo apt-get install php-soap
andsudo systemctl restart apache2
orsudo service apache2 restart
Type 1: Zip file
- Unzip the zip file in
app/code/Osaka
- Enable the module by running
php bin/magento module:enable Osaka_StructuredData
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Check your PHP and apache/nginx dependencies and update them if necessary.
- Install the module with composer by running
composer require osaka/module-structureddata
- enable the module by running
php bin/magento module:enable Osaka_StructuredData
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Configuration
Configuration is not necessary.
Attributes
An example of the attributes:
{
"@context":"https://schema.org/","@type":"Product",
"name":"product one",
"sku":"fo83hqfehdfhi3h3",
"description":"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"image":
["http://local.magento.co/media/catalog/product/example.jpg"]
}