$('#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 Программа дня
\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-145-145-145-1', paths: {"preview_rgba-145-145-145-1_full_":"https://kvdshop.com/uploads/product_asset/image/5098/full_dress_code_630T%D0%95420.png","preview_rgba-145-145-145-1_slider_":"https://kvdshop.com/uploads/product_asset/image/5098/slider_dress_code_630T%D0%95420.png","preview_rgba-145-145-145-1_thumb_":"https://kvdshop.com/uploads/product_asset/image/5098/thumb_dress_code_630T%D0%95420.png","preview_rgba-145-145-145-1_thumb_related_products_":"https://kvdshop.com/uploads/product_asset/image/5098/thumb_related_products_dress_code_630T%D0%95420.png","preview_rgba-145-145-145-1_recently_viewed_":"https://kvdshop.com/uploads/product_asset/image/5098/recently_viewed_dress_code_630T%D0%95420.png","regular_rgba-145-145-145-1_full_0":"https://kvdshop.com/uploads/product_asset/regular_image/5099/full_dress_code_close_up_680x440.png","regular_rgba-145-145-145-1_slider_0":"https://kvdshop.com/uploads/product_asset/regular_image/5099/slider_dress_code_close_up_680x440.png","regular_rgba-145-145-145-1_full_1":"https://kvdshop.com/uploads/product_asset/regular_image/5100/full____-T%D0%90_____-_-T%D0%92_-__T%D0%9C_-_-_dress_code_set_680x440.png","regular_rgba-145-145-145-1_slider_1":"https://kvdshop.com/uploads/product_asset/regular_image/5100/slider____-T%D0%90_____-_-T%D0%92_-__T%D0%9C_-_-_dress_code_set_680x440.png"}, foil_paths: {}, animation_paths: {} }, [], ["rgba-145-145-145-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; });