All Questions
Tagged with module extensions
192 questions
0
votes
2
answers
256
views
There are no commands defined in the "setup:cron" namespace after upgrade to Magento 2.4.6-p3
After upgrading to magento 2.4.6-p3 in system.log and cron.log it is generating same error daily i.e -
main.ERROR: There are no commands defined in the "setup:cron" namespace.
Did you mean ...
0
votes
1
answer
156
views
Compilation from source: LESS file is empty:
I have upgraded my magento version from 2.4.0 to 2.4.6-p3 and in exceptions.log file i am continuously getting one error i.e
main.CRITICAL: Magento\Framework\View\Asset\ContentProcessorException: ...
2
votes
1
answer
413
views
Call to a member function isGlobalScopeEnabled() on null
I have just updated my magento version from 2.4.0 to 2.4.6 and i am getting this error on frontend.Please suggest any solution. Also i have custom theme but i am not getting why this error is occuring....
1
vote
2
answers
2k
views
Zend framework is deprecated in magento 2.4.6
I have just upgraded my Magento version from 2.4.0 to 2.4.6 and it is giving this error while opening admin. please suggest any solution
1 exception(s):
Exception #0 (Exception): User Deprecated ...
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
66
views
Magento 2.3.5: Creating a custom category bottom toolbar
I'm trying to create a custom category bottom toolbar without the h1 title.
I've done the following.
Created a module with the following structure
/app/code/Vendor/ToolbarBottom
/app/code/Vendor/...
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-...
0
votes
1
answer
35
views
How to setup free shipping multiple store view
I have 2 store view Suisse (ch) and France (fr) :
free shipping par store view 20 in fr and 30 in ch
I have found a extention fro flate rate : Magento 2 Multiple Shipping Flat Rates extension
there's ...
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
1
answer
340
views
I have many spam customer in Magento 1.9 so how can i remove?
Guy's I have a Magento 1.9 site and some days ago I check my admin side so found lot's of spam customer so I can add google Recaptcha at that time.
But it already has many customers are in site so ...
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/...
2
votes
1
answer
63
views
Magento 2.3: I am trying to add text into the small cart, but it's not working
I want to add text into the cart showed in the picture, but unfortunately my code does not work.
This is my file structure:
Code in ButtonGet.php:
<?php
namespace MassiveArt\ShoppingCart\Block;
...
3
votes
6
answers
514
views
Magento 2.3: How can I get the customer ID with PHP?
I am trying to get the items of the cart as well as the customer ID in my Module. But the problem is that I don't know how to get the customer ID properly.
In the Moment I have this Code and it works:...
3
votes
2
answers
1k
views
How can I add a custom button by using a custom module in Magento 2.3?
I wanted to add my own button in the Shopping Cart as I tried to show you in the screenshot.
But I didn't find a tutorial that worked for me. Do you have any idea how I can do this? (I want to make ...
1
vote
2
answers
140
views
Magento 2.3 Extensions on Ubunu 18.04
I installed Magento 2.3 successfully on my Ubuntu Maschine and tried to start to make my first own module. I followed this tutorial: https://www.cloudways.com/blog/create-module-in-magento-2/.
But I ...
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
2
answers
761
views
How do I disable all non-core modules in Magento 2? (in 1 step)
Suppose I want to go back to the code state where only M2 core modules are active.
question: How do I disable all non-core modules in Magento 2? (in 1 step)
0
votes
0
answers
306
views
Disabling maintenance mode Command returned non-zero exit code
I am a newbie in magneto I made a Magento custom extension but while uploading this into the Magento Marketplace, I am facing an issue it's Test Fail, Below is the test report
Environment: PHP 7.1....
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....
0
votes
0
answers
291
views
Customer Custom Attribute gets deleted upon update in Magento 2
We are facing an issue while updating customer information from Customer My account section on frontend that is Customer Custom attributes gets deleted upon update or save customer information.
For ...
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
0
answers
52
views
Magento 1.9 custom module 404 error after IP change
I have created custom module for my application the urls for which were working correctly.
Due to some issue with the server the IP had to be changed after which all the extension URLS have stopped ...
0
votes
1
answer
212
views
Upload Magento 1 Extension to Marketplace
I'm uploading a Magento 1 extension to the Marketplace and I get the following error.
I included the "package.xml" file in the root of my directory and got that error.
It was possible to get the ...
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 ...
7
votes
1
answer
841
views
Best way to replace the die function?
I have the following Magento code :
protected function _sendUploadResponse($fileName, $content, $contentType='application/octet-stream')
{
$response = $this->getResponse();
$response->...
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&...
0
votes
1
answer
49
views
Error during installation pdf generator extension via ssh
I am trying to install a pdf generator extension but Iihave an error ``(via composer)` from here: Github
I run below command:
>composer require eadesignro/module-pdfgenerator
then ask me about ...
2
votes
0
answers
482
views
Show custom Admin Messages In configuration section custom module Magento 1.x based on API response
I created a custom module which fetch data using third-party APIs.
In admin Dashboard after module installation.
I want to check few things form API( I am getting everything from API this is done , ...
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": ...