Skip to content

magento2.3

Auto Added by WPeMatico

Place DIV or SPAN class inside stock available

How can I place a div or span class inside stock available with custom xml. Would like custom block next to INSTOCK. <body> <referenceBlock name=”product.info.stock.sku”> <block class=”StockQtyBlockLeftQty” name=”catalog.product.view.stock” before=”product.info.stock.sku” template=”Dolphin_MyModule::leftqty.phtml” cacheable=”false”/> </referenceBlock> </body>

Composer error when try install extension

I’m getting this when i’m trying to install an extension. Warning: Unsupported declare ‘strict_types’ in /home/SITE_NAME/public_html/vendor/magento/inventory-composer-installer/src/Plugin.php on line 6 Parse error: syntax error, unexpected ‘:’, expecting ‘;’ or ‘{‘ in /home/SITE_NAME/public_html/vendor/magento/inventory-composer-installer/src/Plugin.php on line 55 I have : CentOS Linux release… Read More »Composer error when try install extension