Skip to main content
added 317 characters in body
Source Link
Shaun
  • 129
  • 10

How can I place a div between in stock and sku using xml for custom block.

I can only seem to place it after sku.  

<body> <referenceBlock name="product.info.stock.sku"> <block class="Stock\Qty\Block\LeftQty" name="catalog.product.view.stock" before="product.info.stock.sku" template="Dolphin_MyModule::leftqty.phtml" cacheable="false"/> </referenceBlock> </body> 

Product View Page

How can I place a div between in stock and sku using xml for custom block.

I can only seem to place it after sku.  Product View Page

How can I place a div between in stock and sku using xml for custom block.

I can only seem to place it after sku.

<body> <referenceBlock name="product.info.stock.sku"> <block class="Stock\Qty\Block\LeftQty" name="catalog.product.view.stock" before="product.info.stock.sku" template="Dolphin_MyModule::leftqty.phtml" cacheable="false"/> </referenceBlock> </body> 

Product View Page

Source Link
Shaun
  • 129
  • 10

Place div next to or under in stock

How can I place a div between in stock and sku using xml for custom block.

I can only seem to place it after sku. Product View Page