Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
0 answers
208 views

Magento 2 : How to create new skeleton module using Bash script?

I am looking for an bash script which will create the basic new module skeleton. I've found this post useful but it only works from the root. Any solution? Thanks in Advance!
Rahul Barot's user avatar
  • 1,122
0 votes
2 answers
87 views

Magento 1.9: Sql setup Stripe module not execute

I'm installing throught composer the Stripe module, the problem is that when I installed the site, where the module work, crash because can't find the table in Database. I don't know why the setup sql ...
Luca's user avatar
  • 1
0 votes
1 answer
377 views

What's are differences between Magento 2 libraries and Magento 2 modules?

The issue is there's no information about this topic in the Magento 2 documentation or anywhere else, so what's a Magento 2 library and what's its main difference compared with a Magento 2 module? The ...
Agustín Nieto García's user avatar
0 votes
1 answer
442 views

How to avoid JS minification in an external file add via requirejs-config.js?

I have a custom module called Quicklink it has its own JS files and external JS files too, I've added an external JS from a third-party CDN, but when I enable the JS minification in a Magento 2 clean ...
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
168 views

Capture payment online after create quote programmatically

I need programmatically to capture payment online using the PayPal Payflowpro method and credit card details. Also, create an order number and invoice after creating a quote then setting quote_id in ...
mido's user avatar
  • 69
0 votes
1 answer
163 views

How to send inquiry email to customer on admin reply in magento2.4.3

Hello all magento developers, I want to send inquiry email notification to customer when admin can add reply to customer inquiry in magento 2.4.3. can anyone have idea then please share here, Thank ...
Deep Shah's user avatar
  • 577
0 votes
1 answer
144 views

How to create a custom module after installing magento docker image?

I have successfully set up a magento docker image with the help of Adobe DevDocs. But when I tried to create a custom module under the directory of /app/code. I met lots of error when I tried to ...
王依依's user avatar
0 votes
1 answer
790 views

Magento 2 Setup Custom Module Download Using Composer

GitHub Link -> https://github.com/mahesh-code-work/Module-Learn/ I create one small basic module and try to install using composer. How to set up the whole setting and what is the right way to do ...
Msquare's user avatar
  • 9,328
0 votes
1 answer
177 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.
Muhammad Zahoor's user avatar
0 votes
1 answer
481 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
Sai Yugandhar Reddy Alla's user avatar
0 votes
1 answer
178 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.
Oscprofessionals's user avatar
0 votes
1 answer
246 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] ...
Ajith's user avatar
  • 66
0 votes
1 answer
644 views

Magento 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? I want to add custom text before the product name, like shown in the picture.
Savan Dholu's user avatar
0 votes
1 answer
46 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\...
MMM's user avatar
  • 3
0 votes
3 answers
419 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 [ '...
Akif's user avatar
  • 1,551
0 votes
2 answers
620 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 ...
Muhammad Zahoor's user avatar
0 votes
1 answer
30 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?
Mack Sookjai's user avatar
0 votes
1 answer
130 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?
JDmagentoDev's user avatar
0 votes
1 answer
776 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 ...
sachin gadhavi's user avatar
0 votes
1 answer
19 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 ...
Vinícius Machado Fabiano's user avatar
0 votes
2 answers
677 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/...
Zahid Hussain Magento's user avatar
0 votes
2 answers
1k 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/...
smruti's user avatar
  • 136
0 votes
1 answer
791 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 ...
MCattaneo's user avatar
0 votes
1 answer
182 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". ...
Deep Shah's user avatar
  • 577
0 votes
2 answers
907 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 ...
MCattaneo's user avatar
0 votes
2 answers
40 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=&...
Prits's user avatar
  • 623
0 votes
1 answer
87 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 ...
Bùi Thế Phước's user avatar
5 votes
6 answers
25k 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 ...
magedev's user avatar
  • 75
0 votes
1 answer
680 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. ...
Hassan Al-Jeshi's user avatar
0 votes
0 answers
2k 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-...
Isaac's user avatar
  • 1
1 vote
0 answers
79 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.
Justin Collins's user avatar
0 votes
0 answers
66 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/...
user2240778's user avatar
1 vote
1 answer
800 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 ...
Robert's user avatar
  • 2,186
0 votes
1 answer
103 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 ...
Robert's user avatar
  • 2,186
0 votes
1 answer
608 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 ...
Prits's user avatar
  • 623
0 votes
2 answers
101 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 ...
Akif's user avatar
  • 1,551
0 votes
1 answer
926 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 ...
Soumyo Deepto's user avatar
0 votes
1 answer
143 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 ...
Robert's user avatar
  • 2,186
1 vote
0 answers
438 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 ...
Prits's user avatar
  • 623
1 vote
1 answer
2k 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 ...
Aknot's user avatar
  • 298
0 votes
2 answers
519 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 ...
Robert's user avatar
  • 2,186
0 votes
3 answers
1k 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 ...
user99842's user avatar
2 votes
1 answer
908 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 ...
Mohsin's user avatar
  • 21
0 votes
1 answer
33 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 ...
Antakiotis's user avatar
3 votes
0 answers
491 views

is mixin for library file's method possible?

I was solving one of the issues from the other stack exchange question. The fotorama library file which is located in lib/web/fotorama/fotorama.js has one method navUpdate(){...} at 2765 line. I want ...
Rajkumar Vellaiswamy's user avatar
0 votes
1 answer
20 views

Magento 2.3.6 - Stock do not go from 1 to 0

We have Magento 2.3.6 and MIS is disabled. So we have an issue when products are sold from any number down to 0 it does not decrease at all. E.g. if we have 10 left of a product and someone buys 10 ...
Jan-petter Havna's user avatar
1 vote
3 answers
572 views

Get error after disabling a module

I have upgraded Magento from 2.2.4 to 2.4.0, i have custom modules that are not compatible with the new Magento version. So i disabled the module but when i run php bin/magento setup:di:compile I ...
tarek fellah's user avatar
-1 votes
1 answer
549 views

Magento 2.4.2: How to change the shipping label?

With a custom shipping module, I am adding brokerage and duties to the shipping cost for an order from Canada. How can the shipping label be changed so that it reads "Shipping includes brokerage ...
CodeForGood's user avatar
0 votes
1 answer
39 views

magento cli error after module installation by composer

i use magetno 2.2.3 . the bin/magento cli is working fine until I add a module by composer require [module name] --ignore-platform-reqs.after that it gives me a long term error : so how should I ...
sina Dabbagh's user avatar
0 votes
2 answers
1k views

Magento 2.4.3 - Module and Theme Installation not working

I have installed Magento 2.4.3 via composer and trying to install custom frontend/admin theme and custom modules. These modules are already working in version 2.3 that have been copied and added at ...
Slimshadddyyy's user avatar

1 2
3
4 5
64