false
false
none
flase
below
true
Color
1
var variantImages = {},
thumbnails,
variant,
variantImage,
optionValue,
productOptions = [];
variant = {"id":8587081613348,"title":"Heathy Grey Snap Buckle Back","option1":"Heathy Grey Snap Buckle Back","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":2922327638052,"product_id":801298645028,"position":3,"created_at":"2018-07-04T19:04:34-04:00","updated_at":"2018-07-04T19:04:34-04:00","alt":null,"width":2048,"height":2048,"src":"\/\/urbanrootscbd.com\/cdn\/shop\/products\/UR_Snapback_03.jpg?v=1530745474","variant_ids":[8587081613348]},"available":true,"name":"Urban Roots Hemp Hat - Heathy Grey Snap Buckle Back","public_title":"Heathy Grey Snap Buckle Back","options":["Heathy Grey Snap Buckle Back"],"price":799,"weight":159,"compare_at_price":1500,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":1216405012516,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2048,"width":2048,"src":"\/\/urbanrootscbd.com\/cdn\/shop\/products\/UR_Snapback_03.jpg?v=1530745474"}},"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"] = "Heathy Grey Snap Buckle Back";
}
else {
var oldValue = variantImages[variantImage]["option-0"];
if ( oldValue !== null && oldValue !== "Heathy Grey Snap Buckle Back" ) {
variantImages[variantImage]["option-0"] = null;
}
}
}
productOptions.push(variant);
variant = {"id":8587081646116,"title":"Tan I Heart Hemp Buckle Back","option1":"Tan I Heart Hemp Buckle Back","option2":null,"option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":2922331537444,"product_id":801298645028,"position":6,"created_at":"2018-07-04T19:06:25-04:00","updated_at":"2018-07-04T19:06:25-04:00","alt":null,"width":2048,"height":2048,"src":"\/\/urbanrootscbd.com\/cdn\/shop\/products\/UR_TruckerHat_03.jpg?v=1530745585","variant_ids":[8587081646116]},"available":true,"name":"Urban Roots Hemp Hat - Tan I Heart Hemp Buckle Back","public_title":"Tan I Heart Hemp Buckle Back","options":["Tan I Heart Hemp Buckle Back"],"price":799,"weight":159,"compare_at_price":1500,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":1216406487076,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2048,"width":2048,"src":"\/\/urbanrootscbd.com\/cdn\/shop\/products\/UR_TruckerHat_03.jpg?v=1530745585"}},"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"] = "Tan I Heart Hemp Buckle Back";
}
else {
var oldValue = variantImages[variantImage]["option-0"];
if ( oldValue !== null && oldValue !== "Tan I Heart Hemp Buckle Back" ) {
variantImages[variantImage]["option-0"] = null;
}
}
}
productOptions.push(variant);