Kim_555
Создатель
- Регистрация
- 24 Авг 2014
- Сообщения
- 29
- Реакции
- 6
- Автор темы
- #11
Нашел в Для просмотра ссылки Войди или Зарегистрируйсяинфо, думаю что она будет актуальной для 1,7 версии. Отпишитесь кто попробовал.
========ЦИТАТА==============================================================
I allow myself to answer you because there is not much information
I finally managed to remove the "errors" but not the warnings
by editing the product.tpl file that is located
/ themes / OURCHILDTHEME / templates / catalog / _partials / thumbnails /product.tpl
with the following code:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
{**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* Для просмотра ссылки Войдиили Зарегистрируйся
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to Для просмотра ссылки Войдиили Зарегистрируйся for more information.
*
* @AUTHOR PrestaShop SA <contact@prestashop.com>
* @CopyRight 2007-2018 PrestaShop SA
* @license Для просмотра ссылки Войдиили Зарегистрируйся Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='product_miniature_item'}
<article class="product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="Для просмотра ссылки Войдиили Зарегистрируйся">
<meta itemprop="image" content="{$product.cover.large.url}" />
<meta itemprop="description" content="{$product.manufacturer_name} {$product.name}" />
<meta itemprop="sku" content="{$product.reference_to_display}" />
<div itemprop="offers" itemtype="Для просмотра ссылки Войдиили Зарегистрируйся" itemscope>
<meta itemprop="url" content="{$product.url}" />
<meta itemprop="availability" content="Для просмотра ссылки Войдиили Зарегистрируйся" />
<meta itemprop="priceCurrency" content="{$currency.iso_code}" />
{if $product.condition == 'new'}
<meta itemprop="itemCondition" content="new" />
{else if $product.condition == 'used'}
<meta itemprop="itemCondition" content="used" />
{else}
<meta itemprop="itemCondition" content="refurbished" />
{/if}
<meta itemprop="price" content="{$product.price_amount}" />
<div itemprop="seller" itemtype="Для просмотра ссылки Войдиили Зарегистрируйся" itemscope>
<meta itemprop="name" content="{$shop.name}" />
</div>
</div>
<div itemprop="brand" itemtype="Для просмотра ссылки Войдиили Зарегистрируйся" itemscope>
<meta itemprop="name" content="{$product.manufacturer_name}" />
</div>
<div class="thumbnail-container">
{block name='product_thumbnail'}
{if $product.cover}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<img
src = "{$product.cover.bySize.home_default.url}"
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
data-full-size-image-url = "{$product.cover.large.url}"
>
</a>
{else}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<img
src = "{$urls.no_picture_image.bySize.home_default.url}"
>
</a>
{/if}
{/block}
<div class="product-description">
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
to put on top of
<div class="product-description">
which becomes line 69
I hope it can help you.
cordially
========КОНЕЦ ЦИТАТЫ==============================================================
I allow myself to answer you because there is not much information
I finally managed to remove the "errors" but not the warnings
by editing the product.tpl file that is located
/ themes / OURCHILDTHEME / templates / catalog / _partials / thumbnails /product.tpl
with the following code:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
{**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* Для просмотра ссылки Войди
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to Для просмотра ссылки Войди
*
* @AUTHOR PrestaShop SA <contact@prestashop.com>
* @CopyRight 2007-2018 PrestaShop SA
* @license Для просмотра ссылки Войди
* International Registered Trademark & Property of PrestaShop SA
*}
{block name='product_miniature_item'}
<article class="product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}" itemscope itemtype="Для просмотра ссылки Войди
<meta itemprop="image" content="{$product.cover.large.url}" />
<meta itemprop="description" content="{$product.manufacturer_name} {$product.name}" />
<meta itemprop="sku" content="{$product.reference_to_display}" />
<div itemprop="offers" itemtype="Для просмотра ссылки Войди
<meta itemprop="url" content="{$product.url}" />
<meta itemprop="availability" content="Для просмотра ссылки Войди
<meta itemprop="priceCurrency" content="{$currency.iso_code}" />
{if $product.condition == 'new'}
<meta itemprop="itemCondition" content="new" />
{else if $product.condition == 'used'}
<meta itemprop="itemCondition" content="used" />
{else}
<meta itemprop="itemCondition" content="refurbished" />
{/if}
<meta itemprop="price" content="{$product.price_amount}" />
<div itemprop="seller" itemtype="Для просмотра ссылки Войди
<meta itemprop="name" content="{$shop.name}" />
</div>
</div>
<div itemprop="brand" itemtype="Для просмотра ссылки Войди
<meta itemprop="name" content="{$product.manufacturer_name}" />
</div>
<div class="thumbnail-container">
{block name='product_thumbnail'}
{if $product.cover}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<img
src = "{$product.cover.bySize.home_default.url}"
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
data-full-size-image-url = "{$product.cover.large.url}"
>
</a>
{else}
<a href="{$product.url}" class="thumbnail product-thumbnail">
<img
src = "{$urls.no_picture_image.bySize.home_default.url}"
>
</a>
{/if}
{/block}
<div class="product-description">
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
to put on top of
<div class="product-description">
which becomes line 69
I hope it can help you.
cordially
========КОНЕЦ ЦИТАТЫ==============================================================
Последнее редактирование модератором: