$("#tab_032054002846").html('
 Item #DescriptionPriceQuantity 
\"Danielson341-10Danielson 341-10 Surf Leaders 10#
$4.99
+ Add to Cart
+ Add to Cart
 In stock (11)+ Add to Wish List
\"Danielson341-15Danielson 341-15 Surf Leaders 15#
$5.29
+ Add to Cart
+ Add to Cart
 In stock (21)+ Add to Wish List
\"Danielson341-20Danielson 341-20 Surf Leaders 20#
$5.39
+ Add to Cart
+ Add to Cart
 In stock (11)+ Add to Wish List
\"Danielson341-30Danielson 341-30 Surf Leaders 30#
$6.99
+ Add to Cart
+ Add to Cart
 In stock (16)+ Add to Wish List
'); function ccchangeitem(itval){ var aval = itval.split("||"); var faction = 'https://www.anglerschoicetackle.com/cart/add/' + aval[1] + '/'; var invmsg = ''; var removeorderbtn = 0; if(aval[0] != '1'){ if(aval[4] > 0){ invmsg = ' In stock (' + aval[4] + ')'; }else{ if(aval[5] == 'indicator'){ invmsg = ' Available for Backorder'; }else{ invmsg = ' Out of stock'; removeorderbtn = 1; } } } if(aval[0] == '1'){ $('#pprice').html("starting: $" + aval[2]); $('#pmainimg').attr("src",aval[3]); $('#pmainimglink').attr("href",aval[3].replace("/400x400x2", "")); $('#cdisplayinv').html(""); $("#pcart_wrap").hide(); } if(aval[0] != '1'){ $('#pprice').html("$" + aval[2]); $('#pmainimg').attr("src",aval[3]); $('#pmainimglink').attr("href",aval[3].replace("/400x400x2", "")); $('#product_configure_form').attr("action",faction); $('#cdisplayinv').html(invmsg); if(removeorderbtn == 1){ $("#caddtocartbtn").hide(); }else{ $("#caddtocartbtn").show(); if(aval[5] == 'indicator' && aval[4] > 0){ $("#caddtocartbtn>span").html(" ADD TO CART"); }else{ $("#caddtocartbtn>span").html(" ADD TO CART"); } } $("#pcart_wrap").show(); } }