New answers tagged

2 votes

Magento 2: how to specify the module name in custom theme?

Override the Module changes in the Theme customization by using the Module name as a directory under the Theme vendor. etc/module.xml We can use either Module name as directory from etc/module.xml <...
user avatar
  • 426
1 vote
Accepted

Magento 2: how to specify the module name in custom theme?

Go to that module folder and see registration.php file. You'll see its real name. And then use it as its written there.
user avatar
0 votes

Can not add2cart grouped product when 1 input field is diabled

I have notice that, I have resolved it now like this: {echo 'readonly style="background-color:#D3D3D3;border-color:#D3D3D3;"';} ?>
user avatar
0 votes

Can not add2cart grouped product when 1 input field is diabled

The element with attribute disabled will not pass the value to form. You can use readonly attribute instead of disabled or render additional element like <input type=hidded.../> for pass 0 value....
user avatar
0 votes

Overriding a .phtml file in custom theme doesn't work

The template path seems correct assuming you are using the correct theme app\design\frontend\Perfectmakeupmirrors\argento-luxury-custom\Magento_Checkout\templates\success.phtml Could you check ...
user avatar
0 votes

Magento 2: how to set grid getRowUrl via the uiComponent

You can see the product grid as example. So you need add columns.settings and actionsColumn for your component xml file ... <columns name="entity_columns"> <settings> ...
user avatar
0 votes

Magento2 Custom Page Builder, doesn't render widgets on frontend

I fixed this issue this is a code: public function generateHtmlWithWidgets($html): string { return $this->getCmsFilterContent($html); } private function getCmsFilterContent($value = ''): ...
user avatar
  • 1
1 vote
Accepted

Magento 2.4: How to change text "Order #" to "Confirmation #" in printed page that appears post order placement?

This is the title. Check the block /** * @return void */ protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Order # %1', $this->getOrder()->...
user avatar
  • 34.3k
0 votes

How to change filter "and" to "or"?

You need to overwrite the filter functionality OR condition like this: $collection->addAttributeToFilter( array( array('attribute' => 'someattribute', 'like' => 'value'), ...
user avatar
1 vote

Magento 2 Module Events

To add to Philipp Sander answare, this doc is really good for the consumption of external API. https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/create-integration-with-api.html
user avatar
1 vote

Magento 2 Module Events

Here's a quick run down of how you could achieve that: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/events-and-observers.html add a event listener in the global scope. the event should ...
user avatar
0 votes

How to add Custom Step on Checkout and move Shipping methods in that step In Magento 2.3.5

Vendor\Module\view\frontend\layout\checkout_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" ...
user avatar
0 votes

Create magento 2 Patch

if you're using phpstorm you can simply right click on a file from local changes and select "Create patch from local changes"
user avatar

Top 50 recent answers are included