How to apply variable sets via script to catalog item???

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-21-2018 01:26 PM
Hi there,
I have a ui action that will automatically create an catalog entry including relevant variables ... but now I try to add the option to also apply existing variable sets ... and do not know how to build the reference via script.
The item_option_new provides be the option to add (insert) variables to and relate it to a cat_item .. but how to link an existing record on the "item_option_new_set" table to a cat_item????
I would need to insert something to some kind of relation table I would assume - but how to find?! Maybe to late today already .. not sure what to do.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-03-2018 10:43 AM
The many-to-many table "io_set_item" is the table you are looking for. It links catalog items to variable sets.