product category its products will appear
then if I select a product its customer category will appear
after that if I select customer type I want to show that customer who purchases selected products and its customer type that is selected?
const productCategories = [ { id:1, name:'Dairy' }, { id:2, name:'Juices' }, { id:3, name:'Chocolates' }, ] const products = { Dairy:[ {id:1,name:'Milk'}, {id:2,name:'Butter'}, ], Juices:[ {id:3,name:'Mango'}, {id:4,name:'Apple'}, ] } I Know how this will be but i am confused about customer category and name
products should have a category and customer_category fk customers should have a customer_category fk
yes i know this but what i want is that customers who also bought that specific product
Обсуждают сегодня