This package is part of the OXID Academy Training Development Basics. Please see our website for current training offers in german or english language.
This extension is an OXID eShop Component. It introduces a service to read title, price and SEO URL of a product selected by its item number. The extension also provides a console command to run the service directly on the CLI.
- 2.x.x version is compatible with OXID eShop 7.1.
- 1.x.x version is compatible with OXID eShop 7.1 and 7.0.
- b-7.1.x branch is compatible with OXID eShop compilation b-7.1.x.
- b-7.0.x branch is compatible with OXID eShop compilation b-7.1.x and b-7.0.x.
In your shop's root directory, execute the following Composer command:
composer require oxid-academy/product-data-reader:^2.0.0
In your shop's root directory, execute the following commands:
git clone -b b-7.1.x https://github.com/oxid-academy/product-data-reader.git ./EXTENSIONS/product-data-reader
composer config repositories.oxac-pdr path ./EXTENSIONS/product-data-reader
composer require oxid-academy/product-data-reader:dev-b-7.1.x
Information about the usage of services in the OXID eShop can be found in our online documentation.
Your can simply run the command on your CLI by using the OE Console:
./vendor/bin/oe-console oxac:product-data:read <item-number>
If you encounter any issues after installation, clear your source/tmp
directory. You can do this by running the oe:cache:clear
command:
./vendor/bin/oe-console oe:cache:clear