Skip to content

Instantly share code, notes, and snippets.

@0-Sony
Created March 13, 2023 10:21
Show Gist options
  • Save 0-Sony/0892ab50bd0f65cb919cdf6aca398671 to your computer and use it in GitHub Desktop.
Save 0-Sony/0892ab50bd0f65cb919cdf6aca398671 to your computer and use it in GitHub Desktop.
Magento 2 : Make product attribute available from Quote Item
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Catalog:etc/catalog_attributes.xsd">
<group name="quote_item">
<attribute name="my_custom_attribute"/>
</group>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment