Убрать Быстрое Оформ. Заказа
#1
Отправлено 21 Сентябрь 2014 - 23:30
#2
Отправлено 22 Сентябрь 2014 - 09:20
Антон1212 (21 Сентябрь 2014 - 23:30) писал:
<input type="button" value="В корзину" id="button-cart" class="button button_cart_product" onclick="quickorder('.goodsDataForm'); return false;" title="Положить «{GOODS_NAME}» в корзину"/>на
<input type="button" value="Добавить в корзину" id="button-cart" class="button button_cart_product" onclick="$('.goodsDataForm').submit(); return false;" title="Положить «{GOODS_NAME}» в корзину"/>далее в main.js замените
// Добавление товара в корзину через ajax $('.goodsDataForm, .goodsToCartFromCompareForm, .goodsListForm').submit(function(){ $(this).nyroModalManual({ formIndicator: 'ajax_q', // Value added when a form is sent minWidth: 450, // Minimum width minHeight: 140, // Minimum height gallery: null // Gallery name if provided }); return false; });на
// Добавление товара в корзину через ajax $('.goodsToCartFromCompareForm, .goodsListForm').submit(function(){ $(this).nyroModalManual({ formIndicator: 'ajax_q', // Value added when a form is sent minWidth: 450, // Minimum width minHeight: 140, // Minimum height gallery: null // Gallery name if provided }); return false; });
#3
Отправлено 22 Сентябрь 2014 - 09:49
Alekseys (22 Сентябрь 2014 - 09:20) писал:
<input type="button" value="В корзину" id="button-cart" class="button button_cart_product" onclick="quickorder('.goodsDataForm'); return false;" title="Положить «{GOODS_NAME}» в корзину"/>на
<input type="button" value="Добавить в корзину" id="button-cart" class="button button_cart_product" onclick="$('.goodsDataForm').submit(); return false;" title="Положить «{GOODS_NAME}» в корзину"/>далее в main.js замените
// Добавление товара в корзину через ajax $('.goodsDataForm, .goodsToCartFromCompareForm, .goodsListForm').submit(function(){ $(this).nyroModalManual({ formIndicator: 'ajax_q', // Value added when a form is sent minWidth: 450, // Minimum width minHeight: 140, // Minimum height gallery: null // Gallery name if provided }); return false; });на
// Добавление товара в корзину через ajax $('.goodsToCartFromCompareForm, .goodsListForm').submit(function(){ $(this).nyroModalManual({ formIndicator: 'ajax_q', // Value added when a form is sent minWidth: 450, // Minimum width minHeight: 140, // Minimum height gallery: null // Gallery name if provided }); return false; });
По пункту 2 ничего не поменялось
#4
Отправлено 22 Сентябрь 2014 - 14:38
#5
Отправлено 22 Сентябрь 2014 - 19:51
Антон1212 (22 Сентябрь 2014 - 14:38) писал:
<!-- Добавление в корзину --> <div class="cart"> <div> <div class="plus_minus_quantity"> <span class="qty-minus">-</span> <input type="text" value="1" size="2" maxlength="5" class="quantity" name="form[goods_mod_quantity]"> <span class="qty-plus">+</span> </div> <input type="button" value="Добавить в корзину" id="button-cart" class="button button_cart_product" onclick="$('.goodsDataForm').submit(); return false;" title="Положить «{GOODS_NAME}» в корзину"/> </div> </div> <!-- /Добавление в корзину -->замените на
<!-- Добавление в корзину --> <div class="cart"> <div> <div class="plus_minus_quantity"> <span class="qty-minus">-</span> <input type="text" value="1" size="2" maxlength="5" class="quantity" name="form[goods_mod_quantity]"> <span class="qty-plus">+</span> </div> <input type="button" value="Купить" id="button-cart" class="button button_cart_product" onclick="quickorder('.goodsDataForm'); return false;" title="Положить «{GOODS_NAME}» в корзину"/> <!-- input type="button" value="Добавить в корзину" id="button-cart" class="button button_cart_product" onclick="$('.goodsDataForm').submit(); return false;" title="Положить «{GOODS_NAME}» в корзину"/ --> </div> </div> <!-- /Добавление в корзину -->Далее в шаблоне быстрый заказ найдите
<button type="button" class="button quickform" id="quickform-order">Оформить заказ</button> <button type="submit" class="button сlose2" id="quickform-close">Продолжить покупки</button>замените на
<button type="button" title="Перейти в корзину" class="button button_cart_product" onclick="document.location='{CART_URL}';return false;">Перейти в корзину</button <!-- <button type="button" class="button quickform" id="quickform-order">Оформить заказ</button>--> <button type="submit" class="button сlose2" id="quickform-close">Продолжить покупки</button>
#6
Отправлено 22 Сентябрь 2014 - 21:12
Ирина345 (22 Сентябрь 2014 - 19:51) писал:
<!-- Добавление в корзину --> <div class="cart"> <div> <div class="plus_minus_quantity"> <span class="qty-minus">-</span> <input type="text" value="1" size="2" maxlength="5" class="quantity" name="form[goods_mod_quantity]"> <span class="qty-plus">+</span> </div> <input type="button" value="Добавить в корзину" id="button-cart" class="button button_cart_product" onclick="$('.goodsDataForm').submit(); return false;" title="Положить «{GOODS_NAME}» в корзину"/> </div> </div> <!-- /Добавление в корзину -->замените на
<!-- Добавление в корзину --> <div class="cart"> <div> <div class="plus_minus_quantity"> <span class="qty-minus">-</span> <input type="text" value="1" size="2" maxlength="5" class="quantity" name="form[goods_mod_quantity]"> <span class="qty-plus">+</span> </div> <input type="button" value="Купить" id="button-cart" class="button button_cart_product" onclick="quickorder('.goodsDataForm'); return false;" title="Положить «{GOODS_NAME}» в корзину"/> <!-- input type="button" value="Добавить в корзину" id="button-cart" class="button button_cart_product" onclick="$('.goodsDataForm').submit(); return false;" title="Положить «{GOODS_NAME}» в корзину"/ --> </div> </div> <!-- /Добавление в корзину -->Далее в шаблоне быстрый заказ найдите
<button type="button" class="button quickform" id="quickform-order">Оформить заказ</button> <button type="submit" class="button сlose2" id="quickform-close">Продолжить покупки</button>замените на
<button type="button" title="Перейти в корзину" class="button button_cart_product" onclick="document.location='{CART_URL}';return false;">Перейти в корзину</button <!-- <button type="button" class="button quickform" id="quickform-order">Оформить заказ</button>--> <button type="submit" class="button сlose2" id="quickform-close">Продолжить покупки</button>
#7
Отправлено 23 Сентябрь 2014 - 01:13
#8
Отправлено 23 Сентябрь 2014 - 01:17
<button type="button" title="Перейти в корзину" class="button button_cart_product" onclick="document.location='{CART_URL}';return false;">Перейти в корзину</buttonзамените на:
<button type="button" title="Перейти в корзину" class="button button_cart_product" onclick="document.location='{CART_URL}';return false;">Перейти в корзину</button>
#9
Отправлено 23 Сентябрь 2014 - 01:25
Vaccina (23 Сентябрь 2014 - 01:17) писал:
<button type="button" title="Перейти в корзину" class="button button_cart_product" onclick="document.location='{CART_URL}';return false;">Перейти в корзину</buttonзамените на:
<button type="button" title="Перейти в корзину" class="button button_cart_product" onclick="document.location='{CART_URL}';return false;">Перейти в корзину</button>
#10
Отправлено 23 Сентябрь 2014 - 01:40
#11
Отправлено 23 Сентябрь 2014 - 01:57
Vaccina (23 Сентябрь 2014 - 01:40) писал:
#12
Отправлено 23 Сентябрь 2014 - 02:01
input.button_cart_product { background-color: #ff0551; display: block; margin-left: 120px; margin-top: 6px; padding: 11px; }ниже пропишите:
#button-cart { background-color: #ff0551; display: block; margin-left: 120px; margin-top: 6px; padding: 11px; border-radius: 5px; }или пропишите:
#button-cart { background-color: #ff0551 !important; display: block !important; margin-left: 120px !important; margin-top: 6px !important; padding: 11px !important; border-radius: 5px !important; }
#13
Отправлено 23 Сентябрь 2014 - 02:08
Vaccina (23 Сентябрь 2014 - 02:01) писал:
input.button_cart_product { background-color: #ff0551; display: block; margin-left: 120px; margin-top: 6px; padding: 11px; }ниже пропишите:
#button-cart { background-color: #ff0551; display: block; margin-left: 120px; margin-top: 6px; padding: 11px; border-radius: 5px; }или пропишите:
#button-cart { background-color: #ff0551 !important; display: block !important; margin-left: 120px !important; margin-top: 6px !important; padding: 11px !important; border-radius: 5px !important; }
#14
Отправлено 23 Сентябрь 2014 - 02:13
#15
Отправлено 23 Сентябрь 2014 - 02:19
Vaccina (23 Сентябрь 2014 - 02:13) писал:
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных