false
false
none
flase
below
true
Color
1
var variantImages = {},
thumbnails,
variant,
variantImage,
optionValue,
productOptions = [];
variant = {"id":10904922488868,"title":"Lemon","option1":"Lemon","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Urban Roots Lemon Lip Balm - Lemon","public_title":"Lemon","options":["Lemon"],"price":900,"weight":45,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]};
if ( typeof variant.featured_image !== 'undefined' && variant.featured_image !== null ) {
variantImage = variant.featured_image.src.split('?')[0].replace(/http(s)?:/,'');
variantImages[variantImage] = variantImages[variantImage] || {};
if (typeof variantImages[variantImage]["option-0"] === 'undefined') {
variantImages[variantImage]["option-0"] = "Lemon";
}
else {
var oldValue = variantImages[variantImage]["option-0"];
if ( oldValue !== null && oldValue !== "Lemon" ) {
variantImages[variantImage]["option-0"] = null;
}
}
}
productOptions.push(variant);
variant = {"id":12321739767844,"title":"Lemon 24-Pack","option1":"Lemon 24-Pack","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Urban Roots Lemon Lip Balm - Lemon 24-Pack","public_title":"Lemon 24-Pack","options":["Lemon 24-Pack"],"price":12500,"weight":953,"compare_at_price":14500,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]};
if ( typeof variant.featured_image !== 'undefined' && variant.featured_image !== null ) {
variantImage = variant.featured_image.src.split('?')[0].replace(/http(s)?:/,'');
variantImages[variantImage] = variantImages[variantImage] || {};
if (typeof variantImages[variantImage]["option-0"] === 'undefined') {
variantImages[variantImage]["option-0"] = "Lemon 24-Pack";
}
else {
var oldValue = variantImages[variantImage]["option-0"];
if ( oldValue !== null && oldValue !== "Lemon 24-Pack" ) {
variantImages[variantImage]["option-0"] = null;
}
}
}
productOptions.push(variant);