Questions tagged [custom]
Denotes questions about Custom code or Custom modules which is used to add/extend/enhance the existing functionality of Core Magento.
1,181 questions
1
vote
1
answer
71
views
I want to add the html in the image on listing page. I want to use plugin . How can it be achieved
I want to add the html in the image on listing page. I want to use plugin . How can it be achieved.I want to add the sticker label for sale new product and out of stock depending upon the condition ...
0
votes
1
answer
58
views
Add filter functionality OR Sorting for admin grid - Admin -> Reports -> Products in cart Grid
In admin panel -> Reports -> Products in cart. There is a grid that shows the products in cart. By default the sorting order is from oldest to newest with no way to re-sort newest to oldest or ...
0
votes
2
answers
352
views
Magento2: Disable / Modify GraphQL Field Suggestion
In GraphQL, if we enter wrong field name in search, its will suggest the alternative fields in the response. It creates some security issues in production. So we plan to disable that feature. ...
0
votes
1
answer
59
views
Tie dynamic fields from custom phtml block to Product Edit Save request
I have created a custom block on my Product Edit admin page by adding this to product_form.xml:
<fieldset name="my_custom_fields">
<argument name="data" xsi:type="...
0
votes
2
answers
77
views
How do you create a custom cron job in Magento 2 and ensure it executes only once per cycle?
Here crontab.xml file
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
<...
0
votes
1
answer
97
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
0
answers
52
views
Overriding Price Determination with Custom Logic
We are looking at setting up a new magento2 site as a frontend for an existing ERP system. Since our pricing methods in the existing ERP system are quite involved, we want to look at overriding the ...
0
votes
3
answers
207
views
How To Add Custom Attribute (PRICE and SKU) Data To Recently Viewed Products Widget
In the widget settings, only name, price, image, and 'learn more' are available.
How can we add SKU and PRICE?
0
votes
0
answers
24
views
Customize tier module traductions
Magento documentation says
How the application applies locales
When the locale is changed for a store, the application searches and applies translations in the corresponding dictionaries in the ...
0
votes
1
answer
243
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....
0
votes
1
answer
78
views
Magento Custom Module Directory Help
Old user, Noob question!
I have a module which is successfully "trying" to overide the sidebar.html block using the below code.
var config = {
"map": {
"*": {
...
1
vote
0
answers
113
views
Remove Type and Arguments from di.xml
How do you remove a Type and the associated arguments from a di.xml file?
Specifically, I would like to remove the "Apple Pay" button from the Shopping cart.
I have found the below code, ...
0
votes
1
answer
80
views
Magento2 Order email missing custom variable values for first time & when I send email from admin it shows values
Magento2 Order email missing custom variable values for first time & when I send email from admin it shows values
Basically this custom variable values are the order attributes.
I have used this ...
0
votes
1
answer
101
views
custom widget to retrive price
I am new to this Magento platform.
I want to create a custom widget to retrieve the price so that I can use it just by calling the widget on the front page.
May anyone help me?
0
votes
1
answer
64
views
I want to add custom model pop up for buy a subscription
I want to add custom model pop up with some message. I am creating three category A, B and C when I click on C category a model pop up will show with message please buy a subscription to product under ...