// loop through color variant
//match with variable used in template
// if inventory > 0, assign on sale = 1, sold out=0
// break after variable mismatch found
// loop through color variant
//match with variable used in template
// if inventory > 0, assign on sale = 1, sold out=0
// break after variable mismatch found