Questions tagged [module]

Questions about developing custom modules

Filter by
Sorted by
Tagged with
0
votes
2answers
15 views

Add code to <head> using a custom module & theme

I'm working on a custom theme for Magento. I'm trying to create a module for the theme that adds some code to the <head> but i'm finding it difficult to get it working. I've created my module ...
0
votes
0answers
15 views

Magento2 how to make frontend module visible to specific customers group only?

I need to create a page visible to only one customer group.
0
votes
0answers
14 views

How to hide bundle product price in magento 2.3.5

I want to hide bundle product price in magento 2.3.5. I want to hide price if product is bundle product. If anyone can have idea then please share it. Thank you in advance.
0
votes
1answer
17 views

magento override billing and shipping last name

I dont want to show last name from billing and shipping name everywhere like invoice , sales order , how can i do same with out changing from database please help me with same . i am new to magento ...
0
votes
1answer
34 views

Custom Tab in My account Page goes to 404 in Magneto 2

It added the Buttton but when i click on it it goes to 404 error. My Folder Structure be Like And my code is : index.php <?php namespace Demo\Mod\Controller\Index; use Magento\Framework\View\...
2
votes
0answers
9 views

Add module to Magento Marketplace - where can I find their official tester utility

I intend to add my first module to Magento marketplace. While reading the documents they say that in the first step the module will go into a first automatic test phase using their utility and they ...
2
votes
0answers
13 views

I am having this kind of error while doing mass delete

I am facing this error while doing mass delete action in magento 2.3.5. {"Invalid method delete","1":"#1} Please anyone have idea please Share with me. Thank you In Advance.
1
vote
1answer
19 views

Is it possible to load data from the server using a HTTP POST request within a Magento Module js file?

Is it possible to load data from the server using an HTTP POST request within a Magento Module js file? File located in app/code/MyVendor/myCustomModule/view/frontend/web/js/mycustom.js Example ...
0
votes
0answers
24 views

I am facing this error while display data in grid in Magento 2.3.5 [closed]

This error i am facing in magento 2.3.5. Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\M2\vendor\magento\framework\View\Element\UiComponent\DataProvider\DataProvider.php on line ...
1
vote
1answer
17 views

I am facing this error while fetching data to admin grid in Magento

I am facing this error while fetching data from custom table in Magento 2.3.5 the error is: Argument 1 passed to Magento\Framework\View\Element\UiComponent\DataProvider\DataProvider::...
0
votes
0answers
11 views

How to Create Custom RMA form on frontend of Magento 2?

I want to create a custom form in frontend and using this form customer for Fields I have some fields like below. Customer First Name* Customer Last Name* Company Mobile No.* Email (Should be a ...
0
votes
2answers
22 views

Can't get rid of class from deleted module

I created a module, which I later deleted. The homepage of my site loads, and my categories page loads, but my products pages don't load. I get an error saying 1 exception(s): Exception #0 (...
0
votes
1answer
29 views

How to add custom payment module development logs?

I am attempting to build a custom payment module but as far as I got I get the error message sh: -t not found when checking out a test order I saw this question but the link in the answer is broken, I ...
0
votes
0answers
22 views

How to validate and Submit Login Form Using Ajax

i want to create login form using ajax with validation in magento 2.3.5. so can anyone have idea about it then please share with me. Thank you in advance.
0
votes
0answers
24 views

How to display login on hover in magento 2

In this i want to create a custom module in that one button is in header for login and on hover of that button i want to display login form with ajax.
0
votes
0answers
7 views

Custom module phtml file for custom table data list and view like product in magento 1.9

I want to create a module example: manufacturer. I want to give a link on the site when a user click on that a url will open like manufcaturer.php and it will show all the list of manufacturer later ...
0
votes
0answers
10 views

Composer to move Custom PHP SDKS to lib from folder during Installation

I am working on creating a module and wanted to submit it to the marketplace. My module interacts with various PHP SDKs, so for development, I have added them into the lib folder, not in the Module, ...
1
vote
0answers
21 views

Magento 2 : place order after a click on place order button in custom payment module

I'm a beginner on Magento. I try to create a custom payment module. All work fine but when I click on the "place order" button on the checkout page, the order is not add to the orders list ...
0
votes
0answers
13 views

Plugin to fire on customer delete

I am trying to write a plugin (interceptor) to fire when a customer is being deleted in Magento 2. Previously I have written a plugin to fire when a new customer is saved. My plugin for saving makes ...
0
votes
0answers
7 views

Magento 2 : Redirect customer to login page on email change

i want to redirect the customer to the login page when email id is changed from edit form ,i did below code Issues : 1: I am not getting redirected to login page, i can see message **Please Login now*...
0
votes
0answers
6 views

How to post Order Information to custom Shipping API after a complete Order in checkout using Custom Module

I developed a custom shipping extension for Magento 2.3.5 which works fine but I need to be able to post order details to the API to complete the process. How can I achieve this? I am relatively new ...
1
vote
1answer
29 views

Magento 2.3.5: How to hide Shipping Method

I want to do this thing if customer orders over $50 then give free shipping method will be shown and if customer orders below $15 flat order will be shown and free shipping will be hide.
1
vote
2answers
21 views

Error : Incompatible argument type

I am facing an error while running command di:compile This is my block file <?php namespace Company\Module\Block; class Booking extends \Magento\Framework\View\Element\Template { /** * ...
1
vote
0answers
23 views

Type Error occurred when creating object, attempting to use custom model from custom module

Yes I know, another "Type Error occurred when creating object" post... In addition, I'm probably going about this in a way that will make the seasoned M2 dev need a moment before reading ...
0
votes
2answers
23 views

I want to update order status using magento's rest api

I want to use Magento Api for Updating Status of order in Magento 2.3.5 so anyone can guide me from scratch how can i use api. I also want to know in Magento how many default api is there and how to ...
0
votes
2answers
32 views

Get system config data in custom module

I've seen a couple of things about this but I can't seem to get the value I have <field id="template" translate="label" type="select" sortOrder="3" ...
0
votes
2answers
36 views

How to Change Order Status using Api in magento 2.3.5

I want to develop new module for changing order status using Api in magento 2.3.5 so can anyone have idea then please share with me. I want to create order status and change it using Api.
0
votes
0answers
17 views

Magento 2: Create a cart price rule with conditions programmatically (for coupons)

I want to generate a coupon, when a new user registrates on the website. For that, I use this module, which works very well: https://github.com/php-cuong/magento2-newsletter-coupon-code In this module ...
0
votes
1answer
24 views

I want to create column in sales_order table and view custom field on order edit section in magento 2.3.5

I am added one custom field in checkout address form and i want to store that field data in Database and also display this field in admin order edit page in magento 2.3.5, so anyone can have idea ...
1
vote
1answer
17 views

How can i get customer data after registration?

I have the following code but it is not working. vendorName/moduleName/etc/module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
27 views

Magento 2 - Custom Module JS error

I am trying to add custom js file using my custom module. But getting below error in console. Uncaught ReferenceError: Plyr is not defined DevTools failed to load SourceMap: Could not load content ...
0
votes
0answers
18 views

How to make my own module for attribute sets for magento backend?

Hello I´ve made my own module for magento backend for a new attribute set module from the menu just like the one magento uses, but I don´t know how to get the list for the attribute sets to print it, ...
0
votes
0answers
14 views

Update/overwrite Third party module which is installed in vendor folder

I have two extensions installed via composer and that is in vendor folder. I have done some customisation on those modules ie: updating the files in the vendor/mymodule/ folder. Now after a Magento ...
0
votes
0answers
11 views

How to add Magento Default Captcha to all forms

I want to add the Magento Default Captcha to all forms of my magento 1.9 store. I want to add the default captch on forms like Contact Form, Review Form, Register Form, Onepage Checkout, Customer ...
0
votes
0answers
27 views

I want to enable or disable Module according to system.xml field value

I want to enable or disable module according to the yes/no field value of system configuration file. i have developed one system configuration setting in that i have created in admin-side. please ...
0
votes
0answers
8 views

Using paid modules for multiple websites

I have a paid module which is integrated in website. Can I integrate the same module in another website. In case if I use it would cause any legal issues. How could they track the module usages?
0
votes
0answers
22 views

Custom template file is loading after hard refreshing the page in Magento 2

I override vendor sale module template file Module-sales/view/adminhtml/templates/order/create/sidebar/items.phtml in custom module with directory name Vendorname/Companyname/view/adminhtml/layout/...
0
votes
2answers
28 views

where is simple product module folder?

From the Magento , I can tell by folder name Module-bundle is for bundle products Module-configurable-product for configurable product so what about the simple product? I can't find where it is, I ...
0
votes
0answers
121 views

Magento 2.3 - Display text Instead of 0 for 0 Price products

For my Magento 2.3.3 store lot of products ASK Price condition, How efficiently achieve this case, Anyone helps me with preference or module?
0
votes
1answer
31 views

How to test module in different Magento and PHP versions using CI?

I have an open-source module in Github and I'd like to automatically test it via CI using the Magento Coding Standard and different Magento installations in different PHP versions. For example: ...
0
votes
0answers
16 views

Orders module Not working

my Site is working fine but when i open orders from admin panel then it shows error. i googled and try to fix issue but i failed, i got this problem after configuration of payment method. If anyone ...
0
votes
2answers
40 views

Why Magento core modules is inside vendor folder?

I know i should not modify any code inside vendor folder. And the vendor folder should be ignored in the git server. But what if i need to make some small changes for the core module of my Magento ...
0
votes
0answers
7 views

Making dynamic page from custom attribute

I am trying to generate the dynamic creator page for each creator name and its product. I have custom attribute called "creator", and drop down list of different author names. Each author is assigned ...
0
votes
2answers
39 views

Magento 2.3 extend product list collection in child template - error on search

We use the following method to extend the product list collection inside a child template. This works fine for the product catalog list page, but gives a error (skips the load from the element) on the ...
0
votes
0answers
20 views

How to get the deployed version number via PHP?

I need to use the updated deployed version of static files in my module. How could I get it?
0
votes
0answers
15 views

Bypass Web Setup Wizard for Extension Install

Scenario: I am trying to install the authorize.net module/extension. I have run the Web Setup Wizard: "Your current PHP memory limit is 256M" I changed the maximum memory to "=2048" in php.ini. I ...
0
votes
0answers
6 views

Magento 2 Grid Add column with href and hash tag

i want to show url in grid with hash tag below it currently used , is there way to hash tag in end $this->addColumn( 'edit', [ 'header' => __('Download'),...
0
votes
0answers
8 views

Folder and file structure for state restriction module in Magento 2.3

I am new to Magento and am using the following "how to" guide to create a state restriction module in my Magento 2.3.3 instance: https://www.dckap.com/blog/how-to-restrict-specific-us-states-in-...
0
votes
0answers
8 views

Problem of config after installing module

After I have enabled my new module , I got this error with no details where the error persists so I can debug it, has anyone has an idea about this 1 exception(s): Exception #0 (Exception): Notice: ...
0
votes
2answers
26 views

Correct way to change core module code

I have one line of code in a core module (contact) in which I need to change. What is the correct way to make the change to change/overwrite this file?

1
2 3 4 5
60