$('#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/5106/full_program_420x227.png","preview_rgba-145-145-145-1_slider_":"https://kvdshop.com/uploads/product_asset/image/5106/slider_program_420x227.png","preview_rgba-145-145-145-1_thumb_":"https://kvdshop.com/uploads/product_asset/image/5106/thumb_program_420x227.png","preview_rgba-145-145-145-1_thumb_related_products_":"https://kvdshop.com/uploads/product_asset/image/5106/thumb_related_products_program_420x227.png","preview_rgba-145-145-145-1_recently_viewed_":"https://kvdshop.com/uploads/product_asset/image/5106/recently_viewed_program_420x227.png","regular_rgba-145-145-145-1_full_0":"https://kvdshop.com/uploads/product_asset/regular_image/5107/full_program_backer_options_680x440.png","regular_rgba-145-145-145-1_slider_0":"https://kvdshop.com/uploads/product_asset/regular_image/5107/slider_program_backer_options_680x440.png","regular_rgba-145-145-145-1_full_1":"https://kvdshop.com/uploads/product_asset/regular_image/5108/full_program_close_up_680x440.png","regular_rgba-145-145-145-1_slider_1":"https://kvdshop.com/uploads/product_asset/regular_image/5108/slider_program_close_up_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; });