Prestashop: [IMPROVEMENT] Add hooks to cart modal - crosseling and promotion

Created on 18 Feb 2020  路  4Comments  路  Source: PrestaShop/PrestaShop

Hi, it would be nice if you would add a two useful hooks to the cart modal.

Cart modal extra information - e.g. displayCartModalExtra
Hook inside the cart modal, to show information like promotions. For example, it could be used to display a messages like: ORDER FOR 20 EUR MORE AND GET FREE SHIPPING!
shipping

Cart modal crosseling (this hook was present in 1.6 - e.g. displayCartModalCrossselling
Hook for displaying cross selling in product cart modal, so the user sees it right away. Currently, only crosseliing hook is on cart page.
cross-selling-manual-related-product-with-add-to-cart

CO Cross selling Fixed Improvement PM 鉁旓笍 ps_shoppingcart

Most helpful comment

Looks like it used to be a todo-item in https://github.com/PrestaShop/ps_shoppingcart/

See https://github.com/PrestaShop/ps_shoppingcart/pull/47/files : I found some very old @todo

On tech side, no issue to add these hooks. Just need a go from Product team

All 4 comments

Hi @Hlavtox,

Thanks for your report.
image
Ping @PrestaShop/prestashop-product-team @PrestaShop/prestashop-core-developers what do you think?

Thanks!

Looks like it used to be a todo-item in https://github.com/PrestaShop/ps_shoppingcart/

See https://github.com/PrestaShop/ps_shoppingcart/pull/47/files : I found some very old @todo

On tech side, no issue to add these hooks. Just need a go from Product team

Let's do it ! :)

The issue #16969 is a duplicate of this one.

Specs :

If https://github.com/PrestaShop/ps_crossselling is installed too, then we can display the "Customers who bought this product also bought..." block into the shopping cart modal into https://github.com/PrestaShop/ps_shoppingcart/blob/master/modal.tpl#L4

Was this page helpful?
0 / 5 - 0 ratings