- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020
11:50 PM
07-10-2020
11:50 PM
Add Custom Text at Specific Place in Product Details
Hello Guys,
I use Magento ver 2.3.5 and i want to add custom text in specific location at product details page in the frontend
What i've done :
- Create ReferenceContainer at catalog_product_view.xml
- Create new custom file template viewExpected Result
catalog_product_view.xml
<referenceContainer name="product.info.price"> <block name="custom_product" template="Magento_Catalog::product/custom.phtml" before="price.box"/> </referenceContainer>
custom.phtml
<?php ?> <span class="normal-price">Brand Name : product_brand_name</span>
You can see the result to my website : http://mmmagento.on-dev.info/men-t-shirt.html
Expected Result :
- I want to change location text "Brand Name..." to between label "As low As" and price
- How to remove label "As low As"
Thanks you in advance
Labels: