Product added to cart successfully<\/div><\/div>"},"actions":{"add_to_wishlist_action":"add_to_wishlist","remove_from_wishlist_action":"remove_from_wishlist","reload_wishlist_and_adding_elem_action":"reload_wishlist_and_adding_elem","load_mobile_action":"load_mobile","delete_item_action":"delete_item","save_title_action":"save_title","save_privacy_action":"save_privacy","load_fragments":"load_fragments"},"nonce":{"add_to_wishlist_nonce":"0410376e55","remove_from_wishlist_nonce":"b9f801de26","reload_wishlist_and_adding_elem_nonce":"2891f22970","load_mobile_nonce":"78a54b4101","delete_item_nonce":"55d3148225","save_title_nonce":"5d1ff88849","save_privacy_nonce":"5428c744c1","load_fragments_nonce":"fbc7d8e399"},"redirect_after_ask_estimate":"","ask_estimate_redirect_url":"https:\/\/etegeethiopia.com"}; /* ]]> */ /* */ /* */ /* */ /* */ /*

{{{value}}}<\/p><\/div><\/a>","live_search_empty_msg":"Unable to find any products that match the current query","deal_countdown_text":{"days_text":"Days","hours_text":"Hours","mins_text":"Mins","secs_text":"Secs"},"typeahead_options":{"hint":false,"highlight":true},"offcanvas_mcs_options":{"axis":"y","theme":"minimal-dark","contentTouchScroll":100,"scrollInertia":1500},"compare_page_url":"https:\/\/etegeethiopia.com\/compare\/"}; /* ]]> */ /* */ /* */ /* */ /* */ /* */ jQuery(document).ready(($){ $('a').attr('target', '_parent'); var body = $('body'), redirect_to_cart = false; // close colorbox if redirect to cart is active after add to cart body.on( 'adding_to_cart', ( $thisbutton, data ) { if( wc_add_to_cart_params.cart_redirect_after_add == 'yes' ) { wc_add_to_cart_params.cart_redirect_after_add = 'no'; redirect_to_cart = true; } }); // remove add to cart button after added body.on('added_to_cart', ( ev, fragments, cart_hash, button ){ if( redirect_to_cart == true ) { // redirect parent.window.location = wc_add_to_cart_params.cart_url; return; } $('a').attr('target', '_parent'); // Replace fragments if ( fragments ) { $.each(fragments, (key, value) { $(key, window.parent.document).replaceWith(value); }); } }); });