Вставила код из корзины,
И также не появляется товар при добавлении в корзину, необходимо обновлять страницу. (может быть не те переменные?)
Отправлено 26 Июль 2014 - 19:17
Отправлено 26 Июль 2014 - 19:56
tega4 (26 Июль 2014 - 19:17) писал:
<!-- Обновление данных корзины -->
<table style="display:none;" class="new_cart_now"> <!-- Позиции заказа --> {% FOR cart_items %} <tr> <td> <a href="{cart_items.GOODS_URL}"><img src="{% IF cart_items.GOODS_IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-icon.png{% ELSE %}{cart_items.GOODS_IMAGE_ICON}{% ENDIF %}"></a> </td> <td class="cart_now1"> {cart_items.GOODS_NAME}<br> <p class="num">{cart_items.GOODS_MOD_PRICE_NOW | money_format}</p> </td> </tr> {% ENDFOR %} </table>
$('#cartCount').html($('.newCartCount').html());
$('.cart_now').html($('.new_cart_now').html());
Отправлено 26 Июль 2014 - 21:26
Отправлено 07 Август 2014 - 18:02
Отправлено 07 Август 2014 - 18:32
Отправлено 08 Август 2014 - 15:05
Отправлено 08 Август 2014 - 20:58
Отправлено 09 Август 2014 - 06:46
tega4 (08 Август 2014 - 15:05) писал:
input, select { font-size: 100%; height: 25px; text-align: left; margin-right: 10px; }замените на
input, select { font-size: 100%; height: 25px; text-align: left; }
Отправлено 09 Август 2014 - 08:28
1. объясните почему слетает кнопка "найти" когда заходишь в корзину на оформление заказа?
2. помогите поставить карусель для дополнительных фото товара в карточку товара. вроде все перенесла в свой шаблон, но не получается ничего. (как в шаблоне "бистро")
3. помогите перенести с "движения" дополнительные фото на страницу товара, отображаются в таблице при наведении на фото.
Отправлено 09 Август 2014 - 09:51
Отправлено 10 Август 2014 - 18:54
Отправлено 11 Август 2014 - 07:02
tega4 (10 Август 2014 - 18:54) писал:
#search .submit.alignright { cursor: pointer; height: 23px; width: 40px; background: transparent; border: none; color: #fff; padding: 0px; }измените на
#search .submit.alignright { cursor: pointer; height: 23px; width: 40px; background: transparent; border: none; color: #fff; padding: 0px; margin-top: -28px; margin-right: 0px; }В style.css
.tabbed_area { width: 660px; margin-left: 0px; margin-top: 0px; border: 1px solid #2f4f4f; background-color: #2792ec; padding: 8px; }измените на
.tabbed_area { width: 606px; margin-left: 0px; margin-top: 0px; border: 1px solid #2f4f4f; background-color: #2792ec; padding: 8px; }2)Уточните, пожалуйста, что конкретно не прогрузилось.
Отправлено 11 Август 2014 - 13:31
batta (11 Август 2014 - 07:02) писал:
#search .submit.alignright { cursor: pointer; height: 23px; width: 40px; background: transparent; border: none; color: #fff; padding: 0px; }измените на
#search .submit.alignright { cursor: pointer; height: 23px; width: 40px; background: transparent; border: none; color: #fff; padding: 0px; margin-top: -28px; margin-right: 0px; }В style.css
.tabbed_area { width: 660px; margin-left: 0px; margin-top: 0px; border: 1px solid #2f4f4f; background-color: #2792ec; padding: 8px; }измените на
.tabbed_area { width: 606px; margin-left: 0px; margin-top: 0px; border: 1px solid #2f4f4f; background-color: #2792ec; padding: 8px; }2)Уточните, пожалуйста, что конкретно не прогрузилось.
/* Кнопки выбора количества товара на странице товара*/ div.plus_minus_quantity {margin:5px 0 10px;} .numeric_input .quantity, .quantity .quantity {margin-bottom:2px;height:21px;border-radius:5px;padding-top:0px;padding-bottom:0px; text-align:center !important;} .numeric_input .qty-minus, .quantity .qty-minus, .numeric_input .qty-plus, .quantity .qty-plus {cursor:pointer;border: 0 none;width:22px; height: 22px; padding: 2px 7px; margin: 0;text-align:center;background-color: #FF0551;-webkit-border-radius: 5px 5px 5px 5px;-moz-border-radius: 5px 5px 5px 5px; -khtml-border-radius: 5px 5px 5px 5px;border-radius: 5px; color: #FFFFFF;padding-bottom:3px;} .numeric_input .qty-plus:hover, .quantity .qty-plus:hover, .numeric_input .qty-minus:hover, .quantity .qty-minus:hover {background-color: #444444;} .plus_minus_quantity {margin: 0 10px 0 0;} .numeric_input .qty-minus,.numeric_input .qty-plus {height: 36px; width: 20px;color: #fff;padding: 8px 7px;line-height: 36px; vertical-align: middle;} .quantity {height: 32px;margin: 0;vertical-align: middle;} /* END Кнопки выбора количества товара */
Отправлено 11 Август 2014 - 15:15
tega4 (11 Август 2014 - 13:31) писал:
/* Кнопки выбора количества товара на странице товара*/ div.plus_minus_quantity {margin:5px 0 10px;} .numeric_input .quantity, .quantity .quantity {margin-bottom:2px;height:21px;border-radius:5px;padding-top:0px;padding-bottom:0px; text-align:center !important;} .numeric_input .qty-minus, .quantity .qty-minus, .numeric_input .qty-plus, .quantity .qty-plus {cursor:pointer;border: 0 none;width:22px; height: 22px; padding: 2px 7px; margin: 0;text-align:center;background-color: #FF0551;-webkit-border-radius: 5px 5px 5px 5px;-moz-border-radius: 5px 5px 5px 5px; -khtml-border-radius: 5px 5px 5px 5px;border-radius: 5px; color: #FFFFFF;padding-bottom:3px;} .numeric_input .qty-plus:hover, .quantity .qty-plus:hover, .numeric_input .qty-minus:hover, .quantity .qty-minus:hover {background-color: #444444;} .plus_minus_quantity {margin: 0 10px 0 0;} .numeric_input .qty-minus,.numeric_input .qty-plus {height: 36px; width: 20px;color: #fff;padding: 8px 7px;line-height: 36px; vertical-align: middle;} .quantity {height: 32px;margin: 0;vertical-align: middle;} /* END Кнопки выбора количества товара */
#search .submit.alignright { cursor: pointer; height: 23px; width: 40px; background: transparent; border: none; color: #fff; padding: 0px; margin-right: 0px; }измените на
#search .submit.alignright { cursor: pointer; height: 23px; width: 40px; background: transparent; border: none; color: #fff; padding: 0px; margin-right: 0px; margin-top: -25px; }2)
/* Кнопки выбора количества товара на странице товара*/ div.plus_minus_quantity {margin:5px 0 10px;} .numeric_input .quantity, .quantity .quantity {margin-bottom:2px;height:21px;border-radius:5px;padding-top:0px;padding-bottom:0px; text-align:center !important;} .numeric_input .qty-minus, .quantity .qty-minus, .numeric_input .qty-plus, .quantity .qty-plus {cursor:pointer;border: 0 none;width:22px; height: 22px; padding: 2px 7px; margin: 0;text-align:center;background-color: #FF0551;-webkit-border-radius: 5px 5px 5px 5px;-moz-border-radius: 5px 5px 5px 5px; -khtml-border-radius: 5px 5px 5px 5px;border-radius: 5px; color: #FFFFFF;padding-bottom:3px;} .numeric_input .qty-plus:hover, .quantity .qty-plus:hover, .numeric_input .qty-minus:hover, .quantity .qty-minus:hover {background-color: #444444;} .plus_minus_quantity {margin: 0 10px 0 0;} .numeric_input .qty-minus,.numeric_input .qty-plus {height: 36px; width: 20px;color: #fff;padding: 8px 7px;line-height: 36px; vertical-align: middle;} .quantity {height: 32px;margin: 0;vertical-align: middle;} /* END Кнопки выбора количества товара */измените на
/* Кнопки выбора количества товара на странице товара*/ div.plus_minus_quantity {margin:5px 0 10px;} .numeric_input .quantity, .quantity .quantity {margin-bottom:2px;height:21px;border-radius:5px;padding-top:0px;padding-bottom:0px; text-align:center !important;} .qty-plus,.qty-minus{cursor:pointer;} .numeric_input .qty-minus, .quantity .qty-minus, .numeric_input .qty-plus, .quantity .qty-plus {cursor:pointer;border: 0 none;width:22px; height: 22px; padding: 2px 7px; margin: 0;text-align:center;background-color: #FF0551;-webkit-border-radius: 5px 5px 5px 5px;-moz-border-radius: 5px 5px 5px 5px; -khtml-border-radius: 5px 5px 5px 5px;border-radius: 5px; color: #FFFFFF;padding-bottom:3px;} .numeric_input .qty-plus:hover, .quantity .qty-plus:hover, .numeric_input .qty-minus:hover, .quantity .qty-minus:hover {background-color: #444444;} .plus_minus_quantity {margin: 0 10px 0 0;} .numeric_input .qty-minus,.numeric_input .qty-plus {height: 36px; width: 20px;color: #fff;padding: 8px 7px;line-height: 36px; vertical-align: middle;} .quantity {height: 32px;margin: 0;vertical-align: middle;} /* END Кнопки выбора количества товара */3) Утоните где вы хотите что б была кнопка история покупок, где должны быть остальные кнопки.
<!-- Блок для обновления данных корзины. Не виден пользователю --> <div style="display:none;" id="newCartData"> <div class="summary"> <a href="{CART_URL}"><strong>{% IF cart_count_empty %} <span>0</span> {% ELSE %} {% FOR cart_count %} {cart_count.COUNT}{% IFNOT cart_count.last %},{% ENDIF %} {% ENDFOR %} {% ENDIF %}</strong> товаров в корзине</a> </div> <div class="basket-summary"> <table {% IF cart_count_empty %}style="display: none;"{% ENDIF %}> <tbody> <tr> <td>Сумма заказа:</td> <td> {% IF cart_count_empty %} <span>0</span> {CURRENCY_NAME} {% ELSE %} {% FOR cart_sum %} {cart_sum.NOW | money_format}<br /> {% ENDFOR %} {% ENDIF %} </td> </tr> </tbody> </table> {% IF cart_count_empty %} <p>Ваша корзина пуста</p> {% ENDIF %} </div> </div> <!-- JS обновление данных корзины --> <script>$('.basket-info:first').html($('#newCartData').html());</script> <!-- end Блок для обновления данных корзины. Не виден пользователю -->измените на
<!-- Блок для обновления данных корзины. Не виден пользователю --> <div style="display:none;" id="newCartData"> <div class="summary"> <a href="{CART_URL}"><strong>{% IF cart_count_empty %} <span>0</span> {% ELSE %} {% FOR cart_count %} {cart_count.COUNT}{% IFNOT cart_count.last %},{% ENDIF %} {% ENDFOR %} {% ENDIF %}</strong> товаров в корзине</a> </div> <div class="basket-summary"> <table {% IF cart_count_empty %}style="display: none;"{% ENDIF %}> <tbody> <tr> <td>Сумма заказа:</td> <td> {% IF cart_count_empty %} <span>0</span> {CURRENCY_NAME} {% ELSE %} {% FOR cart_sum %} {cart_sum.NOW | money_format}<br /> {% ENDFOR %} {% ENDIF %} </td> </tr> <tr><td colspan="2"> {% FOR cart_sum %} <a class="oformlenie" href="{CART_URL}"><span>Оформить заказ</span></a> {% ENDFOR %}</td></tr> </tbody> </table> {% IF cart_count_empty %} <p>Ваша корзина пуста</p> {% ENDIF %} </div> </div> <!-- JS обновление данных корзины --> <script>$('.basket-info:first').html($('#newCartData').html());</script> <!-- end Блок для обновления данных корзины. Не виден пользователю -->
Отправлено 11 Август 2014 - 15:35
Цитата
Цитата
Цитата
Сообщение отредактировал tega4: 11 Август 2014 - 17:09
Отправлено 11 Август 2014 - 19:00
tega4 (11 Август 2014 - 15:35) писал:
<form action="http://{NET_DOMAIN}/search" id="searchform" method="get"> <div>и заменить его на
<form action="http://{NET_DOMAIN}/search" id="searchform" method="get"> <div style="width: 204px;">
Отправлено 17 Август 2014 - 21:49
Отправлено 19 Август 2014 - 07:54
{% IFNOT CLIENT_IS_LOGIN %} <form action="{USER_LOGIN_URL}" method="post" class="clientForm"> <!-- Тело таблицы. Форма авторизации --> <label for="sites_client_mail">Email</label><br /> <input id="sites_client_mail" name="form[sites_client_mail]" value="{FORM_SITES_CLIENT_MAIL}" maxlength="255" class="required email cornerAll"/><br /> <!--td class="ceil3 valignMiddle" rowspan="2"> <div class="alignCenter" style="display:none;" id="caps_lock"> <img src="{ASSETS_IMAGES_PATH}warningCapslock.png"><br /> <strong>Caps Lock включен.</strong><br /> Пароль может быть введен неверно. </div> </td--> <label for="sites_client_pass">Пароль</label><br /> <input id="sites_client_pass" type="password" name="form[sites_client_pass]" value="{FORM_SITES_CLIENT_PASS}" maxlength="50" minlength="6" class="required cornerAll" /><br /> <!-- Низ таблицы. Кнопка отправки формы --> <a href="{USER_REGISTER_URL}">Регистрация</a> | <input type="submit" class="more-link vhod" value="Войти" /> </form> {% ENDIF %} {% IF CLIENT_IS_LOGIN %} Здравствуйте, <a href="{USER_SETTINGS_URL}">{CLIENT_NAME}</a>! | <a href="{USER_HISTORY_LIST_URL}">История заказов</a> | <a href="{USER_LOGOUT_URL}">Выход</a> {% ENDIF %}
{% IFNOT CLIENT_IS_LOGIN %} <form action="{USER_LOGIN_URL}" method="post" class="clientForm"> <!-- Тело таблицы. Форма авторизации --> <label for="sites_client_mail">Email</label><br /> <input id="sites_client_mail" name="form[sites_client_mail]" value="{FORM_SITES_CLIENT_MAIL}" maxlength="255" class="required email cornerAll"/><br /> <label for="sites_client_pass">Пароль</label><br /> <input id="sites_client_pass" type="password" name="form[sites_client_pass]" value="{FORM_SITES_CLIENT_PASS}" maxlength="50" minlength="6" class="required cornerAll" /><br /> <!-- Низ таблицы. Кнопка отправки формы --> <a href="{USER_REGISTER_URL}">Регистрация</a> | <input type="submit" class="more-link vhod" value="Войти" /> </form> {% ELSE %} <span>Здравствуйте, <a href="{USER_SETTINGS_URL}">{CLIENT_NAME}</a>!</span> <div><a href="{USER_HISTORY_LIST_URL}">История заказов</a> | <a href="{USER_LOGOUT_URL}">Выход</a></div> {% ENDIF %}
<!-- Позиции заказа --> {% FOR cart_items %} <tr> <td> <a href="{cart_items.GOODS_URL}"><img src="{% IF cart_items.GOODS_IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-icon.png{% ELSE %}{cart_items.GOODS_IMAGE_ICON}{% ENDIF %}"></a> </td> <td class="cart_now1"> {cart_items.GOODS_NAME}<br> <p class="num">{cart_items.GOODS_MOD_PRICE_NOW | money_format}</p> </td> </tr> {% ENDFOR %}
<div><br/> <h2><span>Ваша корзина</span></h2> <table class="cart_now"> <!-- Позиции заказа --> {% IF cart_count_empty %} <!--tr> <td> <img src="{ASSETS_IMAGES_PATH}basket.png" style="width:50px;margin-left:50px"/> </td> <td>Ваша корзина пуста</td> </tr--> {% ENDIF %} {% FOR cart_items %} <tr> <td> <a href="{cart_items.GOODS_URL}"><img src="{% IF cart_items.GOODS_IMAGE_EMPTY %}{ASSETS_IMAGES_PATH}no-photo-icon.png{% ELSE %}{cart_items.GOODS_IMAGE_ICON}{% ENDIF %}"></a> </td> <td class="cart_now1"> {cart_items.GOODS_NAME}<br> <p class="num">{cart_items.GOODS_MOD_PRICE_NOW | money_format}</p> </td> </tr> {% ENDFOR %} <tr> <td colspan="2"> {% FOR cart_sum %} <hr> <span class="num itog">{cart_sum.NOW_WITH_DISCOUNT | money_format}</span><br /> {% ENDFOR %} </td> </tr> </table> <br><br> {% FOR cart_sum %} <a class="oformlenie" href="{CART_URL}"><span>Оформить заказ</span></a> {% ENDFOR %}</div>
$('.cart_now').html($('.new_cart_now').html());
$('.cartInfo').html($('.new_cart_now').html());
Отправлено 20 Август 2014 - 09:09
0 пользователей, 0 гостей, 0 анонимных