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.
82 lines
4.4 KiB
82 lines
4.4 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- Winter Collection-->
|
|
<template id="winter_collection" name="Winter Collection Carousel">
|
|
<section class="container py-md-5 winter_products_carousel">
|
|
<div class="st-wrapper">
|
|
<div class="st-product-list__header">
|
|
<h3 class="st-section__head">Winter Collections</h3>
|
|
<a href="/shop" class="st-link">View all</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
<!-- Custom dynamic snippet template -->
|
|
<template id="winter_product_carousel_snippet">
|
|
|
|
<div class="container" t-ignore="True">
|
|
<section class="container py-md-5 winter_products_carousel">
|
|
<div class="st-wrapper">
|
|
<div class="st-product-list__header">
|
|
<h3 class="st-section__head">Winter Collections</h3>
|
|
<a href="/shop" class="st-link">View all</a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<t t-if="products">
|
|
<div class="owl-carousel top_deal_product" id="product">
|
|
<t t-foreach="products" t-as="product"
|
|
t-key="product.id">
|
|
<t t-set="product_href" t-value="product['website_url']"/>
|
|
<div class="item st-product_card">
|
|
<div class="st-product_card--img">
|
|
<a href="product_href">
|
|
<img class="st-auto-image"
|
|
t-attf-src="data:image/jpeg;base64,{{product['image_1920']}}"/>
|
|
<div class="st-product_overlay"
|
|
style="padding: 10px 10px;">
|
|
<div class="st-product_overlay-content"
|
|
style="width: 100%;">
|
|
<a
|
|
class="st-cart_btn--sm btn-add-to-cart text-center "
|
|
href="#"
|
|
t-att-data-product-id="product['id']"
|
|
role="button">
|
|
<i class="ri-shopping-cart-2-fill"/>
|
|
Add to cart
|
|
</a>
|
|
<button type="button"
|
|
class="btn o_add_wishlist st-product-like_btn"
|
|
t-att-data-product-id="product['id']"
|
|
role="button">
|
|
<i class="fa fa-heart"/>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
<div class="st-product_card--detail">
|
|
<a href="product_href">
|
|
<div class="st-product_card-pricing">
|
|
<span class="st-product_offer-price"
|
|
t-esc="product['list_price']"/>
|
|
</div>
|
|
<span class="st-product_name"
|
|
t-esc="product['name']"/>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</div>
|
|
</t>
|
|
<div class="slider-counter"></div>
|
|
<t t-if="not products">
|
|
<div style="text-align: center;">
|
|
<b>Please Add A Product Under the Winter collection Product Category.
|
|
</b>
|
|
</div>
|
|
</t>
|
|
</div>
|
|
<!-- </div>-->
|
|
</template>
|
|
</odoo>
|
|
|