oxid-academy / product-data-reader
Reads data from product selected by item number.
Installs: 50
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:oxideshop-component
Requires
- php: ^8.1
This package is auto-updated.
Last update: 2025-02-11 13:41:38 UTC
README
This package is part of the OXID Academy Training Development Basics. Please see our website for current training offers in german or english language.
Description
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.
Compatibility
Versions
- 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.
Branches
- 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.
Installation
Production
In your shop's root directory, execute the following Composer command:
composer require oxid-academy/product-data-reader:^2.0.0
Development
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
Usage
Service
Information about the usage of services in the OXID eShop can be found in our online documentation.
Command
Your can simply run the command on your CLI by using the OE Console:
./vendor/bin/oe-console oxac:product-data:read <item-number>
Troubleshooting
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