2

I am trying to override the checkout - summary block. I want add custom text after product name. I am not able to find way it is calling and fetching data.

I know it Knockout JS but i am not able to understand it in more detail. Can any tell me what is best way to customize the checkout.

Amit Bera
77.8k21 gold badges127 silver badges240 bronze badges
asked Jul 18, 2016 at 7:31
1
  • Have you get your solution? Commented Nov 11, 2016 at 13:48

1 Answer 1

4

Hey Bhupendra here answer for you,

You will need to override the template file for summery block using requirejs-config.js(create this file in your module`s view/frontend/requirejs-config.js)

var config = {
 map: {
 '*': {
 'Magento_Checkout/template/summary/cart-items.html':
 '<Vendor>_<ModuleName>template/summary/cart-items.html'
 }
 }
};

up vote if you are satisfied with answer. :)

answered Jul 22, 2016 at 5:50
1
  • thank you for the answer. I already did this but i am not able get option value in this file.I need to set option and if that option found i need display link for popup.Do you have any idea about this ? Commented Jul 22, 2016 at 5:53

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.