oxid-academy/product-data-reader

Reads data from product selected by item number.

dev-main 2024-04-18 13:00 UTC

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