flectra/addons/website_sale/views/snippets.xml

23 lines
814 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<template id="website_sale" inherit_id="website.snippets" name="Snippet Ecommerce">
<xpath expr="//div[@id='snippet_options']" position="inside">
<div data-js='website_sale'
data-selector=".oe_product.oe_grid"
data-no-check="true">
<li class='dropdown-submenu'>
<a tabindex="-1" href="#">Promote</a>
<ul class="dropdown-menu" data-no-preview="true">
<li data-go_to="top"><a>Push to top</a></li>
<li data-go_to="up"><a>Push up</a></li>
<li data-go_to="down"><a>Push down</a></li>
<li data-go_to="bottom"><a>Push to bottom</a></li>
</ul>
</li>
</div>
</xpath>
</template>
</flectra>