Showing results for 
Search instead for 
Did you mean: 

Quote item field on item summary in checkout

Quote item field on item summary in checkout

So I am trying to get a custom quote item field to display on the item summary in checkout. I have the new quote item field created and getting filled when the item is created, however not able to get the new field to show in the ko template that show the items summary. I assume it has something to do with using extension_attributes.xml. I tried something like this:


<?xml version="1.0"?>

<config xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
    <extension_attributes for="Magento\Quote\Api\Data\TotalsItemExtensionInterface">
        <attribute code="new_field_name" type="string"/>

So when I go to the js file for this summary items template, I log out the quoteItem and it lists the fields for the quote item defined in vendor/magento/module-quote/Api/Data/TotalsItemInterface.php, but not my custom field. Any idea how I get this field in the js/ko template?