Skip to content

oxid-academy/product-data-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OXID Academy Product Data Reader

Latest Version PHP Version

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

About

Reads data from product selected by item number.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages