All Questions
248 questions
0
votes
1
answer
35
views
Add fee to Payment method
I'm trying to add an extra fee to the order when the payment method is Cash on delivery and the shipping country is Greece.
I have created the following files:
app/code/HectorCustom/CodFee/...
0
votes
1
answer
103
views
error filtering templat: Template file 'header.html' is not found in mail in magento 2.4.6
Send invoice email to custom mail address in magento 2 but
create custom email template but face this issue in magento 2.4.6
app/code/YourVendor/YourModule/etc/email_templates/invoice_email_template....
1
vote
1
answer
93
views
Composer Patch vs. Custom Module for Vendor Directory Modifications
Is there a general consensus on when you should create a custom module to override core vs when you should use a composer patch?
At present, I need to add @ to a line of code and feel that a module is ...
4
votes
2
answers
128
views
Injecting code into theme product page
The may well be too broad of a question, but I'm having extreme difficulty finding any answers. I want to know if its possible to add a phtml block/view to a product page when you have a theme ...
2
votes
0
answers
227
views
Magento 2 Add a global js function
i'm trying to extend Magento_Ui/js/lib/core/class, in magento 2.4.3-p1, from a module but my extend js doesn't load in page
here is my /view/frontend/web/require-config.js
var config = {
config: {
...
0
votes
0
answers
48
views
how to make custom tier price in add product feature of magneto 2
I want to make a tier price programmatically for quantity-based shipping prices
like the screenshot below, can anybody help me in developing this feature
0
votes
1
answer
84
views
create custom module, get existing module configuration
I would like to create a custom module, I want to get used to the vendor/magento/module-ups/ module, and use the same config in my custom module, such as userID, password, access key.
how can I ...
0
votes
2
answers
130
views
Why is this code slow
We have a custom module to show images from sw3 on the product page, so the main image and any gallery images. The code works but going from a list page to the PDP is very slow and when I disable this ...
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 ...
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 ...
0
votes
1
answer
927
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
0
answers
149
views
How to double the items in the cart by updating the quantity in the product cart page?
Double the value in the cart by updating the quantities.
0
votes
0
answers
20
views
Can anyone resolve this issues? Two buttons (add to cart )are coming with the disabled mode
I need to apply the code for the add to cart button but it is coming in disabled mode hence unable to do the required changes.strong text
0
votes
2
answers
750
views
How to get the template Id in controller? template Id is returning NULL for the custom template in the custom module
Index.php
<?php
namespace Eaglerocket\Customquote\Controller\Index;
use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Context;
use Magento\Framework\...
0
votes
1
answer
407
views
Notice: Undefined property: Eaglerocket\Customquote\Controller\Index\Index\Interceptor::$storeManager in Index.php on line 138
<?php
/**
*
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Eaglerocket\Customquote\Controller\Index;
use Magento\Framework\App\Action\...
0
votes
1
answer
23
views
This is the error I am facing while sending the mail function
<?php
/**
*
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Eaglerocket\Customquote\Controller\Index;
use Magento\Framework\App\Action\...
0
votes
2
answers
36
views
Query is not working?
/I need those questions whose status is 1 but its not working/
<?php $i=1;
//$coll=$collection->getSelect()->where("`main_table`.`status`= 1");
//$collection->load(true);...
-1
votes
2
answers
83
views
I need to display table data in my custom module at the front end of the site. Its saying wrong argument for $collection
/*Showdata.php Controller\Index
*/
<?php
namespace Eaglerocket\Customquote\Controller\Index;
use Magento\Framework\App\Action\Context;
use Magento\Framework\View\Result\PageFactory;
use Magento\...
0
votes
0
answers
25
views
If trying to get the current product info then pop up model is not opening
/Blockname.php/
<?php
namespace Eaglerocket\Customquote\Block;
use Magento\Framework\View\Element\Template;
class Blockname extends Template
{
protected $_registry;
public function ...
0
votes
2
answers
171
views
Need to show the value of the product in the value attribute of input element but it is not giving any value. Where is this get product function?
<?php $_product = $block->getProduct(); ?>
<?php $buttonTitle = __('Add to Cart'); ?>
<?php $buttonTitl = __('Get Quote'); ?>
<?php if ($_product->isSaleable()) :?>
<...
0
votes
1
answer
1k
views
Unable to edit integration
We recently cleaned up our Magento 2.4.2 store so we had no generic users. Since we did this we noticed one of our integrations shows as inactive and we are unable to Activate or edit the integration, ...
1
vote
0
answers
210
views
Magento 2 custom routing frontend not working (100 router match iterations)
I have used this url to change it but i am keeping getting the same erros
https://magento.stackexchange.com/a/209478/96152
i have a custom routes.xml
<?xml version="1.0"?>
<config ...
3
votes
1
answer
1k
views
Magento 2 online refund for custom payment method
I am developing a Magento 2 custom payment module for one of my clients, yet I am now totally blocked in finding a way to process an online refund for any of the created orders. I can't locate the ...
0
votes
3
answers
606
views
How to disable custom plugin in admin
I have created a custom module to disable free shipping based on some conditions. I have to used
Custom/ShippingRule/Plugin/Magento/Shipping/Model/Shipping.php to do the functionality.
It is working ...
0
votes
2
answers
667
views
I want to Display custom Price Under price in mini-cart
I want to display price like show in image.i want display 10% of price in mini cart under price please help me.
-1
votes
1
answer
70
views
Custom Module for sending mail in Magento 2 didn;t send mail?
I have created a custom module in Magento 2 for sending the mail but it doesn't send ant mail in my mailbox.
There will be no error shown on page itself please any one help about that.
Any help is ...
0
votes
2
answers
1k
views
how to add product to cart in magento 2 using custom controller?
I have tried the following controller file to add product to cart in my custom extension.
<?php
namespace MS\Recommendeditems\Controller\Index;
class Index extends \Magento\Framework\App\Action\...
0
votes
1
answer
97
views
Exception Error on Success Page Module
I am currently attempting to modify my version of Magento ver. 2.3.4 by creating a new module to inject a custom attribute into the checkout success page.
The code in the files is as follows
...
1
vote
0
answers
101
views
How to add custom category rule tab in form in admin side in magento 2.3.5
Hello Friends I want to add new tab in form for applying rule for specific category in magento 2.3.5.
0
votes
1
answer
138
views
Module to Add/Manage Custom Fields?
Is there a Magento2 module similar to Wordpress' Advanced Custom Fields that allows admins to add and manage custom fields to CMS and other pages through the GUI?
0
votes
1
answer
466
views
Create custom FAQ module in magento 2.3.2
I want to create custom FAQ module in magento 2.3.2. with no customer involvement.
in backend admin will add questions and ans. and in frontend, it should display on product details page next to ...
1
vote
1
answer
527
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 ...
1
vote
0
answers
868
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
0
answers
57
views
Store external API expire time in Custom Module
I use ajax to get the access token from the external API. How can I store the expired time across the site and the ajax only call again when the session expired?
test.js
/helloworld/index/display is ...
0
votes
2
answers
1k
views
I want to display my custom module table data in front page (Magento 2)
<?php
namespace WebQillaModule\FinalModule\Setup;
use Magento\Framework\Setup\UpgradeSchemaInterface;
use Magento\Framework\Setup\SchemaSetupInterface;
use Magento\Framework\Setup\...
0
votes
2
answers
119
views
custom image in shopping cart
I would like to customize the shopping cart by adding pictures right between the headline "Shopping Cart" and below the Item table but haven't figured out yet where the xml files are to overwrite this ...
0
votes
1
answer
535
views
How to add a frontend search box functionality for a custom table grid magento2
I have created a custom module and get data in the list format, now I want to add search functionality on the list view, so how can I add that?
0
votes
2
answers
4k
views
How to fetch data from a custom table in magento2 and show in home page
I have created a custom module with a custom table, now I need to fetch the data from the table and display in the home page. I achieved it by applying object manager I know it's not the correct ...
0
votes
0
answers
145
views
Block is not getting called in custom module - Magento 2.3
I created a custom module to list all categories in a custom page. But the associated block is not getting called in the layout file. I can see the controller function is getting executed and page ...
0
votes
1
answer
409
views
I want to override customer-account-index.xml from magento-customer
If we want to override customer-account-index.xml from magento-customer. Where I should override?
By making folder name as Magento_Customer in app\design\vendor\theme or app\code\vendor\module..
...
1
vote
2
answers
1k
views
Custom Rest API for custom table not wroking
My webapi.xml is below.
<?xml version="1.0"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd"&...
3
votes
1
answer
675
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">
...
1
vote
2
answers
1k
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 ...
6
votes
2
answers
6k
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 ...
1
vote
2
answers
2k
views
How to override newsletter.phtml (my account option) in Magento 2
I would like to edit the "General Subscription" text in my custom theme present in the My Account page under the Newsletter Subscription menu.
I've already located the page which is:
app/design/...
1
vote
0
answers
597
views
Add message on Checkout Page in Magento 2
Already add my custom module to Disable Payment method on the Checkout Page based on Product Attribute in Magento 2
Now I want to show the message to customer on Checkout Page if COD is Inactive by ...
0
votes
0
answers
51
views
What are some simple custom modules to play with Magento 2?
I'm learning Magento 2 modules. I would like to create custom modules from beginner level to advanced.
Can you please tell me what are simple concepts that can be created as a module in Magento 2?
...
1
vote
1
answer
53
views
Magento 1.9 Custom Module Error
I am a noob of Magento 1.9.
I have these custom module files:
app/code/local/mypackage/custommodule/block/mymodulename.php
app/code/local/mypackage/custommodule/etc/config.xml
app/code/local/mypackage/...
2
votes
0
answers
2k
views
Magento 2: Create a custom module for banner slider
I want to create a custom module for banner slider in Magento 2. Could anyone please guide me?
Looking forward to hearing from you.
0
votes
0
answers
19
views
Custom Fields Best Practise
I'm very new to Magento development, but i've migrated over from wordpress development.
One of the things I love most about wordpress development is how easy it is to make almost everything on the ...