
Originally Posted by
Ajeh
The master_categories_id is the immediate categories_id that "owns" the Product in the table:
products
If you edit a Product, it will show you the master_categories_id at the top of the page:
The master_categories_id can be used as an identifier that a Product is a CD or Vinyl, if all CDs and Vinyls are in Categories that hold only CDs and/or Vinyls ...
This would allow a count on Products in the shopping_cart that match the master_categories_id numbers of CDs and Vinyls vs the total item count in the cart ...
The idea is, if the count of Products using these master_categories_id values matches the total items in the cart, then all Products are Media ... if not, then the whole cart is not Media ...