Skip to main content
Share Your Experience: Take the 2024 Developer Survey
15 votes
Accepted

Can't check requested quantity for products without Source Items support issue on 2.3.1

New code from Magento 2.3 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Catalog:etc/product_types.xsd"&...
Shahanas K V's user avatar
8 votes
Accepted

Extending Third Party Modules in Magento 2

And that's why they created plugins: http://devdocs.magento.com/guides/v2.1/extension-dev-guide/plugins.html There are three types of plugins (before, around, after), which allow you to run your ...
Ethan Yehuda's user avatar
7 votes

How To add font awesome in magento 2

Ok i just google it and find a solution that works for me!!! -> Under \Magento_Theme\layout\default_head_blocks.xml -> Put font awesome cdn url -> Just Flush The Content -> Know copy icon code ...
Manish's user avatar
  • 217
6 votes
Accepted

Getting Access Denied for module

Complete credits for @fschmengler for this link add this method in admin controllers: if you have an ACL resource defined in etc/adminhtml.xml , than protected function _isAllowed() { return ...
Baby in Magento's user avatar
6 votes

How can i protect my module

Ioncube and uglifying are the two ways you shouldn't go, but answer your question. ioncube plays kind of nice with newest xdebug versions, but is not PHP7 compatible yet. Both options are (afaik) ...
Fabian Blechschmidt's user avatar
6 votes
Accepted

Check user is logged in or not using Javascript

I would set a new variable in template file, e.g. <script type="text/javascript"> //<![CDATA[ var isLoggedIn: <?php echo (int) Mage::getSingleton('customer/session')->isLoggedIn() ?...
sv3n's user avatar
  • 11.7k
6 votes
Accepted

Magento 2: How can I check all modules installed using admin panel?

Magento ˆ2.3 System > Web Setup Wizard > Module Manager Magento 2.2 You can access using the admin panel the route Stores > Configuration > Advanced, as the image below. On that page, you can ...
Rafael Corrêa Gomes's user avatar
6 votes

Magento 2: How can I check all modules installed using admin panel?

As stated in the replies above, there is no more admin control for Magento2 versions 2.2 and greater. In this instance use this CLI command from your M2 root to output the modules and status php bin/...
mlunt's user avatar
  • 575
6 votes

How to use PWA in Magento2?

About PWA in Magento: You can read more about the implementation of the PWA on the magento forum, where stored all useful links to a blog post or github projects: Magento 1 PWA module on github by ...
Siarhey Uchukhlebau's user avatar
6 votes

Magento 2 - Wordpress Integration url issue

Try settings same as following example: 1. Set your WordPress setup folder name "wp". 2. M2 Admin Menu > WordPress > Path = wp 3. Database: magento2_wp > Table: wp_options option_id = 1 ...
Pratik Oza's user avatar
  • 3,992
6 votes
Accepted

Undefined index: label vendor/magento/framework/Data/Form/Element/Select.php on line 68

Was just a typo in my custom payment method's /etc/config.xml <group>Offline</group> Should be <group>offline</group>
Lez's user avatar
  • 2,917
6 votes
Accepted

How to disable all optional modules in Magento 2?

You can remove them via Composer. You can install the Yireo module below to remove all optional native packages: composer require yireo/magento2-replace-all OR You might be able to specify the ...
Rafael Corrêa Gomes's user avatar
5 votes

Magento 2 how to create two controllers in the same module?

Namespace: Prince Module: Helloworld Create first index controller and index action app/code/Prince/Helloworld/Controller/Index/Index.php <?php namespace Prince\Helloworld\Controller\...
Prince Patel's user avatar
  • 22.7k
5 votes

Extending Third Party Modules in Magento 2

To extend any third-party Module's functionality you can use 2 ways as Override their class using preference or plugin. But If you want to add your custom methods into their class you can choose ...
Ronak Chauhan's user avatar
4 votes
Accepted

Magento 2 custom php library is not working

After digging whole day continuously, finally I found the solution. Solution 1 : Add you custom library folder in magento root composer.json like mention below "autoload": { "psr-4": { ...
Amit Maurya's user avatar
  • 2,871
4 votes
Accepted

What is "Phoenix/Moneybookers" module for?

This is an extension for Skrill (aka Moneybooker) Payment Gateway that allows to payments and money transfers to be made through the internet. So if you are not using that payment gateway you can ...
Aman Agarwal's user avatar
4 votes
Accepted

Magento 2: How to Override File in Vendor Folder

as you see on the composer part "name": "quickbooks/v3-php-sdk" and "autoload": { "psr-4": { "QuickBooksOnline\\API\\": "src/" ...
mrfizh's user avatar
  • 1,363
3 votes
Accepted

Magento : Quickpay Payment Extension Doesn't Work at All in Frontend

There is some problem with the block they used to call quickpaypayment/payment_redirect, so replace the code with following function in file /app/code/community/Quickpay/Payment/controllers/...
Rohit Prajapati's user avatar
3 votes
Accepted

Store Locator Module suitable for mobile

Take a look at Maxmind GeoIP javascript API. You can json encode your store location data. You can serve a store page instead of a map using latitude and longitude returned by GeoIP. https://www....
lucaspozzi's user avatar
3 votes
Accepted

Does Magento 1.9.x cron script, scans whole `shell` directory and executes all files inside of that folder?

To answer the question in your title: No. Instead it reads the modules configuration where class methods are defined as jobs, together with their own schedule. Inchoo documented it in this blog post:...
Fabian Schmengler's user avatar
3 votes

Change attribute set of existing products

Yes. We can change product attribute set programmatically. I prefer to create massaction in catalog product grid to multiselect product and then select massaction for the products. Creating ...
Kazim Noorani's user avatar
3 votes

Change attribute set of existing products

Flagbit-ChangeAttributeSet just wasn't updated at Magento Connect. Make sure to use version from Github. It definitly works for Magento 1.9. this is not good, better you recreate the product, even ...
sv3n's user avatar
  • 11.7k
3 votes

How can i protect my module

@Marty Wallace If you're interested in really locking down your module, some people use http://www.ioncube.com/ to encode the Php code...and then you only give people the license once they have paid. ...
ryanF's user avatar
  • 2,279
3 votes
Accepted

Display only one category

Code looks like it's from https://github.com/riconeitzel/VertNav, so please try to add this to: app/design/frontend/THEME/PACKAGE/layout/local.xml: <reference name="catalog.vertnav"> <...
sv3n's user avatar
  • 11.7k
3 votes
Accepted

Magento 2 - Best practice to modify third party extension

Create a new storefront theme and put the file onepage.phtml in app/design/frontend/[VendorName]/[theme]/IWD_Opc/templates/onepage.phtml You can get more information from: http://devdocs.magento....
Quan Le's user avatar
  • 1,698
3 votes
Accepted

Localized dutch date format

You can try this: // based on configuration // $locale = Mage::app()->getLocale()->getLocaleCode(); $locale = 'nl_NL'; $date = new Zend_Date($post->getCreatedTime()); $date->setLocale($...
sv3n's user avatar
  • 11.7k
3 votes
Accepted

Redirect admin user to system configuration in custom module

Think something like this was already asked here: how to set start page in backend magento for different role user in magento. You just have to change adminRedirect() mehtod to fit for your needs, ...
sv3n's user avatar
  • 11.7k
3 votes

Magento 2: How can I check all modules installed using admin panel?

ON 2.3.x : System > Web Setup Wizard > Module Manager
user2620178's user avatar
3 votes
Accepted

Overwrite third party template file in my custom module

Try this: Create requirejs-config.js file at below path. /app/code/Vendor/Module/view/frontend/requirejs-config.js And put below code in requirejs-config.js var config = { map: { '*': {...
kunj's user avatar
  • 3,699

Only top scored, non community-wiki answers of a minimum length are eligible