Description Usage Arguments Value
Function runs a validation of a supplied file containing products and throws an error if it was not successfull. If the file format was correct then the 'SpecialPrice' column is split into two seperate columns named 'DiscountItemCount' (amount of items required to apply a special price) and DiscountPrice (new price which can be applied if enough items are bought).
1 | readProducts(file = "products.csv")
|
file |
path to the file with products list |
Function returns a data.frame with products read from file if the validation was successfull.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.