How do we get the variant's variant_id variable in marketing feeds? It's not in the l.settings:record:variant data at all. Why?? Because when you append ?variant_id=## to the master product's URI then Miva's attribute machine will automatically 'click' the appropriate attributes to select that variant. This makes markeplace feeds happy because the link you give them for the variant will be what's displayed on the page. EX: Large Blue Shirt variant goes to the Shirt and selects Large and Blue because we put ?variant_id=## in the URI.
So... other than running some SQL, which I can do but don't want to, I can't seem to find any API functions that I can use to get me the variant_id if the variant.
PS: yes, this is a marketing feed and variants checkbox is checked. That's all 'easy' stuff.
So... other than running some SQL, which I can do but don't want to, I can't seem to find any API functions that I can use to get me the variant_id if the variant.
PS: yes, this is a marketing feed and variants checkbox is checked. That's all 'easy' stuff.
Comment