diff options
| author | Jérémy Hennecart <jeh@odoo.com> | 2019-05-29 12:51:55 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-07-03 09:02:19 +0000 |
| commit | 3cc217e5a8c26e24259b5037ba53460cb103c2f5 (patch) | |
| tree | 495ac5d8f1ff8fffcb90ebc163100ef658f1d766 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 2010de60e7d330247859345d81cd1ed84d926c89 (diff) | |
[IMP] website_sale_slides: improve course purchase flow and buttons
Before this task, when a customer bought a course, he was directly
redirect to the checkout process.
After this task, the customer can either Add to Cart or Buy Now
(if the Buy Now option is activated)
This commit also updated the redirection regex in website_sale_product_
configurator. When a product has an optional product, you have the possibility
to add in your cart the optional product thanks to a modal. Before, the button
"Add to Cart" was only available in the shop (/shop/), but now it is also
available on a course (/slides/). So to be redirected on the cart when we
click on the button "Proceed to Checkout" for a course, we needed to apply the
redirection also for the course.
Linked to task 1974929
Related to PR #34224
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
