Изменениям подверглись файлы ШАБЛОНА VAMSHOP:
В файлах:
--- templates --- vamshop --- index.html
--- templates --- vamshop --- comparison.php.html
--- templates --- vamshop --- product_info.php.html
Было:
<ul>
<li{$1}><a href="{$mainpage}"><span>{#text_mainpage#}</span></a></li>
{if $account}{if $smarty.session.customer_id}
<li{$2}><a href="{$account}"><span>{#link_account#}</span></a></li>
{/if}{/if}
<li{$3}><a href="{$cart}"><span>{#link_cart#}</span></a></li>
<li{$4}><a href="{$checkout}"><span>{#link_checkout#}</span></a></li>
{if $smarty.session.customer_id}
<li{$5}><a href="{$logoff}"><span>{#link_logoff#}</span></a></li>
{else}
<li{$6}><a href="{$login}"><span>{#link_login#}</span></a></li>
{/if}
</ul>
Стало:
<ul>
<li{$main_current}><a href="{$mainpage}"><span>{#text_mainpage#}</span></a></li>
{if $account}{if $smarty.session.customer_id}
<li{$account_current}><a href="{$account}"><span>{#link_account#}</span></a></li>
{/if}{/if}
<li{$cart_current}><a href="{$cart}"><span>{#link_cart#}</span></a></li>
<li{$checkout_current}><a href="{$checkout}"><span>{#link_checkout#}</span></a></li>
{if $smarty.session.customer_id}
<li{$logoff_current}><a href="{$logoff}"><span>{#link_logoff#}</span></a></li>
{else}
<li{$login_current}><a href="{$login}"><span>{#link_login#}</span></a></li>
{/if}
</ul>
В файле:
--- templates --- vamshop --- module --- account.html
Было:
<!-- Просмотренные товары -->
<div class="page">
<p>
{#title_viewed_products#}
</p>
{foreach name=history_products item=products_history from=$products_history}
<dl class="itemLastViewed">
<dt class="itemImage">
{if $products_history.PRODUCTS_IMAGE!=''}<a href="{$products_history.PRODUCTS_LINK}"><img src="{$products_history.PRODUCTS_IMAGE}" alt="{$products_history.PRODUCTS_NAME}" border="0" /></a>{/if}
</dt>
<dd class="itemDescription">
<a href="{$products_history.PRODUCTS_LINK}">{$products_history.PRODUCTS_NAME}</a>
</dd>
{if $products_history.REVIEWS_TOTAL > 0}<dd class="itemDescription"><span class="rating">{$smarty.const.TEXT_REVIEWS_RATING}: {$products_history.REVIEWS_TOTAL_RATING|number_format:2}</span>, <span class="reviews">{$smarty.const.TEXT_TOTAL_REVIEWS}: {$products_history.REVIEWS_TOTAL}</span></dd>{/if}
<dd class="itemDescriptionPrice">
{$products_history.PRODUCTS_PRICE}
</dd>
{if $products_history.PRODUCTS_VPE}
<dd class="itemDescription">
{$products_history.PRODUCTS_VPE}
</dd>
{/if}
<dd class="itemDescription">
{$products_history.PRODUCTS_TAX_INFO}{$products_history.PRODUCTS_SHIPPING_LINK}
</dd>
<dd class="itemDescription">
<a href="{$products_history.PRODUCTS_LINK}"></a><a href="{$products_history.PRODUCTS_CATEGORY_URL}">{#text_goto_cat#}</a>
</dd>
<dd class="itemDescription">
{$products_history.PRODUCTS_BUTTON_BUY_NOW}
</dd>
</dl>
{/foreach}
</div>
<div class="clear"></div>
<!-- /Просмотренные товары -->
Стало:
<!-- Просмотренные товары -->
<div class="page">
<p>
{#title_viewed_products#}
</p>
{foreach name=history_products item=products from=$products_history}
<dl class="itemLastViewed">
<dt class="itemImage">
{if $products_history.PRODUCTS_IMAGE!=''}<a href="{$products.PRODUCTS_LINK}"><img src="{$products.PRODUCTS_IMAGE}" alt="{$products.PRODUCTS_NAME}" border="0" /></a>{/if}
</dt>
<dd class="itemDescription">
<a href="{$products.PRODUCTS_LINK}">{$products.PRODUCTS_NAME}</a>
</dd>
{if $products_history.REVIEWS_TOTAL > 0}<dd class="itemDescription"><span class="rating">{$products.REVIEWS_STAR_RATING}</span>, <span class="reviews">{$smarty.const.TEXT_TOTAL_REVIEWS}: {$products.REVIEWS_TOTAL}</span></dd>{/if}
<dd class="itemDescriptionPrice">
{$products.PRODUCTS_PRICE}
</dd>
{if $products_history.PRODUCTS_VPE}
<dd class="itemDescription">
{$products.PRODUCTS_VPE}
</dd>
{/if}
<dd class="itemDescription">
{$products.PRODUCTS_TAX_INFO}{$products.PRODUCTS_SHIPPING_LINK}
</dd>
<dd class="itemDescription">
<a href="{$products.PRODUCTS_LINK}"></a><a href="{$products.PRODUCTS_CATEGORY_URL}">{#text_goto_cat#}</a>
</dd>
<dd class="itemDescription">
{$products.PRODUCTS_BUTTON_BUY_NOW}
</dd>
</dl>
{/foreach}
</div>
<div class="clear"></div>
<!-- /Просмотренные товары -->
В файлах:
--- templates --- vamshop --- module --- address_book_details.html
--- templates --- vamshop --- module --- checkout.html
--- templates --- vamshop --- module --- create_account.html
Было:
<script type="text/javascript" src="https://dadata.ru/static/js/lib/jquery.suggestions-15.7.min.js"></script>
Стало:
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery.suggestions/16.5.2/js/jquery.suggestions.min.js"></script>
Было в 4 местах:
serviceUrl: "https://dadata.ru/api/v2",
Стало:
serviceUrl: "https://suggestions.dadata.ru/suggestions/api/4_1/rs",
partner: "VAMSHOP",
В файлах:
--- templates --- vamshop --- source --- boxes --- articles.php
--- templates --- vamshop --- source --- boxes --- authors.php
--- templates --- vamshop --- source --- boxes --- best_sellers.php
--- templates --- vamshop --- source --- boxes --- categories.php
--- templates --- vamshop --- source --- boxes --- content.php
--- templates --- vamshop --- source --- boxes --- information.php
--- templates --- vamshop --- source --- boxes --- manufacturers.php
Было:
if (!$box->is_cached
Стало:
if (!$box->isCached