Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
833 views

GetOrderPlaceRedirectUrl Doesn't redirect to the gateway secure page

I have the following issue, I generate payment module from the website: http://cedcommerce.com/magento-2-module-creator/payment-module After deploying it and install it on my Magento 2 site, I can ...
Dvir ben ishay's user avatar
0 votes
2 answers
2k views

Get Wishlist product collection in Controller of Custom module Magento2

I am trying to get Wishlist product collection in Custom module controller for the new functionality. I searched in google and I got this: Inject this class in your constructor: protected $...
Murali Raj's user avatar
3 votes
1 answer
1k views

Magento2.1 Helper; what's the difference between "extend" and "use" of AbstractHelper

In Magento 2 we have to create a lot of data for ourselves using helper-modules. In the Vendor/Example/Helper/Data.php I often see either of these two at the top of the file: use Magento\Framework\...
Asitis's user avatar
  • 1,257
1 vote
1 answer
759 views

What is the best version of Magento? [closed]

I will kindly appreciate if you let me know what is the difference between magento versions 1.9.2.4 and the latest one I think is 2.0.10? I am not a developer I just build a Magento website and my VPS ...
Monita's user avatar
  • 11
1 vote
2 answers
119 views

Issue in creating custom module

I have created a custom news module in Magento 2. News module includes admin listing and edit. But it is showing fatal error. Fatal error: Class Namespace\Module\Controller\Adminhtml\Enquiry ...
Deeban Babu's user avatar
5 votes
4 answers
5k views

Magento 2 - Backend custom module 404 error

I'm trying to create my custom module in the back-end, I followed a lot of tutorials, but I continue to get 404 error when I try to access to my controller. The only thing that work fine is the menu ...
3tech - Alessandro Staffolani's user avatar
2 votes
1 answer
2k views

Magento 2: How to define scope in di.xml & Router.php

I'm using Magento 2 CE Version 2.1.0. app\code\Custom\Module\etc\frontend\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
Jackson's user avatar
  • 9,969
1 vote
0 answers
1k views

Magento 2 Database table not creating

I'm trying to add a custom table for a module. The following code sits the Setup folder of my module: <?php namespace tivol\storeAvailability\Setup; use Magento\Framework\Setup\...
Mark's user avatar
  • 755
2 votes
1 answer
28 views

Do I need to make a module or not?

I need a specific equation on some parts of my website, the question is: is it better to create a module, or put all the code in phtml files?
Matheus Budkewicz Battisti's user avatar
0 votes
1 answer
80 views

Magento 2 Module Upgrade Error

I added a new module in the app/code directory and activated the module in app/etc/config.php, but when I try to run php bin/magento setup:upgrade I get the following error:
Paul's user avatar
  • 1,501
3 votes
1 answer
2k views

Magento 2 - Correct way of Module Installation

Trying to install sample module in Magento 2 from this. Below is the module structure app/code/NameSpace/Module/ module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
Slimshadddyyy's user avatar
5 votes
1 answer
4k views

Magento 2 - editing module structure and functions

in Magento 1.x you could duplicate the extensions to app/design/frontend/themeName/default/template/or/layout and then modify it's layout or functionality via xml or phtml files. How do we duplicate ...
g5wx's user avatar
  • 681
7 votes
1 answer
2k views

Where does Magento 2 URL Segment Parsing Happen

In Magento 2 routing, the system parses the URL segments into three sections module-or-front/segment2/segment3 Which specific class file does this happen in? Put another way, the request object has ...
Alana Storm's user avatar
  • 44.4k
3 votes
3 answers
109 views

Is it possible to execute code for every fired event without too much boilerplate code?

This is mostly out of curiousity, as I think it would be very useful in some situations. Is there are a way in Magento to execute a piece of code every time an event is fired, regardless of the event? ...
Thierry's user avatar
  • 133

1
2