$("#pprice").html('starting: $234.99'); $("#pcart_wrap").html(''); $("#pcart_wrap").hide(); $("#pcart_wrap").html('
Add to cart
'); $("#pselect_210000048520").attr("style","padding-bottom: 15px"); $("#pselect_210000048520").html(''); $("#tab_210000048520").html('
 Item #DescriptionLengthPowerLine WeightSectionsLure WeightHandlePriceQuantity 
\"OkumaPCHP-S-761MHOkuma PCHP-S-761MH PCH Spinning Popping Rod7ft 6inM40-60 lbs1-pcs1-6 ozTPE
$234.99
+ Add to Cart
+ Add to Cart
Shipping on this item is Free!
 In stock (1)+ Add to Wish List
\"OkumaPCHP-S-761HOkuma PCHP-S-761H PCH Spinning Popping Rod7ft 6inMH50-80 lbs1-pcs2-8 ozTPE
$234.99
+ Add to Cart
Shipping on this item is Free!
 Out of stock+ Add to Wish List
\"OkumaPCHP-S-761XHOkuma PCHP-S-761XH PCH Spinning Popping Rod7ft 6inH60-100 lbs1-pcs2-10 ozTPE
$234.99
+ Add to Cart
Shipping on this item is Free!
 Out of stock+ 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 - BACKORDER"); } } $("#pcart_wrap").show(); } }