Saya perlu menghapus harga "dari - ke" di halaman produk bundle.
Jadi pertanyaannya adalah bagaimana cara menghapus item dari argumen?
Blokir dibuat di
magento2 / vendor / magento / module-bundle / view / base / layout / catalog_product_prices.xml
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd">
<referenceBlock name="render.product.prices">
<arguments>
<argument name="bundle" xsi:type="array">
<item name="prices" xsi:type="array">
<item name="tier_price" xsi:type="array">
<item name="render_template" xsi:type="string">Magento_Bundle::product/price/tier_prices.phtml</item>
</item>
<!-- start: this should be removed -->
<item name="final_price" xsi:type="array">
<item name="render_class" xsi:type="string">Magento\Bundle\Pricing\Render\FinalPriceBox</item>
<item name="render_template" xsi:type="string">Magento_Bundle::product/price/final_price.phtml</item>
</item>
<!-- end: this should be removed -->
<item name="bundle_option" xsi:type="array">
<item name="amount_render_template" xsi:type="string">Magento_Bundle::product/price/selection/amount.phtml</item>
</item>
</item>
</argument>
</arguments>
</referenceBlock>
kemungkinan lain adalah jika saya bisa mengesampingkan hole catalog_product_prices.xml
Saya mencoba menggunakan metode http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/layouts/layout-override.html
Periksa ini. stackoverflow.com/a/41296109/5870985
—
Vish