DEV Community

Jeevachaithanyan Sivanandan
Jeevachaithanyan Sivanandan

Posted on

odoo redirect /shop page

if you want to redirect Odoo /shop page to /products

`


<template id="redirect_shop_to_products" inherit_id="website_sale.product">
<xpath expr="//li[@class='breadcrumb-item o_not_editable']/a" position="attributes">
<attribute name="t-att-href">keep('/products', category=0)</attribute>
</xpath>
</template>

`

Top comments (0)