Discounts

Edit on GitHub

The Discounts category contains all data you need to manage product discount information in the online store. We have structured this section according to the following .csv files that you will have to use to import the data:

  • discount.csv: allows you to imort general information about the discounts and their attributes.
  • discount_amount.csv: allows you to imort data used to set the values of the discounts imported with discount.csv.
  • discount_store.csv: allows you to link the discounts with the stores.
  • discount_voucher.csv allows you to import information about vouchers.

The table below provides details on Product Merchandising data importers, their purpose, .csv files, dependencies, and other details. Each data importer contains links to .csv files used to import the corresponding data, including specifications of mandatory and unique fields, dependencies, detailed explanations, recommendations, templates, and content examples.

Data Importer Purpose Console Command File(s) Dependencies
Discount Imports information about the discounts and their attributes. data:import:discount discount.csv None
Discount Amount Imports information used to set the values of the discounts imported with discount.csv. data:import:discount-amount discount_amount.csv
  • discount.csv
  • discount_store.csv
Discount Store Imports information about this file links the discounts with the stores. data:import:discount-store discount_store.csv
  • discount.csv
  • stores.php configuration file of demo shop PHP project.
Discount Voucher Imports information used to create the discount voucher. data:import:discount-voucher discount_voucher.csv discount.csv