The goal of this task is to refactor existing products list to be more generic. Right now, it can hold only type of "Product". Sooner or later, we will start adding all types of items such as coupons, discounts, custom amounts, Variable products, variations, categories ...etc into the product list. It would greatly benefit us if we make the list as generic as possible so that we could accommodate all types of categories on our home screen.
Since the work to support Variable product has started. This is a good time to refactor and get it ready for future changes.
The goal of this task is to refactor existing products list to be more generic. Right now, it can hold only type of "Product". Sooner or later, we will start adding all types of items such as coupons, discounts, custom amounts, Variable products, variations, categories ...etc into the product list. It would greatly benefit us if we make the list as generic as possible so that we could accommodate all types of categories on our home screen.
Since the work to support Variable product has started. This is a good time to refactor and get it ready for future changes.