All Questions
5 questions
0
votes
1
answer
47
views
Change layout based on url parameter - Magento 2.4
We created a custom module, to load a observer before layout_load_before. And then we would like to change the custom layout, based on a url parameter ?content-only=yes. For some reason it does not ...
0
votes
2
answers
234
views
Magento 2: Remove account element only for certain store views?
After much fighting with my layouts to add a link to my customer account page in a way that matches the design I finally succeeded in making the link show up and link to an actual page that also ...
1
vote
1
answer
1k
views
Fatal error Call to a member function insert() on boolean:Magento
I am facing an error during the checkout process when I select a payment method and press the button continue to next step to place order its an error as follows:
Fatal error Call to a member ...
8
votes
1
answer
8k
views
Add block to layout dynamically in event observer
I want to know how to use layout.xml with event observer.
I want to show a message in footer when payment made successfully.
I know I have to use the event ...
2
votes
2
answers
976
views
Can I use an observer to insert my module block into product.info?
I want my custom block to be dependent on whether my module is enabled or not and I want do not want it to be dependent on a theme so using the following, for example, is out of the question: /catalog/...