Is your feature request related to a problem? Please describe.
Hook displayProductPriceBlock
is executed almost always that product price is displayed except on /themes/classic/templates/checkout/_partials/cart-detailed-product-line.tpl
Describe the solution you'd like
Add hook
{hook h='displayProductPriceBlock' product=$product type="unit_price"}
after the price is displayed at /themes/classic/templates/checkout/_partials/cart-detailed-product-line.tpl
.
Hi @idnovate,
Thanks for your report.
So, do you suggest to replace this line: https://github.com/PrestaShop/PrestaShop/blob/develop/themes/classic/templates/checkout/_partials/cart-detailed-product-line.tpl#L61
by this
{hook h='displayProductPriceBlock' product=$product type="unit_price"}
?
Thanks!
Ping @PrestaShop/prestashop-product-team what do you think of this improvement?
Thanks!
Seems nice !
Sorry I did the change at https://github.com/PrestaShop/PrestaShop/pull/17296/files#diff-4dd59963e40fe140a0670e109663ef85 but I mixed commits :confounded:
Not sure if it should be displayed before or after unit_price
and which should be the type
...
Then let's keep your PR 馃槈 so you'll get the mentions (and the glory !). I'll close mine.