summaryrefslogtreecommitdiff
path: root/addons/website_profile/static/src/js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-06-12 14:52:59 +0000
committerRomain Derie <rde@odoo.com>2019-06-25 09:02:05 +0000
commitb2eceae7c927d1b908f8e90e6a911430a7ccfce7 (patch)
tree65330b51bec738773cea1b0192049fa23528975b /addons/website_profile/static/src/js
parent9bc974c2f8f0c75b97905947f1f46dceb52aac0b (diff)
[IMP] website_sale: show shop category final URL in sitemap
Before this commit, when an user would visit a subcategory in the ecommerce, he would see a slugified URL, containing all the category hierarchy, which is good for SEO purpose. For example, if `Wheel` is a child of `Car` which is a child of `Vehicule`, then the URL would be `/shop/category/vehicule-car-wheel-3`. But on the sitemap, the parents would not be prefixed to the URL, thus the sitemap would simply show `<loc>/shop/category/wheel-3</loc>`. This commit ensure the category parents are added to the final URL of the sitemap, as in the ecommerce. task-1889972 closes odoo/odoo#34073 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website_profile/static/src/js')
0 files changed, 0 insertions, 0 deletions