jQuery(function($) { var hotinfo_config = {"id":"250","0":"250","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","enabled":"1","2":"1","fixed":"1","3":"1","clientdisable":"0","4":"0","timeshowed":"5000","5":"5000","bottom_position":"0","6":"0","bg_color":"rgb(0, 0, 0)","7":"rgb(0, 0, 0)","text_color":"rgb(255, 255, 255)","8":"rgb(255, 255, 255)","font_size":"10","9":"10","text_wrap":"wrap","10":"wrap","date_created":"2020-12-22 16:48:35","11":"2020-12-22 16:48:35"}; var hotinfo_phrases = [{"id":"1547","0":"1547","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83d\ude9b WYSY\u0141KA W 24h","2":"\ud83d\ude9b WYSY\u0141KA W 24h","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"1","5":"1","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"100\",}","10":"{\"PLN\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2021-03-25 23:18:30","14":"2021-03-25 23:18:30"},{"id":"3397","0":"3397","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"PROMOCJE \ud83c\udf89Sprawd\u017a...","2":"PROMOCJE \ud83c\udf89Sprawd\u017a...","phrase_link":"https:\/\/e-floor.com.pl\/Swiateczne_PROMOCJE","3":"https:\/\/e-floor.com.pl\/Swiateczne_PROMOCJE","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"100\",}","10":"{\"PLN\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2022-12-22 11:11:10","14":"2022-12-22 11:11:10"},{"id":"3798","0":"3798","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\u2764\ufe0f Walentynki -10% kod: LOVE ","2":"\u2764\ufe0f Walentynki -10% kod: LOVE ","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"100\",}","10":"{\"PLN\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-02-14 11:33:04","14":"2023-02-14 11:33:04"},{"id":"3965","0":"3965","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83c\udf38 Wyj\u0105tkowy RABAT -8% *na wybrane produkty ZOBACZ...","2":"\ud83c\udf38 Wyj\u0105tkowy RABAT -8% *na wybrane produkty ZOBACZ...","phrase_link":"https:\/\/e-floor.com.pl\/Dzien_Kobiet_Wyjatkowy_Rabat","3":"https:\/\/e-floor.com.pl\/Dzien_Kobiet_Wyjatkowy_Rabat","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"100\",\"EUR\":\"100\",}","10":"{\"PLN\":\"100\",\"EUR\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-03-07 17:45:24","14":"2023-03-07 17:45:24"},{"id":"3976","0":"3976","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":" Weekend DARMOWEJ DOSTAWY \ud83d\ude80","2":" Weekend DARMOWEJ DOSTAWY \ud83d\ude80","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic_counter","7":"basic_counter","counter_position":"before_phrase","8":"before_phrase","counter_date":"2023-03-13 09:00:00.000000","9":"2023-03-13 09:00:00.000000","freeship_value":"{\"PLN\":\"100\",\"EUR\":\"100\",}","10":"{\"PLN\":\"100\",\"EUR\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-03-08 10:01:25","14":"2023-03-08 10:01:25"},{"id":"4320","0":"4320","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83d\ude9b Darmowa Dostawa 28.04 - 1.05 ","2":"\ud83d\ude9b Darmowa Dostawa 28.04 - 1.05 ","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"100\",\"EUR\":\"100\",}","10":"{\"PLN\":\"100\",\"EUR\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-04-28 07:58:14","14":"2023-04-28 07:58:14"},{"id":"4518","0":"4518","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\u2764\ufe0f DZIE\u0143 TATY darmowa dostawa kod: TATA","2":"\u2764\ufe0f DZIE\u0143 TATY darmowa dostawa kod: TATA","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"100\",\"EUR\":\"100\",}","10":"{\"PLN\":\"100\",\"EUR\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-05-26 08:37:46","14":"2023-05-26 08:37:46"},{"id":"4653","0":"4653","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83d\ude9b Darmowa Dostawa z ORLEN Paczka","2":"\ud83d\ude9b Darmowa Dostawa z ORLEN Paczka","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"100\",\"EUR\":\"100\",}","10":"{\"PLN\":\"100\",\"EUR\":\"100\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-06-26 16:57:02","14":"2023-06-26 16:57:02"},{"id":"5216","0":"5216","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"PROMOCJE tylko dla cwanych LISK\u00d3W szukaj oznacze\u0144 \ud83e\udd8a i baw si\u0119 razem z nami!","2":"PROMOCJE tylko dla cwanych LISK\u00d3W szukaj oznacze\u0144 \ud83e\udd8a i baw si\u0119 razem z nami!","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-10-11 13:39:19","14":"2023-10-11 13:39:19"},{"id":"5272","0":"5272","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83d\ude9b Darmowa dostawa na produkty z kategorii DYWANY oraz WYCIERACZKI z kodem: DW23","2":"\ud83d\ude9b Darmowa dostawa na produkty z kategorii DYWANY oraz WYCIERACZKI z kodem: DW23","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-10-26 16:10:06","14":"2023-10-26 16:10:06"},{"id":"5485","0":"5485","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\u274cBLACK WEEKEND\u274c DARMOWA dostawa na wszystko!","2":"\u274cBLACK WEEKEND\u274c DARMOWA dostawa na wszystko!","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic_counter","7":"basic_counter","counter_position":"before_phrase","8":"before_phrase","counter_date":"2023-11-27 23:59:00.000000","9":"2023-11-27 23:59:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-11-21 14:43:24","14":"2023-11-21 14:43:24"},{"id":"5684","0":"5684","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83c\udf85Tw\u00f3j prezent na Miko\u0142ajki! Darmowa dostawa na wszystkie DYWANY \ud83c\udf81","2":"\ud83c\udf85Tw\u00f3j prezent na Miko\u0142ajki! Darmowa dostawa na wszystkie DYWANY \ud83c\udf81","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic_counter","7":"basic_counter","counter_position":"before_phrase","8":"before_phrase","counter_date":"2023-12-06 00:50:00.000000","9":"2023-12-06 00:50:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-12-06 08:24:11","14":"2023-12-06 08:24:11"},{"id":"5685","0":"5685","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83c\udf85Tw\u00f3j prezent na Miko\u0142ajki! Darmowa dostawa na wszystkie DYWANY\ud83c\udf81","2":"\ud83c\udf85Tw\u00f3j prezent na Miko\u0142ajki! Darmowa dostawa na wszystkie DYWANY\ud83c\udf81","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic_counter","7":"basic_counter","counter_position":"before_phrase","8":"before_phrase","counter_date":"2023-12-06 23:58:00.000000","9":"2023-12-06 23:58:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-12-06 08:24:13","14":"2023-12-06 08:24:13"},{"id":"5739","0":"5739","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\u2b50\ufe0f Inwentaryzacja 27-30.12 czas wysy\u0142ki niekt\u00f3rych produkt\u00f3w mo\u017ce si\u0119 wyd\u0142u\u017cy\u0107 do 5 dni roboczych. Za utrudnienia przepraszamy.","2":"\u2b50\ufe0f Inwentaryzacja 27-30.12 czas wysy\u0142ki niekt\u00f3rych produkt\u00f3w mo\u017ce si\u0119 wyd\u0142u\u017cy\u0107 do 5 dni roboczych. Za utrudnienia przepraszamy.","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2023-12-15 15:29:46","14":"2023-12-15 15:29:46"},{"id":"6076","0":"6076","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83c\udf37 Wiosenna promocja! Rabat -10% na kategorie DYWANY","2":"\ud83c\udf37 Wiosenna promocja! Rabat -10% na kategorie DYWANY","phrase_link":"https:\/\/e-floor.com.pl\/Dywany","3":"https:\/\/e-floor.com.pl\/Dywany","phrase_targetblank":"1","4":"1","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic_counter","7":"basic_counter","counter_position":"before_phrase","8":"before_phrase","counter_date":"2024-03-26 23:55:00.000000","9":"2024-03-26 23:55:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2024-03-04 16:43:32","14":"2024-03-04 16:43:32"},{"id":"6151","0":"6151","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"Mamy ju\u017c 4 lata! \ud83c\udf89","2":"Mamy ju\u017c 4 lata! \ud83c\udf89","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2024-03-27 14:05:21","14":"2024-03-27 14:05:21"},{"id":"6152","0":"6152","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"Wysy\u0142ka! Informujemy ze czas dostawy mo\u017ce si\u0119 wyd\u0142u\u017cy\u0107.","2":"Wysy\u0142ka! Informujemy ze czas dostawy mo\u017ce si\u0119 wyd\u0142u\u017cy\u0107.","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2024-03-27 15:01:02","14":"2024-03-27 15:01:02"},{"id":"6175","0":"6175","shop_id":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","1":"eaa5e9f4647bd5ba1c9ca7dc230e0581da365ec5","phrase_text":"\ud83d\udc30 Weso\u0142ego Alleluja!","2":"\ud83d\udc30 Weso\u0142ego Alleluja!","phrase_link":"","3":"","phrase_targetblank":"0","4":"0","phrase_active":"0","5":"0","phrase_lang_id":"pl_PL","6":"pl_PL","hotinfo_mode":"basic","7":"basic","counter_position":"after_phrase","8":"after_phrase","counter_date":"0000-00-00 00:00:00.000000","9":"0000-00-00 00:00:00.000000","freeship_value":"{\"PLN\":\"\",\"EUR\":\"\",}","10":"{\"PLN\":\"\",\"EUR\":\"\",}","freeship_position":"after_phrase","11":"after_phrase","freeship_currency_text":"PLN","12":"PLN","freeship_freetext":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","13":"Gratulacje! Osi\u0105gn\u0105\u0142e\u015b pr\u00f3g darmowej dostawy!","date_added":"2024-03-29 15:49:09","14":"2024-03-29 15:49:09"}]; //przygotowanie zmiennych konfiguracyjnych var enabled = null; var fixed = null; var clientdisable = null; var bg_color = null; var text_color = null; var bottom_position = null; var timeshowed = null; var font_size = null; var text_wrap = null; $.each(hotinfo_config, function(index, value){ //each po tablicy z konfiguracja if(index == 'enabled')enabled=value; if(index == 'fixed')fixed=value; if(index == 'clientdisable')clientdisable=value; if(index == 'bg_color')bg_color=value; if(index == 'text_color')text_color=value; if(index == 'bottom_position')bottom_position=value; if(index == 'timeshowed')timeshowed=value; if(index == 'font_size')font_size=value; if(index == 'text_wrap')text_wrap=value; }); if(enabled == 1){ //jesli dodatek jest wlaczony //tworzenie elementu hotinfo i ustawienie podstawowej konfiguracji if(font_size==0){ font_size = 11; } var hotinfo_element = $('
').attr( { 'data-name': "maxsote_hotinfo" }).css( { "width": "100%", "padding": "10px 0", "color": text_color, "background": bg_color, "font-size": font_size+"pt", "text-align": "center", "font-weight": "600", "z-index": "1000", "top": "0", "cursor": "pointer", "position" : "relative", "box-sizing" : "initial" } ); //sprawdzenie czy istnieje w cookie zmienna sygnalizujaca wylaczenie przez uzytkownika var client_disabled = $.cookie("hotinfo_clientdisabled"); if(typeof client_disabled == 'undefined'){ client_disabled = false; } //ustalenie pozycji statycznej hotinfo (gora czy dol strony) if(client_disabled==0 || clientdisable==0){ //jesli uzytkownik nie wylaczyl hotinfo lub nie ma mozliwosci wylaczenia przez uzytkownika if(bottom_position == 1) { hotinfo_element.appendTo("body"); } else { hotinfo_element.prependTo("body"); } } //fix nowa galeria shoper $(".js__gallery_new").css({ "z-index" : "1002" }); //ustalenie css czy hotinfo ma byc fixed if(fixed && fixed==1 && client_disabled==0){ if(bottom_position == 1) //jesli na dole to fixed od dolu { hotinfo_element.css({ "position" : "fixed", "bottom": "0px", "left" : "0px", "top" : "unset" }); $("body").css("padding-bottom","40px"); }else{ //jesli u gory to fixed od gory hotinfo_element.css({ "position" : "fixed", "top": "0px", "left" : "0px" }); $("body").css("padding-top","40px"); //fix basket-contain if($(".basket-contain").length){ var topval = parseInt($(".basket-contain").css('top')); topval += 40; $(".basket-contain").css('top',topval+"px"); } } } //ustalenie czy hotinfo moze zostac wylaczone przez uzytkownika if(clientdisable==1){ //jesli jest taka mozliwosc, dodaj przycisk zamknij $('').css( { "display" : "innline-block", "cursor" : "pointer", "color" : text_color, "font-size" : "22pt", "position" : "absolute", "top" : "50%", "right" : "8px", "border-color" : text_color, "margin" : "-15px 6px 2px 6px", "font-family" : "fontAwesome" } ).html('').attr("title","Wyłącz ten pasek na 1 dzień").appendTo('#MX_hotinfo'); $("#hotinfo_close").click(function(){ $("#MX_hotinfo").slideUp(); $("body").css("padding-bottom","0"); $("body").css("padding-top","0"); //fix basket-contain if($(".basket-contain").length && bottom_position!=1){ var topval = parseInt($(".basket-contain").css('top')); topval -= 40; $(".basket-contain").css('top',topval+"px"); } $.cookie('hotinfo_clientdisabled',1,{path: '/', expires : 1}); }); $(".k_phrase").css("padding","0 30px 0 0"); } //pobieranie szerokości okna i ustalenie maksymalnej szerokosci fraz //var width = $(".container").outerWidth(); //if(!width || width==0 || width=='undefined'){ // width = 1200; //} //sprawdzenie czy jest zawijanie do kolejnej linii if(text_wrap=="wrap"){ //zawijanie tekstu $('
').css( { "width" : "88%", "margin" : "0 6%", "text-align" : "center", "white-space" : "wrap", "max-height" : "unset", "line-height": "150%" } ).appendTo('#MX_hotinfo'); $("MX_hotinfo").css("height","auto"); } else{ //po staremu $('
').css( { "width" : "88%", "margin" : "0 6%", "text-align" : "center", "white-space" : "nowrap", "text-overflow" : "ellipsis", "overflow" : "hidden", "max-height" : "unset", "line-height": "150%" } ).appendTo('#MX_hotinfo'); //obsługa RWD if($(window).width() < 600){ $("#MX_phrases").css({ "width" : "78%", "margin" : "0 11%" }); //fix search $("form.search_open").css("margin-top","40px"); } } if($(window).width() < 600){ $("#MX_hotinfo").css("z-index","20"); } //funkcja do licznika interval = setInterval(MxTimer, 1000); function MxTimer () { $('.mx_timer').each(function(index, item){ let date = new Date($(item).data('time').replace(/-/g, "/")); let time = date.getTime() - new Date().getTime(); if (time <= 0) { clearInterval(interval); $(item).find('.mx_timer_days .mx_timer_value').html('0'); $(item).find('.mx_timer_hours .mx_timer_value').html('00'); $(item).find('.mx_timer_minutes .mx_timer_value').html('00'); $(item).find('.mx_timer_seconds .mx_timer_value').html('00'); //kod własny $('.mx_flashsale .mx_counter .mx_head').html('Odśwież stronę aby zobaczyć nowy Flash Sale'); return; } let seconds = Math.floor(time / 1000); let minutes = Math.floor(seconds / 60); let hours = Math.floor(minutes / 60); let days = Math.floor(hours / 24); if ($(item).find('.mx_timer_days').length == 0) { $(item).find('.mx_timer_hours .mx_timer_value').html(('0'+hours).slice(-Math.max(2, hours.toString().length))); } else { $(item).find('.mx_timer_days .mx_timer_value').html(days); $(item).find('.mx_timer_hours .mx_timer_value').html(('0'+hours%24).slice(-2)); } $(item).find('.mx_timer_minutes .mx_timer_value').html(('0'+minutes%60).slice(-2)); $(item).find('.mx_timer_seconds .mx_timer_value').html(('0'+seconds%60).slice(-2)); }); } //populacja hotinfo frazami //pobranie obecnego jezyka function APIloader() { if(!window.frontAPI) { setTimeout(APIloader,0); } else { var current_lang = Shop.lang.name; $.each(hotinfo_phrases, function(index, value){ //each po tablicy z konfiguracja if(value['phrase_active']==1 && value['phrase_lang_id']==current_lang){ if(text_wrap=="wrap"){ //zawijanie tekstu $('').html(value['phrase_text']).css( { "width" : "88%", "margin" : "0 6%", "color" : text_color, "text-align" : "center", "white-space" : "wrap", "max-height" : "unset", "line-height": "150%", } ).addClass("hotinfo_phrase_"+index).appendTo('#MX_phrases') $("#MX_hotinfo").css("height","auto"); }else{ $('').html(value['phrase_text']).css( { "width" : "88%", "color" : text_color, "margin" : "0 6%", "text-align" : "center", "white-space" : "nowrap", "text-overflow" : "ellipsis", "overflow" : "hidden", "max-height" : "unset" }).addClass("hotinfo_phrase_"+index).appendTo('#MX_phrases') } } if(!value['phrase_link']==""){ //jesli link nie jest pusty $(".hotinfo_phrase_"+index).attr({ "href": value['phrase_link'] }) } if(!value['phrase_link']=="" && value['phrase_targetblank']==1){ //jesli link nie jest pusty i ma otworzyc w nowej karcie $(".hotinfo_phrase_"+index).attr({ "target": "_blank" }) } //tryb z licznikiem do dowolnej daty if(value['hotinfo_mode']=="basic_counter"){ var counter_position = value['counter_position']; var counter_date = value['counter_date']; let timer = $('
'); if(Shop.lang.name == 'en_GB' || Shop.lang.name == 'en_US'){ timer.append('0 days '); }else{ timer.append('0 dni '); } timer.append('0:'); timer.append('0:'); timer.append('0'); timer.css( { "display" : "inline-block", "padding" : "0px 0px 0px 10px;", "text-align" : "left" }); $(".mx_timer_label").css("padding","0 5px"); if(counter_position=="after_phrase"){ timer.appendTo(".hotinfo_phrase_"+index); }else if(counter_position=="before_phrase"){ timer.prependTo(".hotinfo_phrase_"+index); $(".mx_timer").css("margin-right","5px"); } MxTimer(); } //tryb z licznikiem do darmowej wysylki if(value['hotinfo_mode']=="freeshipping"){ let freeship_array = $.parseJSON(value['freeship_value'].slice(0,-2)+"}"); let current_currency_freeshipval = parseFloat(freeship_array[Shop.values.currency]); let freeship_position = value['freeship_position']; //var html_freeship = $(''+freeship_value+''+freeship_currency_text+''); var html_freeship = ''+current_currency_freeshipval+' '+Shop.values.currency+''; if(freeship_position=="after_phrase"){ $(".hotinfo_phrase_"+index).html($(".hotinfo_phrase_"+index).html()+" "+html_freeship); }else if(freeship_position=="before_phrase"){ $(".hotinfo_phrase_"+index).html(html_freeship+" "+$(".hotinfo_phrase_"+index).html()); } } }); } } APIloader(); //obsluga zawijania tekstu $(window).resize(function(){ let hotinfo_height = $("#MX_hotinfo").outerHeight(true); if(fixed==1){ if(bottom_position == 1) //jesli na dole to fixed od dolu { $("body").css("padding-bottom",hotinfo_height+"px"); }else{ $("body").css("padding-top",hotinfo_height+"px"); } } }); let hotinfo_height_initial = $("#MX_hotinfo").outerHeight(true); if(fixed==1){ if(bottom_position == 1) //jesli na dole to fixed od dolu { $("body").css("padding-bottom",hotinfo_height_initial+"px"); }else{ $("body").css("padding-top",hotinfo_height_initial+"px"); } } $("#MX_hotinfo").css("height","auto"); setTimeout(function(){ $(window).trigger("resize"); },200); //obsluga a'la slick var checkExist = setInterval(function() { if ($('.k_phrases > a:first').length) { $('.k_phrases > a:first').show(); //pokaz pierwszy element var counter = 0; $(".k_phrase").each(function(){ //sprawdz ile jest elementow hotinfo counter++; }); if(counter>1){ //jesli jest wiecej niz 1 element to uruchom karuzele setInterval(function() { $('.k_phrases > a:first') .fadeOut(200) .next() .delay(200) .fadeIn(200) .end() .appendTo('.k_phrases'); }, timeshowed); } clearInterval(checkExist); } }, 100); //obsluga licznika do darmowej dostawy function k_recalculate_freeship(freeship_value){ var diff = false; var freeship = parseFloat(freeship_value); var basket = frontAPI.getBasketInfo({ lang: Shop.lang.name, currency: Shop.values.currency }); let basket_val = basket["basket"]["sum_products_float"]; diff = freeship - basket_val; if(isNaN(diff)){ return false; }else if(diff<=0){ return -1; }else{ return diff.toFixed(2).toString().replace(".",","); } } var check_freeship_hotinfo = setInterval(function() { if ($('.k_hotinfo_freeship_value').length) { $(".k_hotinfo_freeship_value").each(function(){ var diffrence = k_recalculate_freeship($(this).text().replace(",",".")); if(diffrence==-1){//prog przekroczony handle = $(".k_hotinfo_freeship").data("freehandle"); $(handle).html($(".k_hotinfo_freeship").data("freetext")); }else if(diffrence==false){//error $(this).text(""); console.log("[HOTINFO]Error on recalculating free Shipping"); }else{//podliczenie progu poprawne $(this).text(diffrence); } }); clearInterval(check_freeship_hotinfo); } }, 500); } //end if enabled });