All Questions
23 questions
1
vote
2
answers
1k
views
Magento2 Custom Page Builder, doesn't render widgets on frontend
I have a problem with the page builder on my custom module. In the adminhtml, everything is working fine, and my code propeller is saved to DB, but when I'm trying "echo" my code, the widget ...
0
votes
0
answers
110
views
Magento 2 Remove Tier Price using Plugin
How to remove tier price using plugin ?
I have no idea how to remove this price :(
0
votes
2
answers
58
views
Error with own module to show frontend views
My aim is to generate a few frontend views with an phtml for each view. I developed a module for that.
File: Routes.xml
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/...
0
votes
1
answer
764
views
When to use app/code vs app/design
I saw two topics about that but I'm still not sure.
I'm discovering Magento 2, I'm a frontend developer and right now, I just want to make my company website's header and footer (html, css) (so a ...
1
vote
1
answer
930
views
Magento 2 payment method not showing in checkout
I have used this module in many stores https://marketplace.magento.com/ontap-module-mastercard.html.
But for some reason in a new instance of Magento that I installed, it's not showing the payment ...
0
votes
1
answer
2k
views
Magento 2: Header and footer not loading in custom module's CMS layout
I am developing a custom theme which inherits from Magento/blank. I am attempting to develop a CMS homepage layout within a custom module.
I have created the module and successfully applied the ...
1
vote
1
answer
57
views
What does module:disable actually do?
Background:
I seem to be having trouble disabling modules on my M2 2.3.1 store. Example: I had installed the CommerceBug development module but wanted to test my site without it so I ran module:...
1
vote
0
answers
148
views
Magento 2 add a field to front account information tab
I'm trying to add a custom text field to the edit account information page on frontend customer dashboard, so i tried to create a module
like this in
VendorName\ModuleName\Setup\InstallData.php
...
2
votes
1
answer
953
views
Magento2 : How can I add filters to frontend so it should work like a backend filter?
i'm working on adding custom filter for this custom module
i want to add filters (Q_ID,Q_STATUS,Q_PRICE) it would work like back
end filter Magento admin
how i add filter and any idea's??
1
vote
2
answers
810
views
Magento 2.3 Can't view module's front end page output?
I'm a bit of a noob when it comes to module development for Magento 2, and I need some help: I've started developing a module (for testing purposes) on a localhost installation of Magento 2.3. Now, I ...
2
votes
0
answers
392
views
Magento 2 - How to show product grid in my custom module?
I created a custom module,in that module I want to display product
listing grid based on selection I want to do some different operations
for selected product in frontend.Can anyone help me how to ...
2
votes
1
answer
732
views
White blank screen in custom module production mode magento 2
I have created a custom module in Magento 2. In developer mode it is working well, however same module does not show any content in the production mode of Magento its show only white screen. There is ...
1
vote
1
answer
1k
views
How to find the block to override for the navigation menu magento 2
current setup:
Magento 2.2.4 installed with composer.
I want to replace the navigation menu with a different navigation menu (MCP Menu Creator Pro). I think I am supposed to extend the magento/...
0
votes
1
answer
1k
views
how to add image Placeholder if image not found on frontend Magento 2
how i can add image place holder on front-end page when image is not uploaded or not found in both cases.
actually, i am working on custom module, in which i have to fill the form front-end in which ...
0
votes
1
answer
154
views
How to include a js file into a custom module in Magento 2?
Added app/code/Namespace/Customtab/view/frontend/layout/customtab_index_index.xml
<?xml version="1.0"?>
<head>
<css src="Namespace_Customtab::css/viewer3d.css" />
</head&...
0
votes
1
answer
663
views
Magento 2: How to add a custom JS to frontend module? [duplicate]
I'm building a module and I need to load Javascript that must be generated in my module (NO theme) to the shop frontend.
Then, when a user enters on the web, the module has to generate js and inject ...
1
vote
0
answers
924
views
How to add some custom content in magento header before welcome text
I want to add some content(a drop down) in header menu first item before welcome text message.
I have followed this answer How to add extra container to page header in Magento 2
It adds below the ...
2
votes
3
answers
3k
views
Magento 2: Adding JS from module
I have a module, and I want to add a javascript generated in the module at the frontend footer.
The javascript has to be built dynamically because it depends on server variables. I've thought of a ...
2
votes
1
answer
228
views
Add js to magento head in frontend and adminhtml without creating a requirejs module and loading last on module
I'm trying to add a simple js that has to be executed on documentReady with jQuery.
Script js
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
define([
...
2
votes
1
answer
758
views
Extend a 3rd party module via theme
Simple question, would it be possible to overwrite the templates in a 3rd party theme via the active theme?
I.e. if I have
/app/code/Vendor/SomeModule/view/frontend/templates/structure.phtml
would ...
2
votes
1
answer
166
views
IsSecureMode di.xml frontend / backend don't work
Magento 2.0.10 and PHP 5.6.27
i have declare a etc\frontend\di.xlm en frondend whitch
<type name="Jbpevasion\Cartebleu\Block\Info">
<arguments>
<argument name="data" xsi:...
3
votes
2
answers
992
views
Assets from module not appearing in pub/static folder
Running Magento 2.1
I am building a module with alert.js in the /view/frontend/web/ folder in my module: https://github.com/waynhall/frontend1/tree/master/Pulsestorm/FrontendTutorial1
However, after ...
4
votes
4
answers
10k
views
Magento 2 module "Object domdocument should be created" error
I am getting above error when I run my module in browser as:
192.168.0.106/magento-2/module1/index/index
Below is my Controller code:
<?php
namespace Company1\Module1\Controller\Index;
class ...