checkout_cart_configure.xml 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  9. <head>
  10. <link src="Magento_Checkout::js/view/configure/product-customer-data.js"/>
  11. </head>
  12. <update handle="catalog_product_view"/>
  13. <body>
  14. <referenceBlock name="head.components">
  15. <block class="Magento\Framework\View\Element\Js\Components" name="checkout_cart_configure_head_components" template="Magento_Checkout::js/components.phtml"/>
  16. </referenceBlock>
  17. <referenceBlock name="product.info">
  18. <block class="Magento\Checkout\Block\Cart\Item\Configure" name="checkout.cart.item.configure.block"/>
  19. </referenceBlock>
  20. <referenceBlock name="product.info.addtocart">
  21. <action method="setTemplate">
  22. <argument name="template" xsi:type="string">Magento_Checkout::cart/item/configure/updatecart.phtml</argument>
  23. </action>
  24. </referenceBlock>
  25. <referenceBlock name="product.info.addtocart.additional">
  26. <action method="setTemplate">
  27. <argument name="template" xsi:type="string">Magento_Checkout::cart/item/configure/updatecart.phtml</argument>
  28. </action>
  29. </referenceBlock>
  30. </body>
  31. </page>