$('#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 Посадочная карта
\n Номер стола
\n Меню
\n Свадебное приглашение №2
\n Свадебное приглашение №1
\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-0-0-1-1', paths: {"preview_rgba-0-0-1-1_full_":"https://kvdshop.com/uploads/product_asset/image/5366/full_map--630T%D0%95420.png","preview_rgba-0-0-1-1_slider_":"https://kvdshop.com/uploads/product_asset/image/5366/slider_map--630T%D0%95420.png","preview_rgba-0-0-1-1_thumb_":"https://kvdshop.com/uploads/product_asset/image/5366/thumb_map--630T%D0%95420.png","preview_rgba-0-0-1-1_thumb_related_products_":"https://kvdshop.com/uploads/product_asset/image/5366/thumb_related_products_map--630T%D0%95420.png","preview_rgba-0-0-1-1_recently_viewed_":"https://kvdshop.com/uploads/product_asset/image/5366/recently_viewed_map--630T%D0%95420.png","regular_rgba-0-0-1-1_full_0":"https://kvdshop.com/uploads/product_asset/regular_image/5367/full_map-close-up-680x440.png","regular_rgba-0-0-1-1_slider_0":"https://kvdshop.com/uploads/product_asset/regular_image/5367/slider_map-close-up-680x440.png","regular_rgba-0-0-1-1_full_1":"https://kvdshop.com/uploads/product_asset/regular_image/5368/full____-T%D0%90_____-_-T%D0%92_-__T%D0%9C_-_--map-set-680x440.png","regular_rgba-0-0-1-1_slider_1":"https://kvdshop.com/uploads/product_asset/regular_image/5368/slider____-T%D0%90_____-_-T%D0%92_-__T%D0%9C_-_--map-set-680x440.png"}, foil_paths: {}, animation_paths: {} }, [], ["rgba-0-0-1-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; });