$('#product-popup-inner-content').replaceWith("
\n
\n
\n \n \n Схема проезда\n \n \n
\n

\n Ритм\n

\n\n
\n
\n \"Ритм\n
\n
\n\n
\n\n \n\n
\n
\n
\n
\n\n
\n \n
Палитра
\n \n \n \n
\n\n
\n \n
\n
Сопутствующие товары:
\n Свадебное приглашение №1
\n Программа дня
\n Карта дресс-кода
\n Посадочная карта
\n Номер стола
\n Меню
\n
\n\n\n
\n\n
\n
"); $('#product-popup-inner-content input').iCheck({ checkboxClass: 'icheckbox_minimal', radioClass: 'iradio_minimal', increaseArea: '20%' }); function selectBoxOptionFormat(state) { var originalOption = state.element; return "" + $(originalOption).data('foo') + "" + state.text + ""; } $(".relatedItemSelect").select2({ minimumResultsForSearch: -1, formatSelection: selectBoxOptionFormat, formatResult: selectBoxOptionFormat, dropdownCssClass: "itemSelectList" }); var prodPreviewShow = new window.ProductShow( { default_mask: '', default_color: 'rgba-111-116-120-1', paths: {"preview_rgba-111-116-120-1_full_":"https://kvdshop.com/uploads/product_asset/image/5134/full_map--630T%D0%95420.png","preview_rgba-111-116-120-1_slider_":"https://kvdshop.com/uploads/product_asset/image/5134/slider_map--630T%D0%95420.png","preview_rgba-111-116-120-1_thumb_":"https://kvdshop.com/uploads/product_asset/image/5134/thumb_map--630T%D0%95420.png","preview_rgba-111-116-120-1_thumb_related_products_":"https://kvdshop.com/uploads/product_asset/image/5134/thumb_related_products_map--630T%D0%95420.png","preview_rgba-111-116-120-1_recently_viewed_":"https://kvdshop.com/uploads/product_asset/image/5134/recently_viewed_map--630T%D0%95420.png","regular_rgba-111-116-120-1_full_0":"https://kvdshop.com/uploads/product_asset/regular_image/5135/full_map-close-up-680x440.png","regular_rgba-111-116-120-1_slider_0":"https://kvdshop.com/uploads/product_asset/regular_image/5135/slider_map-close-up-680x440.png","regular_rgba-111-116-120-1_full_1":"https://kvdshop.com/uploads/product_asset/regular_image/5136/full_2____-T%D0%90_____-_-T%D0%92_-__T%D0%9C_-_--map-set-680x440.png","regular_rgba-111-116-120-1_slider_1":"https://kvdshop.com/uploads/product_asset/regular_image/5136/slider_2____-T%D0%90_____-_-T%D0%92_-__T%D0%9C_-_--map-set-680x440.png"}, foil_paths: {}, animation_paths: {} }, [], ["rgba-111-116-120-1"], '#smallPicturePopup', '#bigPicturePopup img.main-product-image', 'full', false, '', '.product-popup-big' ); prodPreviewShow.init(); $("#smallPicturePopup a:first").addClass('active'); $('#smallPicturePopup a').on('click', function() { smallPicClick(this, '#smallPicturePopup a', '#bigPicturePopup img'); return false; });