How can I override a
I have tried in the following ways:
<referenceBlock name="checkout.cart.item.price.sidebar" template="Eone_GiftProducts::cart/item/price/sidebar.phtml" />
<referenceBlock name="checkout.cart.item.price.sidebar"> <arguments> <argument name="template" xsi:type="string">Eone_GiftProducts::cart/item/price/sidebar.phtml</argument> </arguments> </referenceBlock>
I have tried even with actions tag for setTemplate call but no success
I have tried to remove this block and re add it with my custom template but there is no way to makes him work.
I also tried to makes this change into
checkout_cart_sidebar_item_price_renderers handle but with no success.
I must do it for displaying the original price above the price that was displayed in a cart for gift products, I was able to do it on checkout and checkout/cart pages but not able to do it for minicart component. If i modify directly sidebar.phtml from module-checkout it works like a charm but I cant modify core files.