0){
$('.clrLbl').text(colorName);
}
var selectedProduct = productInformation[key]['product']['handle'];
windowLoadFunctionCustom(selectedProduct);
// Example of rendering a specific product to a page that doesn't provide the productId in the DOM
window.ReChargeWidget.createWidget({ productId: productId , injectionParent: '.recharge-parent-class' });
setTimeout(function(){
if (geoLocationCode != "US"){
$(".rc-container-wrapper").remove();
$(".rc_container").css("display","none");
$(".recharge-parent-class").html("");
}
else{
$(".recharge-parent-class").css("display","block");
if( $('.recharge-parent-class').find('.rc_container_wrapper:visible').length > 0 ){
if( $('.shopify-product-form .rc_container_wrapper.rc_container_wrapper:visible').length > 1 ){
$('.recharge-parent-class').css('display', 'none');
}
}
}
if($("#rc-checkbox__1").length > 0){
$("#rc-checkbox__1").click(function(){
if($(this).prop("checked") == true){
$(".pdp-klarna-msg ").css("display","none");
}
else{
$(".pdp-klarna-msg ").css("display","");
}
});
}
}, 500);
// Change title and Url after js file load
var obj = { title: productInformation[key]['product']['handle'], url: productInformation[key]['product']['handle'] };
window.history.replaceState({}, '', obj.url);
document.title = productInformation[key]['product']['title'] + " - " + 'James Perse Los Angeles' ;
// for display selected product highlited
$("."+productId).addClass("active");
// Change for breadcrumb detail
$(".tt-breadcrumb li:nth-child(2) span").html(productInformation[key]['product']['titl