diff options
| author | Romain Derie <rde@odoo.com> | 2019-06-12 14:52:59 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-06-25 09:02:05 +0000 |
| commit | b2eceae7c927d1b908f8e90e6a911430a7ccfce7 (patch) | |
| tree | 65330b51bec738773cea1b0192049fa23528975b /addons/web_unsplash/static/src/xml | |
| parent | 9bc974c2f8f0c75b97905947f1f46dceb52aac0b (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/web_unsplash/static/src/xml')
0 files changed, 0 insertions, 0 deletions
