Commit 9a0a919c authored by Chi Bui's avatar Chi Bui 👀

fix frontend 10/09_02

parent 76841094
......@@ -1372,7 +1372,12 @@ header.navbar .block-search-navigation .search-icon {
transition: 0.3s;
max-height: 48px;
}
.cart-form .order-total-line.noti h4{
font-size: 15px;
}
.cart-form .order-total-line.noti{
padding: 4px 20px !important;
}
/* invi 1440 */
@media (max-width: 1200px) {
#block-sodienthoai h3{
......@@ -13614,7 +13619,7 @@ a {
}
.cart-form .table-responsive {
min-height: 200px;
min-height: 500px;
}
.btn {
......
......@@ -136,9 +136,9 @@ for (i = 0; i < acc.length; i++) {
textPrice.eq(i).text("Liên hệ");
}
}
console.log(screen.width);
if($("article.commerce-product.full .field--name-price").text() == "Liên hệ"){
$("article.commerce-product.full .product-right .field--name-variations button").hide()
$("article.commerce-product.full .product-right .field--name-variations button").hide();
$("article.commerce-product.full .product-right .form-group.form-type-number").hide();
}
$(window).scroll(function() {
......
{#
/**
* @file
* Default order total summary template.
*
* Available variables:
* - attributes: HTML attributes for the wrapper.
* - order_entity: The order entity.
* - totals: An array of order totals values with the following keys:
* - subtotal: The order subtotal price.
* - adjustments: The adjustments:
* - type: The adjustment type.
* - label: The adjustment label.
* - amount: The adjustment amount.
* - percentage: The decimal adjustment percentage, when available. For example, "0.2" for a 20% adjustment.
* - total: The order total price.
*
* @ingroup themeable
*/
#}
{{ attach_library('commerce_order/total_summary') }}
<div{{ attributes }}>
<div class="order-total-line order-total-line__subtotal">
<span class="order-total-line-label">{{ 'Subtotal'|t }}
</span><span class="order-total-line-value">{{ totals.subtotal|commerce_price_format }}</span>
</div>
{% for adjustment in totals.adjustments %}
<div class="order-total-line order-total-line__adjustment order-total-line__adjustment--{{ adjustment.type|clean_class }}">
<span class="order-total-line-label">{{ adjustment.label }}
</span><span class="order-total-line-value">{{ adjustment.amount|commerce_price_format }}</span>
</div>
{% endfor %}
<div class="order-total-line order-total-line__total">
<span class="order-total-line-label">{{ 'Total'|t }}
</span><span class="order-total-line-value">{{ totals.total|commerce_price_format }}</span>
</div>
<div class="order-total-line noti">
<h4>Lưu ý</h4>
<ul>
<li>Tổng tiền hàng chưa bao gồm phí ship</li>
<li>Pin Tuấn Dung gọi điện xác nhận đơn hàng. Bạn phải trả tiền hàng khi nhận hàng. (Có thể phát sinh phụ phí 20.000đ, tùy thuộc vào phương thức ship hàng)</li>
</ul>
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment