Questions tagged [module]

Questions about developing custom modules

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

Intercom with Magento 2.3.3 ver problem

we get the below error when we install Intercom on Magento 2.3.3 ver problem https://i.ibb.co/qxSbXSX/2019-12-06-124841.jpg
0
votes
0answers
16 views

Magento 1.9 - What is the best Practice to Display Top Selling products list?

I have to display best selling products list, just confused what is the best practice. Create Module & CMS Page Getting best selling values from database using products id display product ...
1
vote
1answer
27 views

Custom Shipping Module not work on frontend in Magento v1.9

I had created a custom shipping module. But when I enable it and check on the frontend for my custom shipping rate, then I add billing detail and click on the Continue button, it redirects me to the ...
1
vote
1answer
39 views

Magento 2 Custom Email Template

I have created New Custom Header Template from admin. This email template i want to use in my custom email template in custom module. Currently i am using this below code to add header. {{template ...
1
vote
0answers
10 views

How to list all JS outputed via module?

I want to have all the JS outputted as it's in the HTML, so if the bundle, minify and CDN are enabled or not I would like to get the URL listed via my module. How could I do that?
2
votes
0answers
21 views

integrate PWA App into Magento2 website

I want to integrate PWA App into my Magento2 website , i have already tried with Tigren extension and made changes as per the document. After installation i am getting errors in checkout process. I ...
1
vote
0answers
16 views

Magento2 Related Products Block Based On Customer Interest

I have a magento2 website and what i am thinking is i want to develop a related products block which needs to be displayed based on user interest. Lets assume a user open my website firstly and then ...
0
votes
0answers
7 views

how to set newsletter queue specific customer group in magneto 2

I am using Magento ver. 2.3.3 pls Help me how to create this, And provide any extension Compatibility: ver 2.3.3 Thanks in advance
1
vote
1answer
34 views

How to Disable Inventory Management In Magento 2.x

It may be necessary to disable Inventory Management modules to: Speed up the upgrade process for merchants migrating from 2.0.x, 2.1.x, or 2.2.x to 2.3.x. Use custom or third party inventory and ...
1
vote
2answers
31 views

Magento 2 Mageplaza SMTP module error

I have a problem with this module: https://marketplace.magento.com/mageplaza-module-smtp.html Everytime I click on Test Now (send a test email), it throws me the following error I have read tons of ...
1
vote
0answers
15 views

mageplaza and catalog search conflict in magento2 [closed]

I am using mageplaza plugin in magento 2.3.2. But in catalog search while searching with 2 character length it gives me error like you have processing error. I checked setting in admin panel there is ...
0
votes
0answers
35 views

Authorize command is not triggering

My authorization command is not calling even I declared in di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/...
1
vote
2answers
46 views

Magento 2.3: Forward to another URL without redirecting

I'm writing a module that will accept any Magento URL with /discount/COUPON_CODE appended to the end, set the code in a cookie for later use, and then forward to the URL minus the discount part. So, ...
1
vote
1answer
51 views

Filter for Magento Admin Grid All “NULL” Values

Is there a way to create a filter for NULL values in Magento Custom Admin Grid?
0
votes
1answer
34 views

Magento 2.3: system.xml and config.xml: Default values not showing up in the admin

I'm developing a module for Magento 2.3 and can't get default config values to show up in the admin. To the best of my knowledge, I've followed all the documentation I can find. It's kind of driving ...
0
votes
0answers
14 views

Magento 1: Override A Method in a model class of a community module

I am creating a custom module to override a method buildCustomer() in file app/code/community/Ess/M2ePro/Model/Magento/Customer.php of Magento 1 module Ess_M2ePro but seem not working. Can you check ...
0
votes
0answers
24 views

How to Create Custom Grid Filter Show All “NULL” Values in Specific Column

How can I make a filter for null values of my order ID <column name="order_id"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> ...
0
votes
0answers
7 views

How to create a local callback to a JS via CDN using RequiredJS?

I've some JS files included in my themes and modules, but sometimes these files are not loaded, becaused of adblock or CDN server down. I checked the RequireJS documentation and I saw that it's ...
1
vote
0answers
50 views

Redirect to login with add cart button for guest user

I'm trying to redirect guest users to the login page when they click on the Add to Cart button and they are not registered. But I can't do it. I am using an Observer with the following event <...
1
vote
0answers
18 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
4answers
69 views

Magento 2 How to disable module using xml file?

I am facing issue to create module. I created one module and I given apply to system admin to enable disable. So, Right now I am doing module hide/show using below code. $objectManager = \Magento\...
0
votes
0answers
21 views

Magento 2: custom module not always sending email

I created a custom module to send emails and on it was working good. Today I moved the website on another domain and I noticed that the module sometimes works and sometimes it does not. I would say ...
2
votes
1answer
15 views

How to refresh the module configuration after change the etc/config.xml?

I've created a module with default configurations into the etc/config.xml file, but I changed the default configuration and I'm not able to see them reflected into my module installed. How could I ...
1
vote
1answer
15 views

Custom Module Admin Grid View “Search by Keyword” Not Working

How to make my search bar work in my custom grid module? I have added the search field by inserting this code <filterSearch name="fulltext"/> inside my <listingToolbar name="listing_top"> ...
0
votes
2answers
44 views

Can i save every order placed with custom payment method to order status complete?

I have integrated Custom payment module. I want to save every order placed with custom payment selected should be set to complete. ( If the selected payment mode is with MYPay ) Order Status -> ...
0
votes
3answers
58 views

Magento 2 How to create simple module that echoes text on checkout success page?

I have tried all examples found on Magento forums but I can't make it work. I need to get Order ID and customer email on checkout success page. Here's my module structure: TV2M/GoogleSurvey/...
0
votes
0answers
20 views

Product Key is not synchronised. Order placement failed

I am using Square-Up Extension After click to place order button error come Product 40982 is not synchronized. Order placement failed. anyone helpe here thanks in advance
0
votes
0answers
40 views

Create a custom graphql module with filter attributes magento 2

I need to get all attribute values of product based on the category id. I had implemented this logic in rest api but I couldn't find clear solution for graphql module. My schema.graphqls file is ...
1
vote
1answer
28 views

Can I change the extension from .HTML to .phtml?

I've got a custom payment module. I've .HTML checkout button page in this path. \app\code\vendorName\moduleName\view\frontend\web\template\payment\vendor.html Can i change .phtml instead of .HTML ...
0
votes
0answers
14 views

Loading custom Product Relations on frontend

I am quite new on Magento 2. (Upgrading from 1.9.4 to M2). Now we installed the following module: https://github.com/magepal/magento2-link-product In the backend this works perfect, but now we ...
0
votes
0answers
11 views

How to create custom country/states Manager menu inside sub menu in cms menu in magento2 through programatically?

I don't know how to implement this task. In CMS menu inside sub menu Country/states Manager I will click the menu it will display beolw screenshot output.https://prnt.sc/pu5z5k. Please anyone help me?...
0
votes
0answers
20 views

Module Upgrade Issue

I have created db schema and also write the code for upgrade schema. Also changed the version in module.xml file. After that i am running this comman "php bin/magento setup:upgrade" and running cache ...
0
votes
1answer
22 views

Class contains 1 abstract method

During the install module we get issue: Compilation was started. Proxies code generation... 0/7 [>---------------------------] 0% < 1 sec 34.0 ...
0
votes
0answers
45 views

Magento 1.9.4.3 Custom Column Filter not working

I have a custom column on my sales order grid showing the ordered items sku's. Done by following the guide here. It worked well in previous versions but no longer does work correctly in 1.9.4.3. When ...
0
votes
0answers
12 views

Magento 1.9.4.3. - Upload multiple files in checkout onepage

I'm looking for a custom module that allows me to: Load more than one logo at checkout Confirm the upload of the logo and send the files to my email when the customer clicks on "confirm order" Save ...
0
votes
1answer
13 views

Magento 2.2.2 custom observer attribute name not valid atomic type

I have a custom observer for admin admin_system_config_changed_section_{{$section_name}} the following are: events.xml: <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www....
0
votes
1answer
22 views

Delete Table record having foreign key constraint Magento 2

in my custom module, I have two tables with 1 to many relationships. Now in my admin UI Grid whenever I delete the record it does not delete it. My question is how i can delete record from both ...
0
votes
1answer
26 views

When use block vs view model?

I'm creating a module using blocks and view models, but when is it better to use view models instead of blocks?
0
votes
1answer
46 views

Magento 2.3 : Remove Constraint from db_schema.xml file

I just try to override db_schema.xml file of a core customer module into my custom module , but there is no success. I need to remove a constraint defined in customer db_schema.xml file, how may I do ...
0
votes
0answers
32 views

Magento 2: issue with update module | PHP Version

I want to update the payment module Dotpay to 1.0.15 - require PHP Version 7.1+ So I run command with PHP 7.1: composer71 require dotpay/magento2-payment:1.0.15 But during update I received issue: ...
1
vote
1answer
19 views

override theme .phtml file into custom module

How can override theme .phtml file override into custom module. Path theme .phtml file is app\design\frontend\ThemeName_CompanyName\Module_Catalog\templates\product\view\pricedifference.phtml and ...
1
vote
2answers
46 views

Magento2.3: How to load custom JS in custom module?

I have created a custom module and now need to add custom js file into that module. I have read many post about this but not having a clear answer. Can anyone please help me with this?
2
votes
1answer
45 views

Set custom discount price to existing cart/quote in controller

I know I asked the question once before, but i got no answer, so I try it again and hope for an answer this time. I also saw some other guys that tried to get an answer for this question, but none of ...
0
votes
0answers
17 views

Magento Multi URI or translations for routers frontName in custom module

I have a custom module which response to a URL like this: https://example.com/uri-in-english It's a multi-language store so I need to set another frontName with an equivalent URL. For example: ...
0
votes
0answers
14 views

Magento2: issue with import product

I have a written individually module for importing products from an .xml file. To this time all work correct. But today when I try import product then I received error: php bin/magento offer:product:...
0
votes
1answer
40 views

Magento 2.3: How can I add PayPal Express Checkout integration on custom page?

I'm new to magento.I'm working on magento 2 custom checkout module due to integration with client ERP system. All of my checkout process are using custom table like custom_order_table and ...
0
votes
0answers
16 views

How can I create custom csv from products

I want to create custom export csv with products information in everyday. Heads: 1. identifier;manufacturer;name;category;product_url;price;net_price;image_url;description;delivery_cost 2. ABC123;...
0
votes
2answers
26 views

How to add custom JS file?

I have created a custom module for Megamenu. I have js file which needs to be added to this module. Some of my queries are: Can I add the js file directly on my module?. If yes, how to do it? Do I ...
0
votes
1answer
53 views

Magento 2 : Change default REST API response

I have an order collection get out via API How can I change some value in API response via custom module
2
votes
0answers
35 views

Magento 2: How to install custom module in app/code folder only using composer.json file?

I'm trying to install my custom module using composer.json file and after run composer update command my custom module installed successfully in magento2. Actually I want to install my custom module ...