Questions tagged [custom]

Denotes questions about Custom code or Custom modules which is used to add/extend/enhance the existing functionality of Core Magento.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

How to add success mesage on click of add to cart buttton in custom module in Magento 2

I want to display success message on click of add to cart button in magento 2. I am developing custom module in which i can develop functionality of add to cart and i want to add success and error ...
0
votes
1answer
20 views

Magento 2.3.5: How to get csv from the WEB directory of Module?

I want to get csv file from web folder of custom module in magento 2 so how can i do this. please help me. Thanks In Advance.
0
votes
1answer
18 views

Is there any way to get all Applied Discount (for cart rules and coupons) line items in cart/order in Magento 2?

I need to show all cart/order discounts in the following manner: Subtotal ----------- 100.00 CHRISTMAS10 (Christmas Sale 10 % off) ----------- -10.00 CHDLL1242DK (Coupon ...
0
votes
0answers
9 views

How to implement Google Recaptcha in Custom Form?

In Magento 2.3 we are allowed to implement Google Recaptcha as described in the following link https://docs.magento.com/user-guide/v2.3/stores/security-google-recaptcha.html How can I add the same ...
0
votes
0answers
18 views

Media images not showing in custom module

I have a problem, I have created a custom module in my Magento site, so in that module I'm calling custom attributes to display some content and images, but when I'm adding media image in this ...
0
votes
1answer
13 views

PWA create custom origin for custom project

I having an issue with create custom origin it doesn't seem to be reading .env file from my project folder but I have a .env file and it's all set. Create Project REF: https://magento.github.io/pwa-...
0
votes
0answers
12 views

How to add pagination on custom collection with joining tables in Magento 2

I am joining 3 tables with my custom table and data are showing in the admin grid is perfect but in the pagination, first, new clicks are working eg: when we on 1st page pagination next link working ...
0
votes
1answer
11 views

Magento2 How to use custom fonts in Homepage

Does anyone suggest me how i can use custom fonts in my magento website ? I want to use "Red Rose" Google Fonts. i already download that font family and upload to my theme file "app/...
0
votes
0answers
30 views

Custom shipping method break cart page render

I try to create a new custom shipping method, following the tutorial below: https://inchoo.net/magento-2/creating-a-shipping-method-in-magento-2/ In the administrative panel, it appears normally. I ...
1
vote
0answers
16 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.
1
vote
0answers
11 views

Personalized order number for Trade customers in Magento 2

I'm currently looking into setting up a wholesale version of my Magento 2 store to cater to bulk buying customers, which I have previously handled manually. Everything is set to go apart from one ...
0
votes
1answer
16 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?
1
vote
1answer
23 views

Magento2: Show custom message after shipping method

I want to show custom message under each shipping method as shown in the screenshot. For this I have created a message field in admin configuration and I want to show that message under respective ...
0
votes
1answer
33 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
3answers
60 views

Magento 2 - Custom Grid Action 404 error Add Action Throws 404 Error

i Develop Simple Crude Operation Module That Throws 404 etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
32 views

Customer Customer attribute not appearing in Create new order in magento 2

I have created a custom attribute for customer https://prnt.sc/tb68lv The values are getting saved in the database. i have cross checked it again after opening the customer for edit and the values ...
1
vote
1answer
23 views

Get custom attribute for customer while creating order in backend magento 2

I have created a custom attribute for customer https://prnt.sc/tb68lv The values are getting saved in the database. i have cross checked it again after opening the customer for edit and the values ...
1
vote
1answer
22 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
1answer
21 views

limit file type in admin custom module

Hi everybody how are you I have a problem to limit the type of file that can be uploaded from the administrator panel in a custom module, I only need the type csv and xls I try a class that extends ...
1
vote
1answer
37 views

Custom column sorting(DESC and ASC) not working in custom grid Magento 2.3.5

Actually in below listing.xml file i am trying to sort customer_id column DESC/ASC but not working fine. After using below code it's loading the data in ASC order only if sort customer_id column one ...
0
votes
0answers
75 views

error: “UI component could not be rendered because of system exception”, errorcode: “42” Custom Grid Magento 2.3.5

I have created 10 columns and but if i am using 9 columns then grid is loading but once i enable 10th column it's giving an error:"UI component could not be rendered because of system exception&...
0
votes
0answers
16 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 ...
1
vote
0answers
26 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
1answer
20 views

Fastest Way to Update Product Custom Attributes and Product Name, Product Weight using csv in magento1.9

We want update existing created products Product Name, Product Weight and custom attributes using csv file. We have csv file and want compare existing created Product SKU in website with Product SKU ...
0
votes
1answer
41 views

Magento 2 : event observer before customer edit form save

I want to fire event observer before customer account edit details are saved, i am unable to find event observer for it. Is there any observer like customer_account_edited_before.
1
vote
1answer
25 views

Custom onepage checkout magento 2

I am struggling to create magento 2 custom one page checkout like in the screenshots i attached i simple design the page with html and css, but i really dont know how do i implement functionality on ...
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
10 views

Magento 1.9 - How do I get default captcha in custom template file?

I had created a custom template file for a custom newsletter subscription form for my Magento 1.9 store, How do I get magento default captcha in that form? Is there any way to call default captcha in ...
0
votes
1answer
22 views

Complete management of custom attribute in Customer address

I'm trying to add a custom attribute in Customer Address in Magento 2.3.1 with Wamp (PHP 7.2.25). I created a custom attribute and additional columns in quote, sales_order_address and quote_address: ...
0
votes
1answer
23 views

How to create custom log file in magento 2

Can anyone help me in creating custom logger file in mmagento 2. I want to display collection object in log file. So far, i have tried this code but did not work. getting $collection object from ...
0
votes
1answer
23 views

Redirect customers to login page from home page in Magento 2

I want to redirect my store customers to custom login page when a customer visits my magento 2 store url. The customer could not access the site till he login to the store. How could I do that in ...
0
votes
2answers
30 views

How to add custom checkout step after payment and review step?

I want to add an additional checkout step after the payment and review step. if anyone knows the solution to add the custom checkout step after payment and review step then please add a solution here. ...
0
votes
0answers
24 views

Magento 2.3.x CE Payment Gateway Interface Redirects to External PSP Window/Endpoint

I'm a newbie in Magento, currently trying to customise/create new payment gateway interface for a CE version 2.3.x setup. I've tried referring to the devdocs, used the famous Sample module project as ...
0
votes
1answer
28 views

How to create custom plugin for TinyMCE 4

I'm trying to add ability to create custom forms with TinyMCE 4 but can't understand how to do it properly. I should create my custom plugin and then connect it to editor, but can't find any useful ...
0
votes
0answers
8 views

How can I change menu font with custom font?

How can I change menu font with a custom font? The font is already installed in my child theme and I can use it on home page with <style>font-family: 'BPG Arial Caps'; </style> But how ...
0
votes
2answers
18 views

Position customAttributes on address-renderer

I am using an Address Fields Manager module. The problem is that in the sidebar in the resume they are all seen together (address-renderer/ default.html) and I need to divide them: <each args="...
0
votes
1answer
28 views

How do I get the Area/City Name from Region ID for add address programmatically in Magento 2?

I got the state list from country code by following this blog for my Magento 2 store. I want to get the Area/City name from the state/region id, is there a way or method to get it in Magento 2.3.x?
0
votes
0answers
22 views

Magento 2 custom checkout select field shippingAdditional add or remove require-entry upon selected shipping method

If Free Shipping Method is selected change validation E.G:'validation' => ['required-entry' => false], ... 'custom_field' => [ 'component' => 'Vendor_Module/js/custom-field-component',...
0
votes
0answers
14 views

Couldn't Over ride magento2 logo from custom theme

I am overriding logo with custom theme . https://i.imgur.com/WRvopNM.png It modifies the size but can't change the logo itself. what can be the problem?
0
votes
2answers
25 views

Custom layout not working : m2

Jimit\Categorytree\registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, '...
1
vote
1answer
26 views

How to create Add to cart button using Custom Module in Magento 2

I want to create Add to cart button using Custom module in product page,listing page and other page.Please advise me how to create this functionality. Any help would be appreciated... Thanks...
0
votes
1answer
49 views

Instructions in a Custom Offline Payment not showing

I am building a custom offline payment for magento 2.2.2 After a week working on this I gave up and I am asking for help. The extension works fine the only problem I have is to be able to display the ...
0
votes
0answers
14 views

Custom Login not showing login error message

I created a custom login page and everything is working fine except when login is incorrect. The page only refresh without displaying the error message. Here're my codes app/code/Testing/Basic/etc/...
0
votes
0answers
17 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
0answers
22 views

Repeats the custom attribute

when I use this method to get custom attributes $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = $objectManager->get('Magento\Catalog\Model\Product')->load($...
0
votes
1answer
31 views

Custom Module load JS when all content is loaded in Checkout

I created a custom module to show suggested addresses when customer type in the address fill. However, the requirejs load before the content of checkout page load, even though I have put "domReady!". ...
0
votes
0answers
22 views

Automatic selection of Custom order status Based on Shipping Method

I have integrated my store with both DHL and Royal Mail for shipping. The way these integrations work is based on the order status. by default this was "processing" the problem is when this is done ...
0
votes
1answer
46 views

Magento2.23.4 Custom Module backend image preview error

image preview html: <div class="file-uploader-summary"> <div class="file-uploader-preview image-uploader-preview"> <a class="image-uploader-preview-link" attr="href: $parent....
0
votes
1answer
170 views

2.3.4: Update “Custom Layout Update” in Category doesn't work

I added the file :- app/design/frontend/VENDOR/THEME/Magento_Catalog/layout/catalog_category_view_selectable_[ID]_name.xml Edited the category in the backend to use the Specific Layout (Catalog->...
2
votes
1answer
35 views

How to create a custom api for mobile app in magento 2.3

I want to create custom APIs for a mobile app tp cop up with my Magento 2.3 .x project. Like APIs for plugins installed like cc avenue, store locator plugin.

1
2 3 4 5
22