Что изменилось в шаблонах VamShop v.1.72 по сравнению с v.1.71 - Шаблоны VamShop
У нас Vam Shop стоит дешевле на 25%
Ваша корзинаВ корзине: 0 товар(ов).
Продвижение сайта собственным контентом
Информация
Уточните все вопросы и сделайте заказ:
E-mail: monamurs@gmail.com
ICQ: 5864444
Мой статусSkype: lifemakeroff
Способы оплаты:
Webmoney,
Money.Yandex,
QIWI,
карта Сбербанка РФ,
Paypal,
а также системы переводов: Контакт, Анелик, Аллюр, Western Union.
Шаблоны для интернет-магазинов. Нами украшено более 400 магазинов!
Отзывы more
Шаблон VamShop
16 Ноября 2009, 00:26:22 mazdov написал отзыв: Заказал вертску у Yurassik1, сделал все как договаривались, объяснил как установить, все работает и все четко.Также проверили все [...]

5 из 5 звёзд!

Новости

22.01.2014
Что изменилось в шаблонах VamShop v.1.72 по сравнению с v.1.71

templates --- vamshop --- module --- product_info --- product_info_v1.html

Было:

{if $PRODUCTS_POPUP_LINK!=''}<a href="{$PRODUCTS_POPUP_IMAGE}" title="{$PRODUCTS_NAME}" class="zoom" {if $PRODUCTS_MO_IMAGES}rel="group"{/if} target="_blank">{/if}<img id="img" src="{$PRODUCTS_IMAGE}" alt="{if $PRODUCTS_IMAGE_DESCRIPTION !=''}{$PRODUCTS_IMAGE_DESCRIPTION}{else}{$PRODUCTS_NAME}{/if}" />{if $PRODUCTS_POPUP_LINK!=''}<img src="{$tpl_path}img/zoom.gif" alt="{#text_zoom#}" border="0" /></a>{/if}

Стало:

{if $PRODUCTS_POPUP_LINK!=''}<a href="{$PRODUCTS_POPUP_IMAGE}" title="{$PRODUCTS_NAME}" class="lightbox" {if $PRODUCTS_MO_IMAGES}rel="group"{/if} target="_blank">{/if}<img id="img" src="{$PRODUCTS_IMAGE}" alt="{if $PRODUCTS_IMAGE_DESCRIPTION !=''}{$PRODUCTS_IMAGE_DESCRIPTION}{else}{$PRODUCTS_NAME}{/if}" />{if $PRODUCTS_POPUP_LINK!=''}<img src="{$tpl_path}img/zoom.gif" alt="{#text_zoom#}" border="0" /></a>{/if}

Было:

<a class="iframe" href="{$PRODUCTS_PRINT_LINK}">{#print#}</a>&nbsp;{$PRODUCTS_PRINT}

Стало:

<a data-toggle="modal" data-target="#myModal" target="_blank" href="{$PRODUCTS_PRINT_LINK}">{#print#}</a>&nbsp;{$PRODUCTS_PRINT}

Было:

<a class="iframe" href="{$ASK_PRODUCT_QUESTION_LINK}" target="_blank">{#question#}</a>&nbsp;{$ASK_PRODUCT_QUESTION}

Стало:

<a data-toggle="modal" data-target="#myModal" target="_blank" href="{$ASK_PRODUCT_QUESTION_LINK}">{#question#}</a>&nbsp;{$ASK_PRODUCT_QUESTION}

После:

<p class="CartContentRight">
{$ADD_CART_BUTTON}
</p>

Добавлено:

{if $KUPI_V_KREDIT_BUTTON}
<p class="CartContentRight">
{$KUPI_V_KREDIT_BUTTON}
</p>
{/if}

Было:

{if $img_values.PRODUCTS_MO_POPUP_LINK !=''}<a href="{$img_values.PRODUCTS_MO_POPUP_IMAGE}" title="{$PRODUCTS_NAME}" class="zoom" rel="group" target="_blank">{/if}<img src="{$img_values.PRODUCTS_MO_IMAGE}" alt="{if $img_values.PRODUCTS_MO_IMAGE_DESCRIPTION !=''}{$img_values.PRODUCTS_MO_IMAGE_DESCRIPTION}{else}{$PRODUCTS_NAME}{/if}" />{if $img_values.PRODUCTS_MO_POPUP_LINK !=''}<img src="{$tpl_path}img/zoom.gif" alt="{#text_zoom#}" border="0" width="16" height="12" /></a>{/if}&nbsp;

Стало:

{if $img_values.PRODUCTS_MO_POPUP_LINK !=''}<a href="{$img_values.PRODUCTS_MO_POPUP_IMAGE}" title="{$PRODUCTS_NAME}" class="lightbox" rel="group" target="_blank">{/if}<img src="{$img_values.PRODUCTS_MO_IMAGE}" alt="{if $img_values.PRODUCTS_MO_IMAGE_DESCRIPTION !=''}{$img_values.PRODUCTS_MO_IMAGE_DESCRIPTION}{else}{$PRODUCTS_NAME}{/if}" />{if $img_values.PRODUCTS_MO_POPUP_LINK !=''}<img src="{$tpl_path}img/zoom.gif" alt="{#text_zoom#}" border="0" width="16" height="12" /></a>{/if}&nbsp;

В самый низ добавлено:

<div id="myModal" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> Г— </button>
<h3 id="myModalLabel">{$smarty.const.STORE_NAME}</h3>
</div>
<div class="modal-body">
<p></p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">{$smarty.const.TEXT_CLOSE_WINDOW}</button>
</div>
</div>


templates --- vamshop --- module --- ask_a_question.html

После:

{config_load file="$language/lang_$language.conf" section="ask_a_question"}

Добавлено:

<script type="text/javascript">
{literal}
$(function($){

$('.form-anti-bot, .form-anti-bot-2').hide(); // hide inputs from users
var answer = $('.form-anti-bot input#anti-bot-a').val(); // get answer
$('.form-anti-bot input#anti-bot-q').val( answer ); // set answer into other input

if ( $('form#ask_a_question input#anti-bot-q').length == 0 ) {
var current_date = new Date();
var current_year = current_date.getFullYear();
$('form#ask_a_question').append('<input type="hidden" name="anti-bot-q" id="anti-bot-q" value="'+current_year+'" />'); // add whole input with answer via javascript to form
}

});
{/literal}
</script>

Перед:

<!-- /форма -->

Добавлено:

<div class="form-anti-bot" style="clear:both;">
<strong>Current <span style="display:none;">month</span> <span style="display:inline;">ye@r</span> <span style="display:none;">day</span></strong> <span class="required">*</span>
<input type="hidden" name="anti-bot-a" id="anti-bot-a" value="{$smarty.now|date_format:"%Y"}" />
<input type="text" name="anti-bot-q" id="anti-bot-q" size="30" value="19" />
</div>
<div class="form-anti-bot-2" style="display:none;">
<strong>Leave this field empty</strong> <span class="required">*</span>
<input type="text" name="anti-bot-e-email-url" id="anti-bot-e-email-url" size="30" value=""/>
</div>


templates --- vamshop --- module --- checkout_success.html

Перед:

<p>
{#text_success#}
</p>

Добавлено:

{$KUPIVKREDIT_CODE}


templates --- vamshop --- module --- contact_us.html

После:

{config_load file="$language/lang_$language.conf" section="contact_us"}
<script type="text/javascript" src="jscript/modified.js"></script>
<script type="text/javascript">
{literal}
$(document).ready(function(){

$(function () {
$('#contact_us :input:text:visible:enabled:first').focus();
})

})
{/literal}
</script>

Добавлено:

<script type="text/javascript">
{literal}
$(function($){

$('.form-anti-bot, .form-anti-bot-2').hide(); // hide inputs from users
var answer = $('.form-anti-bot input#anti-bot-a').val(); // get answer
$('.form-anti-bot input#anti-bot-q').val( answer ); // set answer into other input

if ( $('form#contact_us input#anti-bot-q').length == 0 ) {
var current_date = new Date();
var current_year = current_date.getFullYear();
$('form#contact_us').append('<input type="hidden" name="anti-bot-q" id="anti-bot-q" value="'+current_year+'" />'); // add whole input with answer via javascript to form
}

});
{/literal}
</script>

Перед:

<!-- /Содержимое страницы -->

Добавлено:

<div class="form-anti-bot" style="clear:both;">
<strong>Current <span style="display:none;">month</span> <span style="display:inline;">ye@r</span> <span style="display:none;">day</span></strong> <span class="required">*</span>
<input type="hidden" name="anti-bot-a" id="anti-bot-a" value="{$smarty.now|date_format:"%Y"}" />
<input type="text" name="anti-bot-q" id="anti-bot-q" size="30" value="19" />
</div>
<div class="form-anti-bot-2" style="display:none;">
<strong>Leave this field empty</strong> <span class="required">*</span>
<input type="text" name="anti-bot-e-email-url" id="anti-bot-e-email-url" size="30" value=""/>
</div>


templates --- vamshop --- module --- create_account.html

После:

{config_load file="$language/lang_$language.conf" section="create_account"}

Добавлено:

<script type="text/javascript">
{literal}
$(function($){

$('.form-anti-bot, .form-anti-bot-2').hide(); // hide inputs from users
var answer = $('.form-anti-bot input#anti-bot-a').val(); // get answer
$('.form-anti-bot input#anti-bot-q').val( answer ); // set answer into other input

if ( $('form#create_account input#anti-bot-q').length == 0 ) {
var current_date = new Date();
var current_year = current_date.getFullYear();
$('form#create_account').append('<input type="hidden" name="anti-bot-q" id="anti-bot-q" value="'+current_year+'" />'); // add whole input with answer via javascript to form
}

});
{/literal}
</script>

После:

<!-- /форма -->

Добавлено:

<div class="form-anti-bot" style="clear:both;">
<strong>Current <span style="display:none;">month</span> <span style="display:inline;">ye@r</span> <span style="display:none;">day</span></strong> <span class="required">*</span>
<input type="hidden" name="anti-bot-a" id="anti-bot-a" value="{$smarty.now|date_format:"%Y"}" />
<input type="text" name="anti-bot-q" id="anti-bot-q" size="30" value="19" />
</div>
<div class="form-anti-bot-2" style="display:none;">
<strong>Leave this field empty</strong> <span class="required">*</span>
<input type="text" name="anti-bot-e-email-url" id="anti-bot-e-email-url" size="30" value=""/>
</div>


templates --- vamshop --- module --- product_reviews_write.html

После:

{config_load file="$language/lang_$language.conf" section="reviews"}

Добавлено:

<script type="text/javascript">
{literal}
$(function($){

$('.form-anti-bot, .form-anti-bot-2').hide(); // hide inputs from users
var answer = $('.form-anti-bot input#anti-bot-a').val(); // get answer
$('.form-anti-bot input#anti-bot-q').val( answer ); // set answer into other input

if ( $('form#product_reviews_write input#anti-bot-q').length == 0 ) {
var current_date = new Date();
var current_year = current_date.getFullYear();
$('form#product_reviews_write').append('<input type="hidden" name="anti-bot-q" id="anti-bot-q" value="'+current_year+'" />'); // add whole input with answer via javascript to form
}

});
{/literal}
</script>

Перед:

<!-- /форма -->

Добавлено:

<div class="form-anti-bot" style="clear:both;">
<strong>Current <span style="display:none;">month</span> <span style="display:inline;">ye@r</span> <span style="display:none;">day</span></strong> <span class="required">*</span>
<input type="hidden" name="anti-bot-a" id="anti-bot-a" value="{$smarty.now|date_format:"%Y"}" />
<input type="text" name="anti-bot-q" id="anti-bot-q" size="30" value="19" />
</div>
<div class="form-anti-bot-2" style="display:none;">
<strong>Leave this field empty</strong> <span class="required">*</span>
<input type="text" name="anti-bot-e-email-url" id="anti-bot-e-email-url" size="30" value=""/>
</div>


templates --- vamshop --- source --- boxes --- products_filter.php

Удалено:

require_once (DIR_FS_INC.'vam_get_subcategories.inc.php');

Было:

$box->caching = 1;

Стало:

$box->caching = 0;


templates --- vamshop --- source --- boxes --- shopping_cart.php

Было:

$product_attributes[$option]['VALUE'] = $attributes_values['products_options_values_name'];

Стало:

$product_attributes[$option]['VALUE'] = $attr_value;


templates --- vamshop --- stylesheet.css

В конец файла добавлено:

#myModal .modal-body {
max-height: 800px;
}


templates --- vamshop --- javascript --- general.js.php

В самый низ добавлено:

<script type="text/javascript">
// Responsive equal height
// http://codepen.io/micahgodbolt/pen/FgqLc

equalheight = function(container){

var currentTallest = 0,
currentRowStart = 0,
rowDivs = new Array(),
$el,
topPosition = 0;
$(container).each(function() {

$el = $(this);
$($el).height('auto')
topPostion = $el.position().top;

if (currentRowStart != topPostion) {
for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
rowDivs[currentDiv].height(currentTallest);
}
rowDivs.length = 0; // empty the array
currentRowStart = topPostion;
currentTallest = $el.height();
rowDivs.push($el);
} else {
rowDivs.push($el);
currentTallest = (currentTallest < $el.height()) ? ($el.height()) : (currentTallest);
}
for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
rowDivs[currentDiv].height(currentTallest);
}
});
}

$(window).load(function() {
equalheight('.pageItem dl.itemNewProductsDefault');
equalheight('.pageItem dl.itemCategoriesListing');
});

$(window).resize(function(){
equalheight('.pageItem dl.itemNewProductsDefault');
equalheight('.pageItem dl.itemCategoriesListing');
});

Также нужно залить в папку с шаблоном папки из обновления от v.1.71 до v.1.72 шаблона vamshop:
bootstrap, css, javascript

Другие новости...