Product Model - RyanMarinoff/ISW-Prism GitHub Wiki
The Product
model represents the products found within the Reyers Volusion website. The website contains a 'Parent Product' to represent the item that is ordered. This is what the customer sees when they visit the product page. The 'Child Product' represents the inventory items of shoes, this will be the size / length combination of the product. Each product item is associated with a SKU within the internal database. Currently this data is not available. Only the data from the site will be processed within the program.
The class is marked as abstract so that the Product
class is not instantiated. The ParentProduct
and ChildProduct
classes are derived from this class.
Note: This requires the data within Category, Option, and Vendor data
Description | Type | Field | CSV Name |
---|---|---|---|
Product Code | [string] | ID | productcode |
List of Category IDs assigned to the shoe | [List<Category>] | Categories | categoryids |
List of Option IDs assigned to the shoe | [List<Option>] | Options | optionids |
Product Name | [string] | Name | productname |
Date product first displayed | [DateTime] | DisplayBeginDate | displaybegindate |
Is the product taxable | [bool] | Taxable | taxableproduct |
Is the product hidden | [bool] | Hidden | hideproduct |
Shortened version of the product name | [string] | ShortName | productnameshort |
Short statement of product (mens/womens/accessories) | [string] | ShortDescription | productdescriptionshort |
SEO Title | [string] | MetaTagTitle | metatag_title |
SEO Description | [string] | MetaTagDescription | metatag_description |
SEO Photo alternative text | [string] | PhotoAltText | photo_alttext |
Is the product designated as a sale product | [string] | SaleText | customfield1 |
Manufacturer of the product | [Vendor] | ItemVendor | productmanufacturer |
Apply to both due to errors in database on the internet
Description | Type | Field | CSV Name |
---|---|---|---|
Price of product | [float] | ProductPrice | productprice |