oxid-academy / product-data-reader
Reads data from product selected by item number.
Installs: 0
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: 2024-04-18 13:16:13 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.
Installation
In your shop's root directory, execute the following Composer command:
composer require oxid-academy/product-data-reader
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