You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
8.8 KiB
121 lines
8.8 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<templates id="template" xml:space="preserve">
|
|
<t t-name="eco_food_best_seller1" name="EcoFood Best Seller">
|
|
<section class="best_seller">
|
|
<div class="container-fluid">
|
|
<div class="wrapper">
|
|
<div class="main_heading">
|
|
<h1>
|
|
Best seller<t t-esc="best_seller"/>
|
|
</h1>
|
|
<p>
|
|
Add bestselling products to weekly line up
|
|
</p>
|
|
</div>
|
|
<!-- <div class="best_products">-->
|
|
<!-- <t t-foreach="best_seller" t-as="bs" t-if="best_seller">-->
|
|
<!-- <div class="b_product">-->
|
|
<!-- <span class="new">-->
|
|
<!-- New-->
|
|
<!-- </span>-->
|
|
<!-- <a t-attf-href="/shop/product/#{slug(bs)}">-->
|
|
<!-- <div class="wrapper">-->
|
|
<!-- <div class="img_wrapper">-->
|
|
<!-- <img t-attf-src="/web/image?model=product.template&field=image_1920&id=#{bs.id}"/>-->
|
|
<!-- <div class="inner">-->
|
|
<!-- <a t-attf-href="/shop/product/#{slug(bs)}"-->
|
|
<!-- itemprop="url" type="button"-->
|
|
<!-- class="quick_view scale-in-center">-->
|
|
<!-- <i-->
|
|
<!-- class="fa fa-search"/>-->
|
|
<!-- </a>-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="product_info">-->
|
|
<!-- <div class="p_caregory">-->
|
|
<!-- <span t-if="best_seller" t-esc="bs.categ_id.name"/>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="p_name">-->
|
|
<!-- <span t-if="best_seller" t-esc="bs.name"/>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="p_rating ">-->
|
|
<!-- <t t-set="rating_avg"-->
|
|
<!-- t-value="bs.rating_avg"/>-->
|
|
<!-- <t t-set="val_decimal"-->
|
|
<!-- t-value="round(rating_avg % 1, 1)"/>-->
|
|
<!-- <t t-set="val_integer"-->
|
|
<!-- t-value="int(rating_avg)"/>-->
|
|
<!-- <t t-set="empty_star"-->
|
|
<!-- t-value="5 - (val_integer+1) if val_decimal else 5 - val_integer"/>-->
|
|
<!-- <div class="o_website_rating_static"-->
|
|
<!-- t-att-style="inline_mode and 'display:inline'"-->
|
|
<!-- t-att-title="rating_avg">-->
|
|
<!-- <t t-if="rating_style_compressed">-->
|
|
<!-- <t t-if="rating_avg <= 2">-->
|
|
<!-- <i class="fa fa-star-o"-->
|
|
<!-- role="img"></i>-->
|
|
<!-- </t>-->
|
|
<!-- <t t-elif="rating_avg >= 2.1 and rating_avg <= 3.5">-->
|
|
<!-- <i class="fa fa-star-half-o"-->
|
|
<!-- role="img"></i>-->
|
|
<!-- </t>-->
|
|
<!-- <t t-else="">-->
|
|
<!-- <i class="fa fa-star"-->
|
|
<!-- role="img"></i>-->
|
|
<!-- </t>-->
|
|
<!-- <small class="text-muted ms-1">-->
|
|
<!-- <t t-esc="rating_avg"/>-->
|
|
<!-- </small>-->
|
|
<!-- </t>-->
|
|
<!-- <t t-else="">-->
|
|
<!-- <t t-foreach="range(0, val_integer)"-->
|
|
<!-- t-as="num">-->
|
|
<!-- <i class="fa fa-star"-->
|
|
<!-- role="img"></i>-->
|
|
<!-- </t>-->
|
|
<!-- <t t-if="val_decimal">-->
|
|
<!-- <i class="fa fa-star-half-o"-->
|
|
<!-- role="img"></i>-->
|
|
<!-- </t>-->
|
|
<!-- <t t-foreach="range(0, empty_star)"-->
|
|
<!-- t-as="num">-->
|
|
<!-- <i class="fa fa-star-o"-->
|
|
<!-- role="img"></i>-->
|
|
<!-- </t>-->
|
|
<!-- </t>-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
|
|
<!-- <div class="p_price ">-->
|
|
<!-- <span t-if="best_seller" t-esc="bs.list_price"/>-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="product_bottom slide-in-bottom">-->
|
|
<!-- <div class="oe_website_sale">-->
|
|
<!-- <div class="add_to_cart_button">-->
|
|
<!-- <a t-attf-href="/add_to_cart/{{bs.id}}"-->
|
|
<!-- role="button" class="btn btn-primary a-submit"-->
|
|
<!-- aria-label="Shopping cart" title="Shopping cart">-->
|
|
<!-- <span class="fa fa-shopping-cart"/>-->
|
|
<!-- </a>-->
|
|
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="b_icon">-->
|
|
<!-- <a t-attf-href="/add_to_wishlist_new_arrival/{{bs._create_first_product_variant().id}}"-->
|
|
<!-- class="btn btn-primary a-submit"-->
|
|
<!-- aria-label="Wishlist" title="Wishlist">-->
|
|
<!-- <i class="bi bi-heart"/>-->
|
|
<!-- </a>-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- </a>-->
|
|
<!-- </div>-->
|
|
<!-- </t>-->
|
|
<!-- </div>-->
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</t>
|
|
</templates>
|
|
|