Questions tagged [module]

Questions about developing custom modules

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

create custom module for customer inquiry magento 2.3.5

I want to create inquiry form in which customer can give the replay and admin can send details . I want to display on product page on click of Button and in customer account section.
0
votes
0answers
21 views

Add pagination in custom module by ajax call

I have developed Custom module in which data retrieving from db perfectly, but i want to show first ten data(10 rows) at first page and at second page display next ten data and so on by Ajax call.
0
votes
1answer
38 views

Magento 2.4 Get tracking Information from order/shipment [closed]

Track My Orders Using Order Status in Magento 2 Pending as Ordered Processing as Accepted Shipping as On It's Way Completed as Delivered
0
votes
1answer
12 views

Dynamic category module for price range based category

Thanks in advance. I am looking for a script or module that will run via cron and remove products from a category if their price is above 5 USD also it will add products that have a cost up to 5 USD.
0
votes
1answer
15 views

magento2 custom module installation from git using composer

how to install my custom module on another magento2 project from git using composer I tried with composer config ->this works fine. when I run composer require its shows an error [RuntimeException] ...
0
votes
1answer
19 views

Magneto 2: How to Add custom text after product image in product list & grid view page via custom module?

How to Add custom text after product image in product list & grid view page via a custom module? In this picture custom text, I want to add before the product name
0
votes
1answer
22 views

Magento doesn't recognize module

I have created a new module but when I run the command magento module:status I couldn't see my module name either in the enabled or disabled list my registeration.php code : <?php \Magento\...
0
votes
3answers
34 views

How to sort modules in config.php alphabetically?

Is it possible to sort the output of the modules node in config.php alphabetically? This way git versioning won't get messed up since Magento sometimes changes the sorting. <?php return [ '...
0
votes
2answers
29 views

add custom tab in product page

Is it possible to add custom tab in product page remains in custom module(with out changing template of theme). if it's not possible help me in extending template of theme to adding custom tab in ...
0
votes
0answers
14 views

Module stops working after enabling another module

So I have a problem with 2 shipping-related modules that send data to a third party after the order has been made. The modules have almost the same code but they have their own namespaces and ...
0
votes
1answer
20 views

How to check if tablerate is active in custom shipping method?

I have custom shipping method but I would like to return false when tablerates is appear in Checkout page. Anyway to check the condition?
0
votes
0answers
18 views

Magento 2 Custom Payment Method: Disable Credit Card Number Validation

How do I disable the validation of a credit card number upon submitting an order? The number can submit does not have the full credit card number, and so it marks it as invalid during submission. Is ...
0
votes
0answers
6 views

magento 2 Import csv for my productline using url of the csv or google sheets

I created a custom module to extend the Magento default import function, and now I want to automate the import for my CSV which is using an URL instead of manually importing it from your file I have ...
0
votes
0answers
8 views

Magento 2 + Salesforce API Integration

We are a wholesale business and would like to connect Magento 2 with Salesforce to have a 2-way synchronization. We're currently having issues finding a suitable and cost-effective API connection that ...
0
votes
1answer
13 views

Can you map in require.js in a vendor/module to overwrite an HTML file in another vendor/module in Magento 2?

Instead of overwriting an HTML file in a core or 3rd party vendor/module via app/code, could you do it from another vendor/module via mapping in require.js?
0
votes
1answer
38 views

need to fetch country and state dropdown in contact form magento 2.4.3

need to fetch country and state drop down in contact form in magento 2.4.3 it showcase & fetches state for default country but could not fetch any other selected country from drop down . code for ...
0
votes
1answer
13 views

Can't override magento contact

I seem to be missing something when it comes to overriding controllers. This is a somewhat recurring question in here, but nothing I've found in other questions worked for me, so either they might be ...
0
votes
2answers
23 views

Magento 2 Js files are not loading from pub/static in my custom module

Magento 2 Js files are not loading from pub/static in my custom module Js file path as: app/code/vendor/name/view/adminhtml/web/js/grid/columns/thumbnail.js Even above file is available in static/...
0
votes
0answers
12 views

Magento 2 Custom Payment Method: Capture Function Error Handling

When using a custom payment method, the placeOrder function submits the information to the capture function in the Model file of the module. If an error happens there, is there a way to return that ...
0
votes
2answers
32 views

How to override product details page in custom module

I create a module, then create files details.phtml under app/code/Namespace/Module/view/frontend/templates/product/view and create catalog_product_view.xml under app/code/Namespace/Module/view/...
0
votes
1answer
28 views

Custom Payment Module: Executing placeOrder() function in javascript

When using a custom payment module, I am trying to execute code with my payment processor then submit the order to the system to run the php methods. To do that I need to be able to execute the ...
0
votes
0answers
51 views

How to bind a custom configuration value in a html template

I'm working on a module that adds a note to explain the shipping method that the customer selects in checkout. For example, when a customer selects 'Warehouse Pickup', a note will display explaining ...
0
votes
1answer
45 views

add firstname and lastname in newsletter grid in magento 2.3.x

I want to add firstname and lastname in newsletter grid in Magento 2.3.x. first_name and last_name in newsletter form in frontend. adding columns to databse table "newsletter_subscribers". ...
0
votes
2answers
78 views

Add Custom Javascript to method-renderer File

I have created a custom payment module, and when I click the Place Order button, I need it to run a set of custom javascript functions. To do this, how do I include a custom function from another ...
0
votes
0answers
57 views

Magento2: Add image to shipping method on checkout update

I am developing a module for Magento2 that add an image next to every shipping method that is defined in custom module settings on every checkout update. I notice that checkout updates every time a ...
0
votes
2answers
27 views

How to extend this file app/code/Magedelight/SMSNotification/Helper/Data.php in Magento 2

I want to extend app/code/Magedelight/SMSNotification/Helper/Data.php this file in my custom module. I have created a module. My di.xml file app/code/Hl/Smsnotification/etc/di.xml <?xml version=&...
0
votes
1answer
23 views

Magento 2: How to display author's name outside the admin grid

I just have learned magento 2. I have a table ecommage_blog in which there is an author_id attribute (which is the id of the customer that created that blog), so how can I display the author's name of ...
2
votes
4answers
649 views

Magento 2.4.3 : Type Error occurred when creating object: Magento\Search\Model\EngineResolver

I am getting this error on a page 1 exception(s): Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Magento\Search\Model\EngineResolver, Argument ...
0
votes
1answer
36 views

How to set special price on all stores?

I want to programmatically set special prices on products. The below code works perfectly for 1 store view. But I want to have the special price to be applied to the "All Store Views" scope. ...
0
votes
0answers
45 views

main.CRITICAL: Error: Call to a member function getId() on null

I'm using Magento 2.4.3 and I'm loading a custom module using someone else's code from the link https://community.magento.com/t5/Magento-2-x-Programming/Magento-2-Product-Reviews-only-by-customer-who-...
1
vote
0answers
25 views

Should I be integrating Babel with the frontend javascript in my Magento2 module?

I created a magento 2 module which is using mostly javascript. I want to know what is best practice for implementing backwards compatibility across older browsers in magento2.
0
votes
0answers
13 views

Shipping estimation calculation takes forever

I'm only using 1 shipping method, flat rate $6. On one page checkout, is there a way to disable 'shipping calculation' and directly show $6 for shipping fee? Only estimate-shipping-methods takes ...
0
votes
0answers
25 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/...
1
vote
1answer
50 views

Magento 2.4 - PayPal Smart Button Style

I want to change the button style of the PayPal Express Checkout, but is not work, I have create a module to rewrite the PayPal but how I can add my changes there? I create di.xml file on following ...
0
votes
0answers
13 views

How to get delivery date module into store-selector / instore-pickup in checkout?

So I got this module to pick a delivery-date,- time and comment. It is visible on /checkout/#shipping at the bottom of the form for every shipping method but I want it to only show for "In-store ...
0
votes
1answer
36 views

Magento 2 - How I can rewrite this file

I want to change the following file: vendor/magento/module-paypal/Model/SmartButtonConfig.php but if I made the modifications directly in the vendor file when I will upgrade my store this ...
0
votes
1answer
42 views

How to send array variables in Magento 2 email template?

I have created a custom module to send custom email template. But i want to send array value so need to use the loop i have tried in mail file but it doesn't work. Any one have any idea how to send ...
0
votes
0answers
31 views

Magento 2 Developer Training Prerequisite

I am taking Magento courses in Adobe commerce, but finding it difficult to follow the code structure. I am basically a OOPS and SQL developer so not that familiar with latest front end technologies. ...
0
votes
2answers
24 views

How to configure Magento 2 to have personal/private develpment extensions just for myself

I have several development tools which I personally use like: https://github.com/ho-nl/magento2-Ho_Templatehints https://github.com/mage2tv/magento-cache-clean Is it possible to somehow configure ...
0
votes
1answer
35 views

How to override magento/module-checkout/view/frontend/web/template/minicart/item/default.html in custom module

I have custom additional options in quote and want to hide few options in the mini cart. How to skip a specific index in Knockout js array from the following code <dl class="product options ...
0
votes
1answer
36 views

custom module stop working after Magento 2.4.3 upgrade

I have a module that extend the functionality of other module, in fact it display the product name and product price as a variable, after I upgrade the Magento to 2.4.3 this module stop working and I ...
0
votes
0answers
44 views

How to extend app/code/Smartwave/Megamenu/Block/Topmenu.php this file Function in Custom Module or in Child Theme?

I need to extend a function from this file app/code/Smartwave/Megamenu/Block/Topmenu.php. By using a module or in child theme. How can i achieve that to extend that file like how to modify that ...
1
vote
1answer
134 views

Get additional_information from sales_order_payment to show in backend sales order grid

I have a custom sales order grid module I want to extend, to show the information from the field additional_information, in the table sales_order_payment. I have this right now, but it ain't showing ...
0
votes
0answers
26 views

How do I pass JavaScript variables (from jsfile) in to PHPfile in magento 2

How i pass the js varible from custom js file in to my custom module php file, because i create dropdown in header and i need to use that value for adding some condtion in php file and custom js file ...
0
votes
2answers
33 views

Change order status for custom module

I want to use one offline payment method module, I install this module is there any way to change the status of the order to be Processing instead of Pending? Right now all my orders have status ...
0
votes
0answers
14 views

Auto configure custom widget programmatically after enabling it in Magento 2

I'm struggling with some concept of auto-configuration custom widget provided by the module. By default, the widget should be configured by the merchant, which is obvious, but my question is - is ...
0
votes
2answers
292 views

Magento 2.4.3 issues - compatibility issue with a shop by brand module

I have installed multiple shops by the brand module but they have a common issue after I upgraded to Magento 2.4.3... there is no issue on 2.4.2  composer require coderkube/brand:1.0.1 --no-update ...
0
votes
0answers
15 views

How to create a module to add .well-known/file via controller?

I need to create a dynamic file to add the controller route below and change the content via the admin panel. mystore.com/.well-known/file I can't create a static file, and the admin option is ...
1
vote
1answer
80 views

How to call php block function with parameters from a js file?

I'm new to Magento, and I'm not sure how to make this work. I tried searching a lot but could not find anything related. I have a block function in my custom module which takes 2 parameter public ...
0
votes
1answer
16 views

Installation module-wysiwyg-advanced-master

I wanted to thank and congratulate the creator of this amazing module and ask him for more detail about the installation. In fact I am not a confirmed developer and I am having trouble installing the ...

1
2 3 4 5
63