Hello,
I am trying to Create a woocommerce car parts site but i can't figure out how to solve a problem.
My problem is that I don't know how to relate products with car models. I was thinking to use the many to many relationship, through an intermediary called "position", wich is a custom number who refers to an equivalence among products, and it is a regular reference to us to know wich part can be use in wich car.
My car database has 3 Fields, Make, Model and Engine; I was thinking to create a post type called "Vehicles", each vehicle will use a custom taxonomy called "Make", finally another custom Post Type called "Engine", wich will be child of "Vehicles".
My problem is when i'm relating Products with Engines , i don't know wich "Vehicle" im relating to, because some different Vehicles use the same Engine.
I also was thinking about using "Position" as a parent instead of a child, so it would be a one to many relationship, but i dont know how it would work.
There is another thing, i need to import all this information, im using "WP all import plugin" to do this, so i have 2 different Databases, one for products and other for Cars, by the way, each of this databases contains a column with "Position" field for each car and each product.
PS: I can reconfigure all databases to a better setup according to your advice.
Could you help me solve this? do you know a better way to achieve this?
Best Regards