Skip to content

magento man

Magento 2 How to get td value using script and assign that value to php variable in same phml file?

I have php variable called itemId in same phtml file and i got td value using js. now i need to assign that var id value to $itemId variable. <?php $itemId = null; ?> <table class=”item-table”> <tr data-row=”product-item” id=”<?= $block->escapeHtmlAttr($item->getId())… Read More »Magento 2 How to get td value using script and assign that value to php variable in same phml file?

Parse error: syntax error, unexpected ‘RewriterInterface’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in …Delegator.php on line27

Magento ver. 2.4.5-p1 PHP 8.1 Smartwave Porto theme I am trying to install the Mageplaza Multiple Shipping Flat Rates extension via composer by running the following command: composer require mageplaza/module-multi-flat-rates But it gives me this Error: Parse error: syntax error,… Read More »Parse error: syntax error, unexpected ‘RewriterInterface’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in …Delegator.php on line27

Do all 3rd party extensions need to be installed via composer or can I install 1 via FTP and others through composer?

Magento ver. 2.4.5-p1 Smartwave Porto theme I am trying to install the ‘Multiple Shipping Flat Rates’ extension from Mageplaza as per a recommendation here: Easiest way to add a second flat rate shipping method on Magento 2? I’ve gone through… Read More »Do all 3rd party extensions need to be installed via composer or can I install 1 via FTP and others through composer?