left: 15px;
right: 15px;
border-top: 1px solid #dddddd;
left: 15px;
right: 15px;
border-top: 1px solid #dddddd;
+ padding-bottom: 24px;
+}
+
+.product_price {
+ position: absolute;
+ left: 15px;
+ bottom: 5px;
+ z-index: 6;
}
.oe_mycart .input-group-addon {
}
.oe_mycart .input-group-addon {
right: 0;
border-top: none;
top: 15px;
right: 0;
border-top: none;
top: 15px;
+ max-height: 94px;
+}
+.oe_list_products .product_price {
+ left: 180px;
}
.oe_website_sale .row .row .col-md-12 {
}
.oe_website_sale .row .row .col-md-12 {
left: 15px
right: 15px
border-top: 1px solid #dddddd
left: 15px
right: 15px
border-top: 1px solid #dddddd
+ padding-bottom: 24px
+.product_price
+ position: absolute
+ left: 15px
+ bottom: 5px
+ z-index: 6
.oe_mycart
.input-group-addon
.oe_mycart
.input-group-addon
right: 0
border-top: none
top: 15px
right: 0
border-top: none
top: 15px
+ max-height: 94px
+ .product_price
+ left: 180px
.oe_website_sale .row .row .col-md-12
float: none
.oe_website_sale .row .row .col-md-12
float: none
<a t-href="/shop/product/#{ product.id }/?#{ search and ('search=%s' % search) or ''}#{ category_id and ('&category_id=%s' % category_id) or ''}">
<b t-field="product.name"/>
</a>
<a t-href="/shop/product/#{ product.id }/?#{ search and ('search=%s' % search) or ''}#{ category_id and ('&category_id=%s' % category_id) or ''}">
<b t-field="product.name"/>
</a>
- <div class="product_price">
- <b>
- <t t-if="product.product_variant_ids[0].lst_price != product.product_variant_ids[0].price">
- <span class="text-danger" style="text-decoration: line-through;">
- <t t-esc="product.product_variant_ids[0].lst_price" /> €
- </span>&nbsp;
- </t>
- <t t-esc="product.product_variant_ids[0].price" /> €
- </b>
- </div>
+ <div class="product_price">
+ <b>
+ <t t-if="product.product_variant_ids[0].lst_price != product.product_variant_ids[0].price">
+ <span class="text-danger" style="text-decoration: line-through;">
+ <t t-esc="product.product_variant_ids[0].lst_price" /> €
+ </span>&nbsp;
+ </t>
+ <t t-esc="product.product_variant_ids[0].price" /> €
+ </b>
+ </div>
<div class="oe_product_image text-center">
<a t-href="/shop/product/#{ product.id }/?#{ search and ('search=%s' % search) or ''}#{ category_id and ('&category_id=%s' % category_id) or ''}">
<img class="img" t-att-src="product.img('image')"/>
<div class="oe_product_image text-center">
<a t-href="/shop/product/#{ product.id }/?#{ search and ('search=%s' % search) or ''}#{ category_id and ('&category_id=%s' % category_id) or ''}">
<img class="img" t-att-src="product.img('image')"/>
<!-- Product Description-->
<template id="product_description" inherit_option_id="website_sale.products_cart" name="Product Description">
<!-- Product Description-->
<template id="product_description" inherit_option_id="website_sale.products_cart" name="Product Description">
- <xpath expr="//div[@class='product_price']" position="before">
+ <xpath expr="//div[@class='oe_product_description']" position="inside">
<p class="text-muted oe_subdescription">
<span t-field="product.description_sale"/>
</p>
<p class="text-muted oe_subdescription">
<span t-field="product.description_sale"/>
</p>