snippets.xml 108 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- Home Slider snippet -->
  4. <template id="s_kingfisher_pro_home_slider" name="Home Slider">
  5. <div id="myCarousel" class="carousel slide theme-home-slider s_kingfisher_pro_home_slider" data-interval="10000" data-ride="carousel">
  6. <!-- Indicators -->
  7. <ol class="carousel-indicators">
  8. <li data-slide-to="0" data-target="#myCarousel" class="active" />
  9. <li data-slide-to="1" data-target="#myCarousel"/>
  10. </ol>
  11. <!-- Wrapper for slides -->
  12. <div class="carousel-inner">
  13. <div class="carousel-item item1 active">
  14. <div class="container">
  15. <div class="row content">
  16. <blockquote class="col-md-6 col-sm-6 col-xs-6">
  17. <p>New Collection</p>
  18. <h2>Men Blazers</h2>
  19. <h5>Save <span>20%</span></h5>
  20. <div class="btn-box">
  21. <a href="#">Shop now <i class="fa fa-angle-right"/></a>
  22. </div>
  23. </blockquote>
  24. <div class="col-md-6 col-sm-6 col-xs-6">
  25. <img src="/kingfisher_pro/static/src/img/men-blazer.png"/>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="carousel-item item2">
  31. <div class="container">
  32. <div class="flex-row-reverse row content">
  33. <blockquote class=" col-md-5 col-sm-6 col-xs-6">
  34. <p>Western Wear</p>
  35. <h2>Women Tops</h2>
  36. <h5>Save <span>20%</span></h5>
  37. <div class="btn-box">
  38. <a href="#">Shop now <i class="fa fa-angle-right"/></a>
  39. </div>
  40. </blockquote>
  41. <div class="col-md-7 col-sm-6 col-xs-6">
  42. <img src="/kingfisher_pro/static/src/img/women-top.png"/>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <!-- Controls -->
  49. <a class="carousel-control-prev" data-target="#myCarousel" data-slide="prev" role="button">
  50. <span class="previous-icon">
  51. <img src="/kingfisher_pro/static/src/img/prev-slide.png"/>
  52. </span>
  53. <span class="sr-only">Previous</span>
  54. </a>
  55. <a class="carousel-control-next" data-slide="next" data-target="#myCarousel" role="button">
  56. <span class="next-icon">
  57. <img src="/kingfisher_pro/static/src/img/next-slide.png"/>
  58. </span>
  59. <span class="sr-only">Next</span>
  60. </a>
  61. </div>
  62. </template>
  63. <!-- Promo Snippet -->
  64. <template id="s_kingfisher_pro_promo_snippet" name="Promo">
  65. <section class="ads-section s_kingfisher_pro_promo_snippet">
  66. <div class="container">
  67. <div class="row">
  68. <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12 text-center">
  69. <section class="adsb-inner adsb-inner1 small-banners">
  70. <div class="inner-content">
  71. <h5>MEN'S SHOES</h5>
  72. <section class="image-section">
  73. <img alt="Shoes" class="img-responsive" src="/kingfisher_pro/static/src/img/snippet/shoes.png" title="Shoes"/>
  74. </section>
  75. <div class="btn-box">
  76. <button>SHOP NOW
  77. <i class="fa fa-angle-right"/></button>
  78. </div>
  79. </div>
  80. <a href="#">
  81. <span class="dark-div">
  82. <span class="inner-div"/>
  83. </span>
  84. </a>
  85. </section>
  86. <section class="adsb-inner adsb-inner4 small-banners">
  87. <div class="inner-content">
  88. <h5>MEN'S WATCH</h5>
  89. <section class="image-section">
  90. <img alt="Watch" class="img-responsive" src="/kingfisher_pro/static/src/img/snippet/watch.png" title="Watch"/>
  91. </section>
  92. <div class="btn-box">
  93. <button>SHOP NOW
  94. <i class="fa fa-angle-right"/></button>
  95. </div>
  96. </div>
  97. <a href="#">
  98. <span class="dark-div">
  99. <span class="inner-div"/>
  100. </span>
  101. </a>
  102. </section>
  103. </div>
  104. <div class="col-lg-6 col-md-4 col-sm-4 col-xs-12">
  105. <section class="adsb-inner adsb-inner2 middle-banner" style="background:rgba(0,0,0,0) url(/kingfisher_pro/static/src/img/snippet/middle-box-bg.png)no-repeat; background-size:cover">
  106. <div class="middle-content">
  107. <a href="#">
  108. <span class="line1">BIGGEST</span><br/>
  109. <span class="line2">SALE</span><br/>
  110. <span class="line3">50%</span>
  111. </a>
  112. </div>
  113. </section>
  114. </div>
  115. <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
  116. <section class="adsb-inner adsb-inner3 small-banners">
  117. <div class="inner-content">
  118. <h5>WOMEN'S GLASSES</h5>
  119. <section class="image-section">
  120. <img alt="Spacs" class="img-responsive" src="/kingfisher_pro/static/src/img/snippet/spacs.png" title="Spacs"/>
  121. </section>
  122. <div class="btn-box">
  123. <button>SHOP NOW <i class="fa fa-angle-right"/></button>
  124. </div>
  125. </div>
  126. <a href="#">
  127. <span class="dark-div">
  128. <span class="inner-div"/>
  129. </span>
  130. </a>
  131. </section>
  132. <section class="adsb-inner adsb-inner3 small-banners">
  133. <div class="inner-content">
  134. <h5>WOMEN'S JEWELLERY</h5>
  135. <section class="image-section">
  136. <img alt="Jewellary" class="img-responsive" src="/kingfisher_pro/static/src/img/snippet/jewellary.png" title="Jewellary"/>
  137. </section>
  138. <div class="btn-box">
  139. <button>SHOP NOW <i class="fa fa-angle-right"/></button>
  140. </div>
  141. </div>
  142. <a href="#">
  143. <span class="dark-div">
  144. <span class="inner-div"/>
  145. </span>
  146. </a>
  147. </section>
  148. </div>
  149. </div>
  150. </div>
  151. </section>
  152. </template>
  153. <!-- Service Snippet -->
  154. <template id="s_kingfisher_pro_service_snippet" name="Service">
  155. <section class="services text-center s_kingfisher_pro_service_snippet">
  156. <div class="container">
  157. <div class="row">
  158. <div class="col-sm-4">
  159. <a href="#">
  160. <i class="fa fa-shopping-cart" alt="Free Shipping"></i>
  161. </a>
  162. <h4 class="">
  163. <b>FREE SHIPPING WORLDWIDE</b>
  164. </h4>
  165. <h5 class="">FREE SHIPPING WORLDWIDE</h5>
  166. </div>
  167. <div class="col-sm-4">
  168. <a href="#">
  169. <i class="fa fa-phone" Title="Customer Service" alt="Customer Service"></i>
  170. </a>
  171. <h4 class="">
  172. <b>24/7 CUSTOMER SERVICE</b>
  173. </h4>
  174. <h5 class="">SERVICE SUPPORT 24/7</h5>
  175. </div>
  176. <div class="col-sm-4">
  177. <a href="#">
  178. <i class="fa fa-money" Title="Money Back" alt="Money Back"></i>
  179. </a>
  180. <h4 class="">
  181. <b>MONEY BACK GUARANTEE !</b>
  182. </h4>
  183. <h5 class="">100% MONEY BACK - 30 DAYS</h5>
  184. </div>
  185. </div>
  186. </div>
  187. </section>
  188. </template>
  189. <!-- Product/Category Slider Snippet -->
  190. <template id="s_kingfisher_pro_product_category_slider" name="Dynamic Product/Category">
  191. <section class="oe_pro_cat_slider" data-prod-cat-slider-type="" contentEditable="false">
  192. <div class="container">
  193. <div class="row oe_our_slider">
  194. <div class="col-md-12">
  195. <div class="title-block">
  196. <h4 id="snippet-title" class="section-title style1">
  197. <span>Product/Category Slider</span>
  198. </h4>
  199. </div>
  200. </div>
  201. </div>
  202. </div>
  203. </section>
  204. </template>
  205. <template id="kingfisher_pro_product_category_slider_option" inherit_id="website.snippet_options" name="Modify Options">
  206. <xpath expr="//div" position="after">
  207. <div data-js="kingfisher_pro_product_category_slider"
  208. data-selector=".oe_pro_cat_slider"
  209. >
  210. <li data-pro_cat_slider="">
  211. <a class="oe_pro_cat_slider">Modify</a>
  212. </li>
  213. </div>
  214. </xpath>
  215. </template>
  216. <template id="kingfisher_pro_pro_cat_slider_view" name="Product/Category Slider">
  217. <div class="title-block">
  218. <h4 t-if="not slider_header">
  219. <span>Trending</span>
  220. </h4>
  221. <h4 t-if="slider_header">
  222. <span>
  223. <t t-esc="slider_header.name"/>
  224. </span>
  225. </h4>
  226. </div>
  227. <div class="psb-inner products-slider-section">
  228. <div class="owl-carousel" t-att-id="'%s%s' % (slider_header.prod_cat_type, slider_header.id)" t-if="slider_details">
  229. <t t-foreach="slider_details" t-as="slide">
  230. <t t-if="slider_type == 'product'">
  231. <div class="cs-product">
  232. <div class="pwp-img">
  233. <div t-if="slide and slide.product_style_tag_id" t-att-class="'%s' % slide.product_style_tag_id.color if slide and slide.product_style_tag_id else ''">
  234. <t t-esc="slide.product_style_tag_id.name"/>
  235. </div>
  236. <a t-att-href="'/shop/product/%s' % slug(slide)">
  237. <img class="front" t-att-alt="slide.name" t-att-title="slide.name" t-att-src="website.image_url(slide, 'image')"/>
  238. <img class="back" t-att-alt="slide.name" t-att-title="slide.name" t-att-src="website.image_url(slide, 'flip_image')"/>
  239. </a>
  240. </div>
  241. <div class="pink-box">
  242. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  243. <t t-set='rates' t-value="slide.rating_get_stats([('website_published', '=', True)])"/>
  244. <t t-call="portal.message_thread">
  245. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  246. <t t-set="object" t-value="slide"/>
  247. <t t-set="only_rating" t-value="1"/>
  248. <t t-set="display_rating" t-value="True"/>
  249. <t t-set="disable_composer" t-value="True"/>
  250. </t>
  251. </ul>
  252. <div class="view">
  253. <div class="shopping-cart">
  254. <a href="#">
  255. <img alt="Shopping-cart" src="/kingfisher_pro/static/src/img/cart2.png" title="Shopping Cart"/>
  256. </a>
  257. </div>
  258. </div>
  259. </div>
  260. <div class="pwp-info">
  261. <p class="pwpi-title">
  262. <a t-att-href="'/shop/product/%s' % slug(slide)">
  263. <t t-esc="slide.name"/>
  264. </a>
  265. </p>
  266. <p class="price">
  267. <span class="price">
  268. <t t-if="(compute_currency(slide.lst_price) - slide.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  269. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(slide.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  270. </t>
  271. <span t-esc="slide.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  272. </span>
  273. </p>
  274. </div>
  275. </div>
  276. </t>
  277. <t t-if="slider_type == 'category'">
  278. <div class="cs-product">
  279. <div class="pwp-img">
  280. <a t-att-href=" '/shop/category/%s' % slug(slide)">
  281. <img t-att-src="website.image_url(slide, 'image')" t-att-title="slide.name" t-att-alt="slide.name"/>
  282. </a>
  283. </div>
  284. <div id="only_categories" class="pwp-info">
  285. <p class="pwpi-title">
  286. <a t-att-href="'/shop/category/%s' % slug(slide)">
  287. <t t-esc="slide.name"/>
  288. </a>
  289. </p>
  290. </div>
  291. </div>
  292. </t>
  293. </t>
  294. </div>
  295. </div>
  296. </template>
  297. <!-- Brands slider snippet -->
  298. <template id="s_kingfisher_pro_brand_custom_slider" name="Brands">
  299. <section class="king_pro_brand_slider" data-brand-count="0" contentEditable="false">
  300. <div class="container">
  301. <div class="row our-brands">
  302. <div class="col-md-12">
  303. <div class="title-block">
  304. <h4 class="section-title style1" id="snippet-title">
  305. <span>Our Brands</span>
  306. </h4>
  307. </div>
  308. </div>
  309. </div>
  310. </div>
  311. </section>
  312. </template>
  313. <template id="kingfisher_pro_brand_custom_slider_option" inherit_id="website.snippet_options" name="Modify Options">
  314. <xpath expr="//div" position="after">
  315. <div data-js="kingfisher_pro_brand_custom_slider"
  316. data-selector=".king_pro_brand_slider"
  317. data-snippet-option-id="kingfisher_pro_brand_custom_slider">
  318. <li data-king_brand_slider="">
  319. <a class="king_pro_brand_slider">Modify</a>
  320. </li>
  321. </div>
  322. </xpath>
  323. </template>
  324. <template id="kingfisher_pro_brand_slider_view" name="Brand Snippet">
  325. <div class="container our-brand-section">
  326. <div class="title-block">
  327. <h4 class="section-title style1" t-if="not brand_header">
  328. <span>Our Brands</span>
  329. </h4>
  330. <h4 class="section-title style1" t-if="brand_header">
  331. <span>
  332. <t t-esc="brand_header"/>
  333. </span>
  334. </h4>
  335. <!-- <hr/> -->
  336. </div>
  337. <div class="psb-inner">
  338. <t t-if="website_brands">
  339. <div id="kingfisher_pro_brand_slider" class="owl-carousel" t-if="website_brands">
  340. <t t-foreach="website_brands" t-as="brand">
  341. <a t-attf-href="/shop/brands?brand=#{ brand.id }">
  342. <div class="barnd-img text-center">
  343. <img t-att-src="website.image_url(brand, 'brand_logo')" t-att-title="brand.name" t-att-alt="brand.name"/>
  344. </div>
  345. </a>
  346. </t>
  347. </div>
  348. </t>
  349. </div>
  350. </div>
  351. </template>
  352. <!-- Single Banner snippet -->
  353. <template id="s_kingfisher_pro_single_banner_snippet" name="Single banner without slider">
  354. <section class="new-collection s_kingfisher_pro_single_banner_snippet" style="background-image:url(/kingfisher_pro/static/src/img/snippet/bg-banner.png)">
  355. <div class="container">
  356. <div class="row">
  357. <div class="col-md-6 col-sm-6 sol-xs-6">
  358. <div class="inner-content">
  359. <h5 class="">New collection</h5>
  360. <h3>2016</h3>
  361. <p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
  362. <br/>
  363. molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero
  364. <br/>
  365. eros et accumsan et iusto odio dignissim qui blandit praesent luptatum
  366. <br/>
  367. zzril delenit augue duis dolore te feugait nulla facilisi.</p>
  368. </div>
  369. <div class="btn-box">
  370. <a href="#">Shop now <i class="fa fa-angle-right"/></a>
  371. </div>
  372. </div>
  373. <div class="col-md-6 col-sm-6 sol-xs-6">
  374. <img alt="Bag" src="/kingfisher_pro/static/src/img/snippet/bag.png" title="Bag"/>
  375. </div>
  376. </div>
  377. </div>
  378. </section>
  379. </template>
  380. <!-- Multi Product slider snippet -->
  381. <template id="s_kingfisher_pro_multi_cat_custom_snippet" name="Multi Product Tabs Slider">
  382. <section class="oe_multi_category_slider" data-multi-cat-slider-type="" contentEditable="false">
  383. <div class="container">
  384. <div class="row our-categories">
  385. <div class="col-md-12">
  386. <div class="title-block">
  387. <h4 id="snippet-title" class="section-title style1"><span>Multi Category Slider</span></h4>
  388. </div>
  389. </div>
  390. </div>
  391. </div>
  392. </section>
  393. </template>
  394. <template id="kingfisher_pro_multi_cat_slider_option" inherit_id="website.snippet_options" name="Modify Options">
  395. <xpath expr="//div" position="after">
  396. <div data-js="kingfisher_pro_multi_cat_custom_snippet"
  397. data-selector=".oe_multi_category_slider"
  398. data-snippet-option-id="kingfisher_pro_multi_cat_custom_snippet">
  399. <li data-multi_category_slider="">
  400. <a class="oe_multi_category_slider">Modify</a>
  401. </li>
  402. </div>
  403. </xpath>
  404. </template>
  405. <template id="kingfisher_pro_multi_cat_slider_view" name="Multi Product Tabs Snippet">
  406. <div class="container">
  407. <div class="title-block">
  408. <h4 class="section-title style1" t-if="not slider_header">
  409. <span>Trending</span>
  410. </h4>
  411. <h4 class="section-title style1" t-if="slider_header">
  412. <span>
  413. <t t-esc="slider_header.name"/>
  414. </span>
  415. </h4>
  416. <!-- <hr/> -->
  417. </div>
  418. <div class="lns-inner latest-news-section">
  419. <div class="row">
  420. <div class="lns-post">
  421. <div class="psb-inner">
  422. <ul id="multi_dynamic_slider_tabs" class="nav nav-tabs">
  423. <t t-if="slider_details.no_of_collection == '2'">
  424. <li class="my-test">
  425. <a href="#multi-collection1" data-toggle="tab">
  426. <t t-esc='slider_details.label_collection_1'/>
  427. </a>
  428. </li>
  429. <li class="my-test">
  430. <a href="#multi-collection2" data-toggle="tab">
  431. <t t-esc='slider_details.label_collection_2'/>
  432. </a>
  433. </li>
  434. </t>
  435. <t t-if="slider_details.no_of_collection == '3'">
  436. <li class="">
  437. <a href="#multi-collection1" data-toggle="tab">
  438. <t t-esc='slider_details.label_collection_1'/>
  439. </a>
  440. </li>
  441. <li class="">
  442. <a href="#multi-collection2" data-toggle="tab">
  443. <t t-esc='slider_details.label_collection_2'/>
  444. </a>
  445. </li>
  446. <li class="">
  447. <a href="#multi-collection3" data-toggle="tab">
  448. <t t-esc='slider_details.label_collection_3'/>
  449. </a>
  450. </li>
  451. </t>
  452. <t t-if="slider_details.no_of_collection == '4'">
  453. <li class="">
  454. <a href="#multi-collection1" data-toggle="tab">
  455. <t t-esc='slider_details.label_collection_1'/>
  456. </a>
  457. </li>
  458. <li class="">
  459. <a href="#multi-collection2" data-toggle="tab">
  460. <t t-esc='slider_details.label_collection_2'/>
  461. </a>
  462. </li>
  463. <li class="">
  464. <a href="#multi-collection3" data-toggle="tab">
  465. <t t-esc='slider_details.label_collection_3'/>
  466. </a>
  467. </li>
  468. <li class="">
  469. <a href="#multi-collection4" data-toggle="tab">
  470. <t t-esc='slider_details.label_collection_4'/>
  471. </a>
  472. </li>
  473. </t>
  474. <t t-if="slider_details.no_of_collection == '5'">
  475. <li class="">
  476. <a href="#multi-collection1" data-toggle="tab">
  477. <t t-esc='slider_details.label_collection_1'/>
  478. </a>
  479. </li>
  480. <li class="">
  481. <a href="#multi-collection2" data-toggle="tab">
  482. <t t-esc='slider_details.label_collection_2'/>
  483. </a>
  484. </li>
  485. <li class="">
  486. <a href="#multi-collection3" data-toggle="tab">
  487. <t t-esc='slider_details.label_collection_3'/>
  488. </a>
  489. </li>
  490. <li class="">
  491. <a href="#multi-collection4" data-toggle="tab">
  492. <t t-esc='slider_details.label_collection_4'/>
  493. </a>
  494. </li>
  495. <li class="">
  496. <a href="#multi-collection5" data-toggle="tab">
  497. <t t-esc='slider_details.label_collection_5'/>
  498. </a>
  499. </li>
  500. </t>
  501. </ul>
  502. <div class="tab-content">
  503. <t t-if="slider_details.no_of_collection == '2'">
  504. <div class="active multi_hide" id="multi-collection1">
  505. <div class="owl-carousel" t-att-id="'multi-collection1-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  506. <t t-foreach="slider_details.collection_1_ids" t-as="product">
  507. <div class="cs-product">
  508. <div class="pwp-img">
  509. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  510. <t t-esc="product.product_style_tag_id.name"/>
  511. </div>
  512. <a t-att-href="'/shop/product/%s' % slug(product)">
  513. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  514. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  515. </a>
  516. </div>
  517. <div class="pink-box">
  518. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  519. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  520. <t t-call="portal.message_thread">
  521. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  522. <t t-set="object" t-value="product"/>
  523. <t t-set="only_rating" t-value="1"/>
  524. <t t-set="display_rating" t-value="True"/>
  525. <t t-set="disable_composer" t-value="True"/>
  526. </t>
  527. </ul>
  528. <div class="view">
  529. <div class="shopping-cart">
  530. <a t-attf-href="/shop/product/#{ slug(product) }">
  531. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  532. </a>
  533. </div>
  534. </div>
  535. </div>
  536. <div class="pwp-info">
  537. <p class="pwpi-title">
  538. <a t-attf-href="/shop/product/#{ slug(product) }">
  539. <span t-field='product.name'/>
  540. </a>
  541. </p>
  542. <p class="price">
  543. <span class="price">
  544. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  545. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  546. </t>
  547. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  548. </span>
  549. </p>
  550. </div>
  551. </div>
  552. </t>
  553. </div>
  554. </div>
  555. <div class="multi_hide" id="multi-collection2">
  556. <div class="owl-carousel" t-att-id="'multi-collection2-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  557. <t t-foreach="slider_details.collection_2_ids" t-as="product">
  558. <div class="cs-product">
  559. <div class="pwp-img">
  560. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  561. <t t-esc="product.product_style_tag_id.name"/>
  562. </div>
  563. <a t-att-href="'/shop/product/%s' % slug(product)">
  564. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  565. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  566. </a>
  567. </div>
  568. <div class="pink-box">
  569. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  570. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  571. <t t-call="portal.message_thread">
  572. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  573. <t t-set="object" t-value="product"/>
  574. <t t-set="only_rating" t-value="1"/>
  575. <t t-set="display_rating" t-value="True"/>
  576. <t t-set="disable_composer" t-value="True"/>
  577. </t>
  578. </ul>
  579. <div class="view">
  580. <div class="shopping-cart">
  581. <a t-attf-href="/shop/product/#{ slug(product) }">
  582. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  583. </a>
  584. </div>
  585. </div>
  586. </div>
  587. <div class="pwp-info">
  588. <p class="pwpi-title">
  589. <a t-attf-href="/shop/product/#{ slug(product) }">
  590. <span t-field='product.name'/>
  591. </a>
  592. </p>
  593. <span class="price">
  594. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  595. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  596. </t>
  597. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  598. </span>
  599. </div>
  600. </div>
  601. </t>
  602. </div>
  603. </div>
  604. </t>
  605. <t t-if="slider_details.no_of_collection == '3'">
  606. <div class="active multi_hide" id="multi-collection1">
  607. <div class="owl-carousel" t-att-id="'multi-collection1-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  608. <t t-foreach="slider_details.collection_1_ids" t-as="product">
  609. <div class="cs-product">
  610. <div class="pwp-img">
  611. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  612. <t t-esc="product.product_style_tag_id.name"/>
  613. </div>
  614. <a t-att-href="'/shop/product/%s' % slug(product)">
  615. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  616. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  617. </a>
  618. </div>
  619. <div class="pink-box">
  620. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  621. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  622. <t t-call="portal.message_thread">
  623. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  624. <t t-set="object" t-value="product"/>
  625. <t t-set="only_rating" t-value="1"/>
  626. <t t-set="display_rating" t-value="True"/>
  627. <t t-set="disable_composer" t-value="True"/>
  628. </t>
  629. </ul>
  630. <div class="view">
  631. <div class="shopping-cart">
  632. <a t-attf-href="/shop/product/#{ slug(product) }">
  633. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  634. </a>
  635. </div>
  636. </div>
  637. </div>
  638. <div class="pwp-info">
  639. <p class="pwpi-title">
  640. <a t-attf-href="/shop/product/#{ slug(product) }">
  641. <span t-field='product.name'/>
  642. </a>
  643. </p>
  644. <p class="price">
  645. <span class="price">
  646. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  647. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  648. </t>
  649. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  650. </span>
  651. </p>
  652. </div>
  653. </div>
  654. </t>
  655. </div>
  656. </div>
  657. <div class="multi_hide" id="multi-collection2">
  658. <div class="owl-carousel" t-att-id="'multi-collection2-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  659. <t t-foreach="slider_details.collection_2_ids" t-as="product">
  660. <div class="cs-product">
  661. <div class="pwp-img">
  662. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  663. <t t-esc="product.product_style_tag_id.name"/>
  664. </div>
  665. <a t-att-href="'/shop/product/%s' % slug(product)">
  666. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  667. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  668. </a>
  669. </div>
  670. <div class="pink-box">
  671. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  672. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  673. <t t-call="portal.message_thread">
  674. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  675. <t t-set="object" t-value="product"/>
  676. <t t-set="only_rating" t-value="1"/>
  677. <t t-set="display_rating" t-value="True"/>
  678. <t t-set="disable_composer" t-value="True"/>
  679. </t>
  680. </ul>
  681. <div class="view">
  682. <div class="shopping-cart">
  683. <a t-attf-href="/shop/product/#{ slug(product) }">
  684. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  685. </a>
  686. </div>
  687. </div>
  688. </div>
  689. <div class="pwp-info">
  690. <p class="pwpi-title">
  691. <a t-attf-href="/shop/product/#{ slug(product) }">
  692. <span t-field='product.name'/>
  693. </a>
  694. </p>
  695. <p class="price">
  696. <span class="price">
  697. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  698. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  699. </t>
  700. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  701. </span>
  702. </p>
  703. </div>
  704. </div>
  705. </t>
  706. </div>
  707. </div>
  708. <div class="multi_hide" id="multi-collection3">
  709. <div class="owl-carousel" t-att-id="'multi-collection3-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  710. <t t-foreach="slider_details.collection_3_ids" t-as="product">
  711. <div class="cs-product">
  712. <div class="pwp-img">
  713. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  714. <t t-esc="product.product_style_tag_id.name"/>
  715. </div>
  716. <a t-att-href="'/shop/product/%s' % slug(product)">
  717. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  718. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  719. </a>
  720. </div>
  721. <div class="pink-box">
  722. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  723. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  724. <t t-call="portal.message_thread">
  725. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  726. <t t-set="object" t-value="product"/>
  727. <t t-set="only_rating" t-value="1"/>
  728. <t t-set="display_rating" t-value="True"/>
  729. <t t-set="disable_composer" t-value="True"/>
  730. </t>
  731. </ul>
  732. <div class="view">
  733. <div class="shopping-cart">
  734. <a t-attf-href="/shop/product/#{ slug(product) }">
  735. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  736. </a>
  737. </div>
  738. </div>
  739. </div>
  740. <div class="pwp-info">
  741. <p class="pwpi-title">
  742. <a t-attf-href="/shop/product/#{ slug(product) }">
  743. <span t-field='product.name'/>
  744. </a>
  745. </p>
  746. <p class="price">
  747. <span class="price">
  748. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  749. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  750. </t>
  751. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  752. </span>
  753. </p>
  754. </div>
  755. </div>
  756. </t>
  757. </div>
  758. </div>
  759. </t>
  760. <t t-if="slider_details.no_of_collection == '4'">
  761. <div class="active multi_hide" id="multi-collection1">
  762. <div class="owl-carousel" t-att-id="'multi-collection1-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  763. <t t-foreach="slider_details.collection_1_ids" t-as="product">
  764. <div class="cs-product">
  765. <div class="pwp-img">
  766. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  767. <t t-esc="product.product_style_tag_id.name"/>
  768. </div>
  769. <a t-att-href="'/shop/product/%s' % slug(product)">
  770. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  771. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  772. </a>
  773. </div>
  774. <div class="pink-box">
  775. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  776. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  777. <t t-call="portal.message_thread">
  778. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  779. <t t-set="object" t-value="product"/>
  780. <t t-set="only_rating" t-value="1"/>
  781. <t t-set="display_rating" t-value="True"/>
  782. <t t-set="disable_composer" t-value="True"/>
  783. </t>
  784. </ul>
  785. <div class="view">
  786. <div class="shopping-cart">
  787. <a t-attf-href="/shop/product/#{ slug(product) }">
  788. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  789. </a>
  790. </div>
  791. </div>
  792. </div>
  793. <div class="pwp-info">
  794. <p class="pwpi-title">
  795. <a t-attf-href="/shop/product/#{ slug(product) }">
  796. <span t-field='product.name'/>
  797. </a>
  798. </p>
  799. <p class="price">
  800. <span class="price">
  801. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount' ">
  802. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  803. </t>
  804. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  805. </span>
  806. </p>
  807. </div>
  808. </div>
  809. </t>
  810. </div>
  811. </div>
  812. <div class="multi_hide" id="multi-collection2">
  813. <div class="owl-carousel" t-att-id="'multi-collection2-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  814. <t t-foreach="slider_details.collection_2_ids" t-as="product">
  815. <div class="cs-product">
  816. <div class="pwp-img">
  817. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  818. <t t-esc="product.product_style_tag_id.name"/>
  819. </div>
  820. <a t-att-href="'/shop/product/%s' % slug(product)">
  821. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  822. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  823. </a>
  824. </div>
  825. <div class="pink-box">
  826. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  827. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  828. <t t-call="portal.message_thread">
  829. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  830. <t t-set="object" t-value="product"/>
  831. <t t-set="only_rating" t-value="1"/>
  832. <t t-set="display_rating" t-value="True"/>
  833. <t t-set="disable_composer" t-value="True"/>
  834. </t>
  835. </ul>
  836. <div class="view">
  837. <div class="shopping-cart">
  838. <a t-attf-href="/shop/product/#{ slug(product) }">
  839. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  840. </a>
  841. </div>
  842. </div>
  843. </div>
  844. <div class="pwp-info">
  845. <p class="pwpi-title">
  846. <a t-attf-href="/shop/product/#{ slug(product) }">
  847. <span t-field='product.name'/>
  848. </a>
  849. </p>
  850. <p class="price">
  851. <span class="price">
  852. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  853. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  854. </t>
  855. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  856. </span>
  857. </p>
  858. </div>
  859. </div>
  860. </t>
  861. </div>
  862. </div>
  863. <div class="multi_hide" id="multi-collection3">
  864. <div class="owl-carousel" t-att-id="'multi-collection3-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  865. <t t-foreach="slider_details.collection_3_ids" t-as="product">
  866. <div class="cs-product">
  867. <div class="pwp-img">
  868. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  869. <t t-esc="product.product_style_tag_id.name"/>
  870. </div>
  871. <a t-att-href="'/shop/product/%s' % slug(product)">
  872. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  873. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  874. </a>
  875. </div>
  876. <div class="pink-box">
  877. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  878. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  879. <t t-call="portal.message_thread">
  880. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  881. <t t-set="object" t-value="product"/>
  882. <t t-set="only_rating" t-value="1"/>
  883. <t t-set="display_rating" t-value="True"/>
  884. <t t-set="disable_composer" t-value="True"/>
  885. </t>
  886. </ul>
  887. <div class="view">
  888. <div class="shopping-cart">
  889. <a t-attf-href="/shop/product/#{ slug(product) }">
  890. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  891. </a>
  892. </div>
  893. </div>
  894. </div>
  895. <div class="pwp-info">
  896. <p class="pwpi-title">
  897. <a t-attf-href="/shop/product/#{ slug(product) }">
  898. <span t-field='product.name'/>
  899. </a>
  900. </p>
  901. <p class="price">
  902. <span class="price">
  903. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  904. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  905. </t>
  906. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  907. </span>
  908. </p>
  909. </div>
  910. </div>
  911. </t>
  912. </div>
  913. </div>
  914. <div class="multi_hide" id="multi-collection4">
  915. <div class="owl-carousel" t-att-id="'multi-collection4-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  916. <t t-foreach="slider_details.collection_4_ids" t-as="product">
  917. <div class="cs-product">
  918. <div class="pwp-img">
  919. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  920. <t t-esc="product.product_style_tag_id.name"/>
  921. </div>
  922. <a t-att-href="'/shop/product/%s' % slug(product)">
  923. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  924. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  925. </a>
  926. </div>
  927. <div class="pink-box">
  928. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  929. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  930. <t t-call="portal.message_thread">
  931. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  932. <t t-set="object" t-value="product"/>
  933. <t t-set="only_rating" t-value="1"/>
  934. <t t-set="display_rating" t-value="True"/>
  935. <t t-set="disable_composer" t-value="True"/>
  936. </t>
  937. </ul>
  938. <div class="view">
  939. <div class="shopping-cart">
  940. <a t-attf-href="/shop/product/#{ slug(product) }">
  941. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  942. </a>
  943. </div>
  944. </div>
  945. </div>
  946. <div class="pwp-info">
  947. <p class="pwpi-title">
  948. <a t-attf-href="/shop/product/#{ slug(product) }">
  949. <span t-field='product.name'/>
  950. </a>
  951. </p>
  952. <p class="price">
  953. <span class="price">
  954. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  955. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  956. </t>
  957. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  958. </span>
  959. </p>
  960. </div>
  961. </div>
  962. </t>
  963. </div>
  964. </div>
  965. </t>
  966. <t t-if="slider_details.no_of_collection == '5'">
  967. <div class="active multi_hide" id="multi-collection1">
  968. <div class="owl-carousel" t-att-id="'multi-collection1-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  969. <t t-foreach="slider_details.collection_1_ids" t-as="product">
  970. <div class="cs-product">
  971. <div class="pwp-img">
  972. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  973. <t t-esc="product.product_style_tag_id.name"/>
  974. </div>
  975. <a t-att-href="'/shop/product/%s' % slug(product)">
  976. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  977. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  978. </a>
  979. </div>
  980. <div class="pink-box">
  981. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  982. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  983. <t t-call="portal.message_thread">
  984. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  985. <t t-set="object" t-value="product"/>
  986. <t t-set="only_rating" t-value="1"/>
  987. <t t-set="display_rating" t-value="True"/>
  988. <t t-set="disable_composer" t-value="True"/>
  989. </t>
  990. </ul>
  991. <div class="view">
  992. <div class="shopping-cart">
  993. <a t-attf-href="/shop/product/#{ slug(product) }">
  994. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  995. </a>
  996. </div>
  997. </div>
  998. </div>
  999. <div class="pwp-info">
  1000. <p class="pwpi-title">
  1001. <a t-attf-href="/shop/product/#{ slug(product) }">
  1002. <span t-field='product.name'/>
  1003. </a>
  1004. </p>
  1005. <p class="price">
  1006. <span class="price">
  1007. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  1008. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  1009. </t>
  1010. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  1011. </span>
  1012. </p>
  1013. </div>
  1014. </div>
  1015. </t>
  1016. </div>
  1017. </div>
  1018. <div class="multi_hide" id="multi-collection2">
  1019. <div class="owl-carousel" t-att-id="'multi-collection2-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  1020. <t t-foreach="slider_details.collection_2_ids" t-as="product">
  1021. <div class="cs-product">
  1022. <div class="pwp-img">
  1023. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  1024. <t t-esc="product.product_style_tag_id.name"/>
  1025. </div>
  1026. <a t-att-href="'/shop/product/%s' % slug(product)">
  1027. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  1028. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  1029. </a>
  1030. </div>
  1031. <div class="pink-box">
  1032. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  1033. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  1034. <t t-call="portal.message_thread">
  1035. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  1036. <t t-set="object" t-value="product"/>
  1037. <t t-set="only_rating" t-value="1"/>
  1038. <t t-set="display_rating" t-value="True"/>
  1039. <t t-set="disable_composer" t-value="True"/>
  1040. </t>
  1041. </ul>
  1042. <div class="view">
  1043. <div class="shopping-cart">
  1044. <a t-attf-href="/shop/product/#{ slug(product) }">
  1045. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  1046. </a>
  1047. </div>
  1048. </div>
  1049. </div>
  1050. <div class="pwp-info">
  1051. <p class="pwpi-title">
  1052. <a t-attf-href="/shop/product/#{ slug(product) }">
  1053. <span t-field='product.name'/>
  1054. </a>
  1055. </p>
  1056. <p class="price">
  1057. <span class="price">
  1058. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  1059. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  1060. </t>
  1061. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  1062. </span>
  1063. </p>
  1064. </div>
  1065. </div>
  1066. </t>
  1067. </div>
  1068. </div>
  1069. <div class="multi_hide" id="multi-collection3">
  1070. <div class="owl-carousel" t-att-id="'multi-collection3-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  1071. <t t-foreach="slider_details.collection_3_ids" t-as="product">
  1072. <div class="cs-product">
  1073. <div class="pwp-img">
  1074. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  1075. <t t-esc="product.product_style_tag_id.name"/>
  1076. </div>
  1077. <a t-att-href="'/shop/product/%s' % slug(product)">
  1078. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  1079. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  1080. </a>
  1081. </div>
  1082. <div class="pink-box">
  1083. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  1084. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  1085. <t t-call="portal.message_thread">
  1086. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  1087. <t t-set="object" t-value="product"/>
  1088. <t t-set="only_rating" t-value="1"/>
  1089. <t t-set="display_rating" t-value="True"/>
  1090. <t t-set="disable_composer" t-value="True"/>
  1091. </t>
  1092. </ul>
  1093. <div class="view">
  1094. <div class="shopping-cart">
  1095. <a t-attf-href="/shop/product/#{ slug(product) }">
  1096. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  1097. </a>
  1098. </div>
  1099. </div>
  1100. </div>
  1101. <div class="pwp-info">
  1102. <p class="pwpi-title">
  1103. <a t-attf-href="/shop/product/#{ slug(product) }">
  1104. <span t-field='product.name'/>
  1105. </a>
  1106. </p>
  1107. <p class="price">
  1108. <span class="price">
  1109. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  1110. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  1111. </t>
  1112. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  1113. </span>
  1114. </p>
  1115. </div>
  1116. </div>
  1117. </t>
  1118. </div>
  1119. </div>
  1120. <div class="multi_hide" id="multi-collection4">
  1121. <div class="owl-carousel" t-att-id="'multi-collection4-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  1122. <t t-foreach="slider_details.collection_4_ids" t-as="product">
  1123. <div class="cs-product">
  1124. <div class="pwp-img">
  1125. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  1126. <t t-esc="product.product_style_tag_id.name"/>
  1127. </div>
  1128. <a t-att-href="'/shop/product/%s' % slug(product)">
  1129. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  1130. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  1131. </a>
  1132. </div>
  1133. <div class="pink-box">
  1134. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  1135. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  1136. <t t-call="portal.message_thread">
  1137. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  1138. <t t-set="object" t-value="product"/>
  1139. <t t-set="only_rating" t-value="1"/>
  1140. <t t-set="display_rating" t-value="True"/>
  1141. <t t-set="disable_composer" t-value="True"/>
  1142. </t>
  1143. </ul>
  1144. <div class="view">
  1145. <div class="shopping-cart">
  1146. <a t-attf-href="/shop/product/#{ slug(product) }">
  1147. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  1148. </a>
  1149. </div>
  1150. </div>
  1151. </div>
  1152. <div class="pwp-info">
  1153. <p class="pwpi-title">
  1154. <a t-attf-href="/shop/product/#{ slug(product) }">
  1155. <span t-field='product.name'/>
  1156. </a>
  1157. </p>
  1158. <p class="price">
  1159. <span class="price">
  1160. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  1161. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  1162. </t>
  1163. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  1164. </span>
  1165. </p>
  1166. </div>
  1167. </div>
  1168. </t>
  1169. </div>
  1170. </div>
  1171. <div class="multi_hide" id="multi-collection5">
  1172. <div class="owl-carousel" t-att-id="'multi-collection5-%s-%s' %(slider_header.no_of_collection, slider_details.id)" t-if="slider_details">
  1173. <t t-foreach="slider_details.collection_5_ids" t-as="product">
  1174. <div class="cs-product">
  1175. <div class="pwp-img">
  1176. <div t-if="product and product.product_style_tag_id" t-att-class="'%s' % product.product_style_tag_id.color if product and product.product_style_tag_id else ''">
  1177. <t t-esc="product.product_style_tag_id.name"/>
  1178. </div>
  1179. <a t-att-href="'/shop/product/%s' % slug(product)">
  1180. <img class="front" t-att-alt="product.name" t-att-title="product.name" t-att-src="website.image_url(product, 'image')"/>
  1181. <img class="back" t-att-alt="product.name" t-att-src="website.image_url(product, 'flip_image')"/>
  1182. </a>
  1183. </div>
  1184. <div class="pink-box">
  1185. <ul class='ratings' t-if="request.env.ref('website_sale.product_comment').active">
  1186. <t t-set='rates' t-value="product.rating_get_stats([('website_published', '=', True)])"/>
  1187. <t t-call="portal.message_thread">
  1188. <t t-set="rating_val" t-value="rates.get('avg')" t-if="rates and rates.get('avg')"/>
  1189. <t t-set="object" t-value="product"/>
  1190. <t t-set="only_rating" t-value="1"/>
  1191. <t t-set="display_rating" t-value="True"/>
  1192. <t t-set="disable_composer" t-value="True"/>
  1193. </t>
  1194. </ul>
  1195. <div class="view">
  1196. <div class="shopping-cart">
  1197. <a t-attf-href="/shop/product/#{ slug(product) }">
  1198. <img src="/kingfisher_pro/static/src/img/cart2.png" alt="Shopping-cart" title="Shopping Cart" />
  1199. </a>
  1200. </div>
  1201. </div>
  1202. </div>
  1203. <div class="pwp-info">
  1204. <p class="pwpi-title">
  1205. <a t-attf-href="/shop/product/#{ slug(product) }">
  1206. <span t-field='product.name'/>
  1207. </a>
  1208. </p>
  1209. <p class="price">
  1210. <span class="price">
  1211. <t t-if="(compute_currency(product.lst_price) - product.website_price) &gt; 0.1 and website.get_current_pricelist().discount_policy=='without_discount'">
  1212. <del class="text-danger mr8" style="white-space: nowrap;" t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}"/>
  1213. </t>
  1214. <span t-esc="product.website_price" t-options="{'widget': 'monetary', 'display_currency': website.currency_id}"/>
  1215. </span>
  1216. </p>
  1217. </div>
  1218. </div>
  1219. </t>
  1220. </div>
  1221. </div>
  1222. </t>
  1223. </div>
  1224. </div>
  1225. </div>
  1226. </div>
  1227. </div>
  1228. </div>
  1229. </template>
  1230. <!-- Blog Slider Snippet -->
  1231. <template id="s_kingfisher_pro_blog_custom_snippet" name="Blog Slider">
  1232. <section class="king_pro_blog_slider" data-blog-slider-type="" contentEditable="false">
  1233. <div class="container">
  1234. <div class="row">
  1235. <div class="col-md-12">
  1236. <div class="title-block">
  1237. <h4 id="snippet-title" class="section-title style1"><span>Blog post slider</span></h4>
  1238. </div>
  1239. </div>
  1240. </div>
  1241. </div>
  1242. </section>
  1243. </template>
  1244. <template id="kingfisher_pro_blog_slider_option" inherit_id="website.snippet_options" name="Modify Options">
  1245. <xpath expr="//div" position="after">
  1246. <div data-js="kingfisher_pro_blog_custom_snippet"
  1247. data-selector=".king_pro_blog_slider"
  1248. data-snippet-option-id="kingfisher_pro_blog_custom_snippet">
  1249. <li data-king_blog_slider="">
  1250. <a class="king_pro_blog_slider">Modify</a>
  1251. </li>
  1252. </div>
  1253. </xpath>
  1254. </template>
  1255. <template id="kingfisher_pro_blog_slider_view" name="Blog Snippet">
  1256. <div class="container">
  1257. <div class="title-block">
  1258. <h4 class="section-title style1" t-if="not slider_header">
  1259. <span>Blog post slider</span>
  1260. </h4>
  1261. <h4 class="section-title style1" t-if="slider_header">
  1262. <span>
  1263. <t t-esc="slider_header.name"/>
  1264. </span>
  1265. </h4>
  1266. </div>
  1267. <div class="lns-inner latest-news-section">
  1268. <div class="row">
  1269. <div class="container">
  1270. <div class="lns-post">
  1271. <div class="psb-inner">
  1272. <div class="owl-carousel" t-att-id="'%s-%s' % (slider_header.no_of_counts, slider_header.id)" t-if="blog_slider_details">
  1273. <t t-foreach="blog_slider_details" t-as="slide">
  1274. <t t-set="website_blog" t-value="json.loads(slide.cover_properties)"/>
  1275. <div class="post-img">
  1276. <a t-attf-href="/blog/#{ slug(slide.blog_id) }/post/#{ slug(slide) }">
  1277. <div t-att-style="'background-image: %s; background-size: cover; width: 400px; height:300px;' % website_blog.get('background-image') if website_blog.get('background-image') != 'none' else 'background: black; background-size: cover; width: 400px; height:300px;'"/>
  1278. </a>
  1279. <div class="blog-meta">
  1280. <h3>
  1281. <a t-attf-href="/blog/#{ slug(slide.blog_id) }/post/#{ slug(slide) }">
  1282. <h4 t-field="slide.name"/>
  1283. </a>
  1284. </h3>
  1285. <span class="pull-left text-left">by <t t-esc="slide.author_id.name"/></span>
  1286. <span class="time pull-right text-right"><span class='fa fa-clock-o'></span> <t t-esc="slide.create_date"/></span>
  1287. </div>
  1288. </div>
  1289. </t>
  1290. </div>
  1291. </div>
  1292. </div>
  1293. </div>
  1294. </div>
  1295. </div>
  1296. </div>
  1297. </template>
  1298. <!-- Testimonial Snippet -->
  1299. <template id="s_kingfisher_pro_testimonials_slider" name="Testimonials slider">
  1300. <section class="testimonials s_kingfisher_pro_testimonials_slider" style="background-image:url(/kingfisher_pro/static/src/img/snippet/testimonial-bg.png)" data-scroll-background-ratio="0.3">
  1301. <div class="container">
  1302. <div class="row">
  1303. <div class="col-md-3 col-sm-12">
  1304. <div class="pf-page-title">
  1305. <h4 class="">Testimonials</h4>
  1306. </div>
  1307. </div>
  1308. <div class="col-md-9 col-sm-12 slider">
  1309. <div id="myQuoteCarousel" class="psb-inner carousel quotecarousel slide s_kingfisher_pro_testimonials_slider" data-interval="10000">
  1310. <div class="carousel-inner">
  1311. <div class="carousel-item text_only active">
  1312. <div class="container">
  1313. <div class="row content">
  1314. <blockquote>
  1315. <p>
  1316. Write a quote here from one of your customers. Quotes are a
  1317. great way to build confidence in your products or services.
  1318. This theme is very easy to build and form the customer's standpoint it's very
  1319. intuitive.
  1320. </p>
  1321. <p class="author">John Warner</p>
  1322. <p class="designation">CEO, ABC company</p>
  1323. </blockquote>
  1324. </div>
  1325. </div>
  1326. </div>
  1327. <div class="carousel-item text_only">
  1328. <div class="container">
  1329. <div class="row content">
  1330. <blockquote>
  1331. <p>
  1332. This theme is very easy to build and form the customer's standpoint it's very
  1333. intuitive.
  1334. Odoo provides essential platform for our project management.
  1335. Things are better organized and more visible with it.
  1336. </p>
  1337. <p class="author">John Warner</p>
  1338. <p class="designation">CEO, ABC company</p>
  1339. </blockquote>
  1340. </div>
  1341. </div>
  1342. </div>
  1343. </div>
  1344. <a class= "carousel-control-prev" data-target= "#myQuoteCarousel" data-slide= "prev">
  1345. <i class='fa fa-angle-left'/>
  1346. </a>
  1347. <a class= "carousel-control-next" data-target= "#myQuoteCarousel" data-slide= "next">
  1348. <i class='fa fa-angle-right'/>
  1349. </a>
  1350. </div>
  1351. </div>
  1352. </div>
  1353. </div>
  1354. </section>
  1355. </template>
  1356. <template id="kingfisher_pro_extra_snippet" inherit_id="website.snippets" name="Kingfisher Pro Extra Snippet">
  1357. <xpath expr="//div[@id='o_scroll']" position="inside">
  1358. <div class="o_panel" id="snippet_theme_crafito">
  1359. <div class="o_panel_header">
  1360. <span class="fa-stack">
  1361. <i class="fa fa-circle-o-notch fa-stack-1x"/>
  1362. </span>Kingfisher Pro
  1363. </div>
  1364. <div class="o_panel_body">
  1365. <t t-snippet="kingfisher_pro.s_kingfisher_pro_home_slider"
  1366. t-thumbnail="/kingfisher_pro/static/src/img/icons/home-slider-icon.png"/>
  1367. <t t-snippet="kingfisher_pro.s_kingfisher_pro_promo_snippet"
  1368. t-thumbnail="/kingfisher_pro/static/src/img/icons/promo-snippet.png"/>
  1369. <t t-snippet="kingfisher_pro.s_kingfisher_pro_single_banner_snippet"
  1370. t-thumbnail="/kingfisher_pro/static/src/img/icons/banner-without-slider.png"/>
  1371. <t t-snippet="kingfisher_pro.s_kingfisher_pro_service_snippet"
  1372. t-thumbnail="/kingfisher_pro/static/src/img/icons/service.png"/>
  1373. <t t-snippet="kingfisher_pro.s_kingfisher_pro_testimonials_slider"
  1374. t-thumbnail="/kingfisher_pro/static/src/img/icons/testimonials.png"/>
  1375. <t t-snippet="kingfisher_pro.s_kingfisher_pro_product_category_slider"
  1376. t-thumbnail="/kingfisher_pro/static/src/img/icons/product-category-slider.png"/>
  1377. <t t-snippet="kingfisher_pro.s_kingfisher_pro_brand_custom_slider"
  1378. t-thumbnail="/kingfisher_pro/static/src/img/icons/brand.png"/>
  1379. <t t-snippet="kingfisher_pro.s_kingfisher_pro_blog_custom_snippet"
  1380. t-thumbnail="/kingfisher_pro/static/src/img/icons/blog.png"/>
  1381. <t t-snippet="kingfisher_pro.s_kingfisher_pro_multi_cat_custom_snippet"
  1382. t-thumbnail="/kingfisher_pro/static/src/img/icons/tabs.png"/>
  1383. </div>
  1384. </div>
  1385. </xpath>
  1386. </template>
  1387. </odoo>