All Questions
79 questions
1
vote
2
answers
857
views
Magento 2. Failed to submit module to Magento Marketplace. setup/config/application.config.php failed to open stream
I am unable to submit a new module or update a existing module in the Magento Marketplace.
For all modules/new versions, I get the error during the Technical Review at the Installation & Varnish ...
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
0
answers
34
views
custom module not working after installation of new extension
i have created a custom module form and then for email functionality i installed Mageplaza extension but then my form module stopped working and when i disable Mageplaza extension module then only ...
0
votes
1
answer
271
views
Magento Data Migration Tool For Third Party Extension or Custom Modules
I have done default migration using Data Migration Tool.
Now I want to migrate data of my custom module for that I am following below link:
https://devdocs.magento.com/guides/v2.4/migration/extend-the-...
1
vote
2
answers
2k
views
Magento 2 - How to allow certain html elements in system.xml config field?
I try to add this HTML (<span style='color:red'>*</span>)to the content of a field with type text.
But the html is getting stripped. How can I allow all secure html elements but disallow ...
0
votes
1
answer
212
views
Magento 2 Module Development Workflow
What is the most Optimal Development Workflow using Magento 2.3.5 in 2020?
I've got a Task to create Magento 2 Module.
When i upload the written code to server the page doesn't update the code (CSS ...
0
votes
1
answer
51
views
Any free extension for displaying top rated products in magento 2?
I like to know is there any free extension or module for displaying top rated products in magento 2?
0
votes
1
answer
152
views
Is there any free EMI calculator extension in Magento 2? [closed]
I like to know is there any free EMI calculator extension in Magento 2?
Thanks
0
votes
2
answers
649
views
Magento 2.3.5p2 - Invalid security or form key. Please refresh the page after installing banner slider
I downloaded BannerSlider from GitHub and pasted the files into the app> code> Magestore. in the admin panel, it showing the manage options but when I click it says
Invalid security or form key....
0
votes
0
answers
17
views
Magento 2 - Do I have to create a new theme and recode my extensions after upgrading to magento 2 enterprise?
Do I have to create a new theme after upgrading to magento 2 enterprise and will my extensions stop working?
0
votes
1
answer
106
views
Magento 2 :- What is difference between custom modules and extensions
please explain me in full way what difference between custom module and extensions with simple one example
Thanks.
2
votes
3
answers
4k
views
Magento 2 - How to override module from vendor?
I try to change some "view" files from a module called Amasty_MegaMenu.
I installed the module via composer. It is located in vendor\amasty\mega-menu.
So I created app/code/Amasty/MegaMenu with ...
1
vote
2
answers
120
views
Magento 2 - site looks destroyed after installing a new module
I installed a very simple hello world module which works.
php bin/magento module:enable black_test
php bin/magento setup:upgrade
However, now my site looks destroyed. The module is working fine, it ...
0
votes
2
answers
1k
views
Installed module not visible in admin - Magento 2.3.2
I've installed a module and while the CLI says that the module is installed, the schema in the db has been created and the module has a record in setup_module it doesn't show up in the admin. When ...
2
votes
0
answers
2k
views
Magento 2: Create a custom module for banner slider
I want to create a custom module for banner slider in Magento 2. Could anyone please guide me?
Looking forward to hearing from you.
3
votes
0
answers
175
views
Magento 2: Set custom discount price to existing cart/quote in controller
I would like to set a custom discount price to an existing cart/quote in my controller and found some other people that had this question but none of them got answered:
I want to add discount to ...
2
votes
1
answer
93
views
Magento 2: Multilingual Module
I am creating my own module and as I am creating some text, that will be shown in the website. The store manager, which installs my module, needs to have the possibility to translate my text into ...
9
votes
6
answers
2k
views
Magento 2: Changing Price of Product in Controller doesn't work at the moment!
I tried to change the Price of my Products like this:
Controller.php:
[EDIT]
<?php
namespace MassiveArt\ShoppingCart\Controller\Index;
use Magento\Catalog\Model\ProductFactory;
use ...
3
votes
1
answer
2k
views
Magento 2: After adding products to cart programmatically, cart is not refreshing until reloading page
Hello Magento 2 Friends.
I have an ajax call to an controller, which adds some new products to the cart programmatically. This works fine, but the problem is that the cart and the mini cart are only ...
2
votes
1
answer
1k
views
Magento 2: Add multiple products to cart programmatically does not work if cart is empty!
I have the same problem as mentioned in this Question: Magento 2: Add multiple products to cart programmatically But it was never answered. This is my Controller.php:
<?php
namespace MassiveArt\...
2
votes
1
answer
1k
views
Magento 2 add custom button next to cart button
I want to add a button next to the cart showed in the screenshot.
Any ideas how to achieve this?
(EDIT) Only need to know what to write in the layout.xml
This is the current XML code
<?xml ...
2
votes
1
answer
798
views
Magento 2 I want to set a custom price of a product programmatically but only for this one session
I have a little problem because I first add some products into the cart -> this is working. But I also need to change the price of this products I add. The problem about that is, that I only want to ...
3
votes
2
answers
982
views
Controller URL does not work
I have the problem that i always get the error 404 not found, if I want to get the url of my controller. This is my filestructure:
And this is the URL I am trying to get loaded: http://localhost/...
0
votes
2
answers
96
views
Magento 2 Enable/Disable Module [duplicate]
I installed a new extension on my site, but couldn't enable it.
ran command php bin/magento module:status
I can see it was enabled, but it's disabled on module manager.
Thanks
3
votes
1
answer
2k
views
Magento 2.2 - Problem with Helper class not found in custom module
I'm creating a payment module and I'm having a curious problem. I started by creating the module inside the app/code/Vendorname/Payment folder for convenience. It is not yet complete, but the system....
2
votes
2
answers
1k
views
Magento 2: Layout override sequence custom theme vs extensions
I created a custom storefront theme and override the catalog_product_view.xml file in my custom theme. Below is the path.
app\design\frontend\Akhilg\custom\Magento_Catalog\layout\catalog_product_view....
3
votes
3
answers
2k
views
Magento2 Delete config row while Extension Uninstall
I have created a custom module which is being installed via composer.
When I run the command - php bin/magento module:uninstall Vendor_Faq
It is removing all the corresponding tables which I wrote ...
0
votes
2
answers
2k
views
How to disable magento 2 extension in store view (multistore)
I have an extension called Amasty - Xnotif (Out of Stock Notification), but for some reason, this extension refuses to be disabled from my store view even when I disable it from the settings.
So the ...
1
vote
2
answers
347
views
Magento 2 Extension installData script in modelFactory is necessary?
I'm working on magento2 custom module. i have to install some data in my custom_table. so i am referencing below script.
i know the idea about $postFactory as describe here
Magento2: How to add pre ...
0
votes
1
answer
104
views
Magento : Jirafe Extension
I have Magento Extension Fooman_Jirafe.
What is this module for?
Is this module still used in magento 1 or 2 ?
Here is the module definition :
<config>
<modules>
<Fooman_Jirafe&...
2
votes
1
answer
234
views
Package Magento2 extension with custom theme?
I have the following structure:
app/code/Vendor/Module/....
app/design/adminhtml/Vendor/mythemename/...
In my composer.json I put something like this:
{
"name": "vendor/module",
"description": ...
0
votes
1
answer
995
views
Magento 2 custom module install issue
I create a new custom module for Magento 2 and I can't install it through composer. This is the error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
...
1
vote
1
answer
1k
views
Magento 2 custom module - get media base url
I use this module and I create a image upload field in my custom module. Everything is okay but I want to get the full url of image in the frontend. How I can do this?
if I use this in the Data.php
...
0
votes
1
answer
215
views
Magento 2 custom module admin field output must be true
I want to add a filed in the Magento 2 admin panel, this field must return in the frontend True if in admin is selected Yes. I try to add this in the system.xml:
<field id="do_something" translate=...
0
votes
3
answers
8k
views
Magento 2 - add Enable / Disable field for custom module
I want to add some fields in the Magento 2 Admin Panel for my custom module and then I want to check in the phtml file if this field is have value or not.
I need to add this fields:
- enable / ...
1
vote
1
answer
1k
views
Magento 2 create module block
I want to define a new phtml block in the head of my module: I try to add something like this in my app/code/Custom/Module/view/frontend/layout/default.xml file:
<?xml version="1.0"?>
<page ...
4
votes
2
answers
161
views
Issues on create Magento 2 module
I create a module for Magento 2 to add a custom javascript to the theme head but my custom js file is loaded in front off all javascript files and this come with the error:
ReferenceError: jQuery is ...
1
vote
1
answer
280
views
Magento 2 - Create simple module
I try to learn how to create a simple module in Magento 2. I create one but I have a lot of errors. If anyone can help me with a sample. How I can create a simple Magento2 module. This module must ...
3
votes
1
answer
370
views
Magento Market place submit extension with licence
I have developed Magento extension that I want to upload on Magento
marketplace.
I have gone through the process how it works explained Here:
https://magento.com/blog/magento-news/magento-...
1
vote
0
answers
110
views
Module database install debugging in Magento 2.2
I know there are many questions like this but after two days I am still unable to get the install method to build my database table in my module.
/app/code/me/HelloWorld/Setup/InstallSchema.php
...
1
vote
1
answer
885
views
Extend/Override Magento2 Template
I am trying to override some Mageplaza 2 Blog Extension template .phtml files
(for this question lets focus on topmenu.html)
Before you downvote me,
I read a tone of answers and tried implementing ...
1
vote
2
answers
3k
views
Magento 2: Warning: array_merge(): Argument #1 is not an array vendor/magento/framework/App/Config/Initial/Converter.php on line 78
I have developed a module store view pricing in which I have edited price attribute's scope. Whenever I install that extension of time below warning populates during setup: upgrade in the command ...
4
votes
1
answer
12k
views
Magento 2 System Config Enabled Yes/No
I would like to add module On/Off option in Configuration for custom extension.
I have used below code and add into my system.xml but when I select option No module is not off.
<field id="active" ...
0
votes
1
answer
1k
views
Image path not saving in database with Custom Module
I've created a custom grid module and now I am trying to create and upload image for the Form.php. When I save it the image it gets uploaded to the right location which is 👍 but it does not save the ...
4
votes
0
answers
1k
views
Module or extension to detect conflicts in Magento 2
Is there an extension that detects conflicts between extensions or modules in general in Magento 2 ?
Like detect preferences added on the same class from 2 separate extensions.
Maybe detect 2 plugins ...
1
vote
1
answer
163
views
How can I prepare my Github's extension to install using Composer?
Using the question below I've installed extensions hosted on private and public repositories using composer, but I need to create my custom extension now.
How to install an extension on a private ...
0
votes
1
answer
1k
views
How to install an extension on a private Github using Composer?
I'd like to know how to install extensions on my Magento 2.1 using Github / Bitbucket / Gitlab with public and private repositories.
Thanks.
0
votes
1
answer
162
views
Uploading an extension on Magento Marketplace [closed]
What do I need to know to upload a theme or extension on the Magento Marketplace?
2
votes
1
answer
3k
views
Module installed and enabled but doesn't show up
I installed a module and the files are correct and the commands worked just fine but when I go to System > Advanced, it doesn't show up in the disable modules section at all but it shows up when I run ...
3
votes
2
answers
1k
views
Magento 2 module not working. Override fails
I am trying to write a module that filters products in a product collection. For that I have tried to override Magento\Catalog\Model\Layer. These are the files in the module:
/Viking/FilterProducts/...