Score:0

how to create commerce product attributes which gets it's values from a view

nr flag

I want to fill the product attributes select list with data like:

location1 location2 location3

These locations are general and gathered using a custom module. In views I can create a list with these values, but I'm unable to use them as attributes.

cn flag
Why not generate the list of attributes from the custom module directly?
user14409370 avatar
nr flag
True! Any help or directions in how to do this? couldn't find anything in the Code recipes on drupalcommers.org - thanks for your help!
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.