-
- Downloads
[IMP] website_sale: improve zoom features in front-end
This commit adds a new option for picture zoom on product pages.
The designer may now select a attachment viewer like carousel upon
clicking on images in the view.
The hover zoom has also been fixed as it was broken due to the bootstrap
5 changes.
The designer may choose between zoom on hover, on click, both or no
zoom.
TaskId-2922062
closes odoo/odoo#98305
Related: odoo/upgrade#3785
Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
Showing
- addons/website_sale/__manifest__.py 2 additions, 0 deletionsaddons/website_sale/__manifest__.py
- addons/website_sale/static/src/js/components/website_sale_image_viewer.js 158 additions, 0 deletions...ale/static/src/js/components/website_sale_image_viewer.js
- addons/website_sale/static/src/js/website_sale.editor.js 45 additions, 10 deletionsaddons/website_sale/static/src/js/website_sale.editor.js
- addons/website_sale/static/src/js/website_sale.js 91 additions, 29 deletionsaddons/website_sale/static/src/js/website_sale.js
- addons/website_sale/static/src/scss/website_sale.scss 5 additions, 8 deletionsaddons/website_sale/static/src/scss/website_sale.scss
- addons/website_sale/static/src/scss/website_sale_frontend.scss 59 additions, 0 deletions...s/website_sale/static/src/scss/website_sale_frontend.scss
- addons/website_sale/static/src/xml/website_sale_image_viewer.xml 45 additions, 0 deletions...website_sale/static/src/xml/website_sale_image_viewer.xml
- addons/website_sale/static/tests/tours/website_sale_shop_zoom.js 9 additions, 3 deletions...website_sale/static/tests/tours/website_sale_shop_zoom.js
- addons/website_sale/tests/test_website_sale_image.py 8 additions, 0 deletionsaddons/website_sale/tests/test_website_sale_image.py
- addons/website_sale/views/snippets/snippets.xml 10 additions, 9 deletionsaddons/website_sale/views/snippets/snippets.xml
- addons/website_sale/views/templates.xml 16 additions, 7 deletionsaddons/website_sale/views/templates.xml
Loading
Please register or sign in to comment