Strady77 Posted December 7, 2012 Share Posted December 7, 2012 Hello everyone, I need a little help on how to generate csv file for combinations (Attributes): I'll post an example to better understand what I have to do: I have a product that is a muffler for motorcycle that can be mounted on various brands and models and years of motorcycles, then muffler with ID1 can be mounted on a BMW GS1200 in 2011 and 2005 and on YAMAHA R6 DUCATI MONSTER 2004 I would like to generate the attributes so that when the customer opens the product page muffler (ID1) have turn the 3 select menus with various selectable options, ie option1 BMW GS1200 Option 2 of 2011 YAMAHA R6 2005 and option3 DUCATI MONSTER 2004. I thought to generate three attributes: brand model year And assign the values of the attributes depending on where it should be mounted at the end should be a csv more or less like this: 1 | Brand: select: 1, Model: select: 1, Year: select: 1 | BMW: 1, GS1200: 1,2011:1 | .... 1 | Brand: select: 1, Model: select: 1, Year: select: 1 | YAMAHA: 1, R6: 1,2005:1 | .... 1 | Brand: select: 1, Model: select: 1, Year: select: 1 | DUCATI: 1, MONSTER: 1,2004:1 | .... Since I do not know how to handle the positions I ask you, do you think can fit the csv file compiled so? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now