cancel
Showing results for 
Search instead for 
Did you mean: 

products view page

products view page

product attribute in product list and view page atttributes.phtml to xml blog after add yo cart blocdk

1 REPLY 1

Re: products view page

Hello @sarithapoleela 

<referenceContainer name="product.info.main">
			<container name="additional.info.product" htmlTag="div" htmlClass="additional-info-product" after="product.info.price">
				<block class="Magento\Catalog\Block\Product\View\Description" name="product.info.shiptime" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info">
					<arguments>
						<argument name="at_call" xsi:type="string">getShipTime</argument>
						<argument name="at_code" xsi:type="string">ship_time</argument>
						<argument name="css_class" xsi:type="string">ship_time</argument>
						<argument name="at_label" xsi:type="string">none</argument> 
						<argument name="add_attribute" xsi:type="string">itemprop="Ship Time"</argument>
					</arguments>
				</block>
			</container>
		</referenceContainer>

Hope it will help you.

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer