Alekseys (30 Сентябрь 2014 - 21:02) писал:
Здравствуйте. Зайдите в HTML и замените
<div class="cms-index-index">на
<div class="cms-index-index" style="display: none;">затем в Сайт -> Редактор шаблонов -> Товары перед
{% IF CATEGORY_DESCRIPTION %} <div class="col-main" style="margin-top:10px;"> <div class="htmlDataBlock span7" style="*padding: 0px;"> {CATEGORY_DESCRIPTION} </div> </div> {% ENDIF %} <!-- Короткое SEO описание категории --> {% IF CATEGORY_SEO_DESCRIPTION_SHORT %} <div class="col-main" style="margin-top:10px;"> <div class="htmlDataBlock"> {CATEGORY_SEO_DESCRIPTION_SHORT} </div> </div> {% ENDIF %} {% IF CATEGORY_SEO_DESCRIPTION_LARGE %} <div class="col-main" style="margin-top:10px;"> <div class="htmlDataBlock"> {CATEGORY_SEO_DESCRIPTION_LARGE} </div> </div> {% ENDIF %}вставьте
Скрытый текст
{% IF index_page %} <div class="cms-index-index"> <div class="col-main" style="padding:0;"> <div class="row std"> <!-- Список товаров на главной --> {% IFNOT index_page_goods_empty %} <ul class="products-grid"> {% FOR index_page_goods %} <li class="span3 item {index_page_goods.index0 | is_divided("3","first","")} {index_page_goods.index | is_divided("3","last","")}"> <div class="product-box"> <div class="span12"> <a title="{index_page_goods.NAME}" href="{index_page_goods.URL_MIN_PRICE_NOW | url_amp}"> <div class="product-image" style="background: url('{% IF index_page_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_goods.IMAGE_SMALL}{% ENDIF %}') no-repeat center center; background-size: contain; /* IE8 */ -ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src='{% IF index_page_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_goods.IMAGE_SMALL}{% ENDIF %}',sizingMethod='scale')'\9; /* IE < 8 */ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( src='{% IF index_page_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_goods.IMAGE_SMALL}{% ENDIF %}', sizingMethod='scale')\9; background-image: none\9; /* IE ≤ 9.0 */"> </div></a> </div> <div class="quick-shop"> <div class="bg-quick-shop"> <form action="{CART_ADD_GOODS_MODIFICATION_URL | url_amp}" method="post" class="goodsListItemCatalogueAddToCartButton product-form-{index_page_goods.MIN_PRICE_NOW_ID}"> <div> <input type="hidden" name="hash" value="{HASH}" /> <input type="hidden" name="form[goods_from]" value="{index_page_goods.GOODS_FROM}" /> <input type="hidden" name="form[goods_mod_id]" value="{index_page_goods.MIN_PRICE_NOW_ID}" /> <a onclick="$('.product-form-{index_page_goods.MIN_PRICE_NOW_ID}').attr('rel', 'quick').submit();return false;" title="Быстро оформить заказ"> </a> </div> </form> </div> </div> <table style="width: 100%;"> <tr><td height="50" style="text-align: center"> <div class="product-name"> <h2><a title="{index_page_goods.NAME}" href="{index_page_goods.URL_MIN_PRICE_NOW | url_amp}" style="*height:;">{index_page_goods.NAME}</a></h2> </div> </td></tr> <tr><td height="50" style="text-align: center"> <button onclick="document.location='{index_page_goods.URL_MIN_PRICE_NOW | url_amp}';return false;" class="btn btn-success2" title="Узнать подробнее о «{index_page_goods.NAME}»" type="button">Подробнее</button> </td></tr> </table> </div> </li> {% ENDFOR index_page_goods %} </ul> {% ENDIF %} <!-- /Список товаров на главной --> <!-- Список новинок на главной --> {% IFNOT index_page_new_goods_empty %} <ul class="products-grid"> {% FOR index_page_new_goods %} <li class="span3 item {index_page_new_goods.index0 | is_divided("3","first","")} {index_page_new_goods.index | is_divided("3","last","")}"> <div class="product-box"> <div class="span12"> <a title="{index_page_new_goods.NAME}" href="{index_page_new_goods.URL_MIN_PRICE_NOW | url_amp}"> <div class="product-image" style="background: url('{% IF index_page_new_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_new_goods.IMAGE_SMALL}{% ENDIF %}') no-repeat center center; background-size: contain; /* IE8 */ -ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src='{% IF index_page_new_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_new_goods.IMAGE_SMALL}{% ENDIF %}',sizingMethod='scale')'\9; /* IE < 8 */ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( src='{% IF index_page_new_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_new_goods.IMAGE_SMALL}{% ENDIF %}', sizingMethod='scale')\9; background-image: none\9; /* IE ≤ 9.0 */"> </div> </a> </div> <div class="quick-shop"> <div class="bg-quick-shop"> <form action="{CART_ADD_GOODS_MODIFICATION_URL | url_amp}" method="post" class="goodsListItemCatalogueAddToCartButton product-form-{index_page_new_goods.MIN_PRICE_NOW_ID}"> <div> <input type="hidden" name="hash" value="{HASH}" /> <input type="hidden" name="form[goods_from]" value="{index_page_goods.GOODS_FROM}" /> <input type="hidden" name="form[goods_mod_id]" value="{index_page_goods.MIN_PRICE_NOW_ID}" /> <a onclick="$('.product-form-{index_page_goods.MIN_PRICE_NOW_ID}').attr('rel', 'quick').submit();return false;" title="Быстро оформить заказ"> </a> </div> </form> </div> </div> <table style="width: 100%;"> <tr><td height="50" style="text-align: center"> <h2 class="product-name"><a title="{index_page_new_goods.NAME}" href="{index_page_new_goods.URL_MIN_PRICE_NOW | url_amp}">{index_page_new_goods.NAME}</a></h2> </td></tr> <tr><td height="50" style="text-align: center"> <button onclick="document.location='{index_page_new_goods.URL_MIN_PRICE_NOW | url_amp}';return false;" class="btn btn-success2" title="Узнать подробнее о «{index_page_new_goods.NAME}»" type="button">Подробнее</button> </td></tr> </table> </div> </li> {% ENDFOR index_page_new_goods %} </ul> {% ENDIF %} <!-- /Список новинок на главной --> <!-- Список избранных товаров на главной --> {% IFNOT index_page_favorites_goods_empty %} <ul class="products-grid"> {% FOR index_page_favorites_goods %} <li class="span3 item {index_page_favorites_goods.index0 | is_divided("3","first","")} {index_page_favorites_goods.index | is_divided("3","last","")}"> <div class="product-box"> <div class="span12"> <a title="{index_page_favorites_goods.NAME}" href="{index_page_favorites_goods.URL_MIN_PRICE_NOW | url_amp}"> <div class="product-image" style="background: url('{% IF index_page_favorites_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_favorites_goods.IMAGE_SMALL}{% ENDIF %}') no-repeat center center; background-size: contain; /* IE8 */ -ms-filter:'progid:DXImageTransform.Microsoft.AlphaImageLoader(src='{% IF index_page_favorites_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_favorites_goods.IMAGE_SMALL}{% ENDIF %}',sizingMethod='scale')'\9; /* IE < 8 */ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( src='{% IF index_page_favorites_goods.IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-small.png{% ELSE %}{index_page_favorites_goods.IMAGE_SMALL}{% ENDIF %}', sizingMethod='scale')\9; background-image: none\9; /* IE ≤ 9.0 */"> </div> </a> </div> <div class="quick-shop"> <div class="bg-quick-shop"> <form action="{CART_ADD_GOODS_MODIFICATION_URL | url_amp}" method="post" class="goodsListItemCatalogueAddToCartButton product-form-{index_page_favorites_goods.MIN_PRICE_NOW_ID}"> <div> <input type="hidden" name="hash" value="{HASH}" /> <input type="hidden" name="form[goods_from]" value="{index_page_goods.GOODS_FROM}" /> <input type="hidden" name="form[goods_mod_id]" value="{index_page_goods.MIN_PRICE_NOW_ID}" /> <a onclick="$('.product-form-{index_page_favorites_goods.MIN_PRICE_NOW_ID}').attr('rel', 'quick').submit();return false;" title="Быстро оформить заказ"> </a> </div> </form> </div> </div> <table style="width: 100%;"> <tr><td height="50" style="text-align: center"> <h2 class="product-name"><a title="{index_page_favorites_goods.NAME}" href="{index_page_favorites_goods.URL_MIN_PRICE_NOW | url_amp}">{index_page_favorites_goods.NAME}</a></h2> </td></tr> <tr><td height="50" style="text-align: center"> <button onclick="document.location='{index_page_favorites_goods.URL_MIN_PRICE_NOW | url_amp}';return false;" class="btn btn-success2" title="Узнать подробнее о «{index_page_favorites_goods.NAME}»" type="button">Подробнее</button> </td></tr> </table> </div> </li> {% ENDFOR index_page_favorites_goods %} </ul> {% ENDIF %} <!-- /Список избранных товаров на главной --> </div> </div> </div> {% ENDIF %}