You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
1.6 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
  10. <section name="StorefrontCustomerOrderViewSection">
  11. <element name="allProductOptionLabels" type="text" parameterized="true" selector="#my-orders-table tbody:nth-of-type({{productIndex}}) .options-label"/>
  12. <element name="productOptionLabel" type="text" parameterized="true" selector="//table[@id='my-orders-table']//tbody[{{productIndex}}]//tr[@class='options-label'][{{optionIndex}}]"/>
  13. <element name="allProductOptionProducts" type="text" parameterized="true" selector="#my-orders-table tbody:nth-of-type({{productIndex}}) .item-options-container"/>
  14. <element name="productOptionProductName" type="text" parameterized="true" selector="//table[@id='my-orders-table']//tbody[{{productIndex}}]//tr[contains(@class,'item-options-container')][{{optionIndex}}]//td[@data-th='Product Name']"/>
  15. <element name="productOptionProductSku" type="text" parameterized="true" selector="//table[@id='my-orders-table']//tbody[{{productIndex}}]//tr[contains(@class,'item-options-container')][{{optionIndex}}]//td[@data-th='SKU']"/>
  16. <element name="productOptionProductQuantity" type="text" parameterized="true" selector="//table[@id='my-orders-table']//tbody[{{productIndex}}]//tr[contains(@class,'item-options-container')][{{optionIndex}}]//td[@data-th='Quantity']"/>
  17. </section>
  18. </sections>