<!--

function update_item_data(thisForm) {
  unit_price = 0.00;
  unit_price_1 = 0.00;
  extended_price = 0.00;
  quantity = validate_quantity(thisForm.cart_item_quantity.value); 
  if (quantity > 0) {
    unit_price = thisForm.cart_item_unit_price.value;
	
	// Price modifiers go here
	if (thisForm.style.value == "Frio River 1932") {
	  if (thisForm.color[2].checked) { // Maroon short sleeve
        unit_price = 13.99;
  	  } else {
        unit_price = 17.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Frio River Racing") {
	  if (thisForm.size[4].checked) { // XXL
        unit_price = 16.99;
  	  } else {
        unit_price = 14.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Trey's Tube Shack") {
	  if (thisForm.size[4].checked) { // XXL
        unit_price = 15.99;
  	  } else {
        unit_price = 13.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Frio River Multicolor Basic Tee") {
	  if (thisForm.size[4].checked) { // XXL
        unit_price = 15.99;
  	  } else {
        unit_price = 13.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Frio River Splash") {
	  if (thisForm.size[4].checked) { // XXL
        unit_price = 15.99;
  	  } else {
        unit_price = 13.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Frio River Oval") {
	  if (thisForm.color[0].checked) { // Short Sleeve vs Long Sleeve
        unit_price = 15.99;
  	  } else if (thisForm.color[3].checked) {
        unit_price = 15.99;
  	  } else if (thisForm.color[4].checked) {
        unit_price = 15.99;
	  } else {
        unit_price = 21.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Happy Hollow Star Youth") {
	  if (thisForm.color[0].checked) { // Short Sleeve vs Long Sleeve
        unit_price = 9.99;
  	  } else if (thisForm.color[1].checked) {
        unit_price = 9.99;
	  } else {
        unit_price = 16.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Happy Hollow Star") {
	  if (thisForm.color[0].checked) { // Short Sleeve vs Long Sleeve
        unit_price = 13.99;
  	  } else if (thisForm.color[1].checked) {
        unit_price = 13.99;
	  } else {
        unit_price = 17.99;
	  }
	  if (thisForm.size[4].checked) { // XXL
        unit_price_1 = 2.00;
  	  } else {
        unit_price_1 = 0.00;
	  }
      unit_price = unit_price + unit_price_1;
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Frio River Wave") {
	  if (thisForm.color[0].checked) { // Ringer vs plain
        unit_price = 13.99;
  	  } else if (thisForm.color[1].checked) {
        unit_price = 13.99;
  	  } else if (thisForm.color[2].checked) {
        unit_price = 13.99;
	  } else {
        unit_price = 15.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Mudhouse Jar Candles") {
	  if (thisForm.size[0].checked) {
        unit_price = 11.99;
  	  } else if (thisForm.size[1].checked) {
        unit_price = 15.99;
	  } else {
        unit_price = 19.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	if (thisForm.style.value == "Mccalls Classic Jar Candles") {
	  if (thisForm.size[0].checked) {
        unit_price = 8.99;
  	  } else if (thisForm.size[1].checked) {
        unit_price = 15.99;
	  } else {
        unit_price = 19.99;
	  }
	  thisForm.cart_item_unit_price.value = unit_price;
	}
	
    extended_price = variable_round(unit_price * quantity,2);
    thisForm.cart_item_extended_price.value = format_to_dollars(extended_price);
  } else {
    thisForm.cart_item_extended_price.value = '0.00';
  }
  thisForm.cart_item_quantity.value = quantity;
}

//-->