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
0answers
6 views

Add confirmed field to admin customer form

I've added the confirmed field with a view\adminhtml\ui_component\customer_form.xml: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
32 views

Date format issue to save giftcard Lifetime in Magento 2

I am creating giftcard code programmatically. For this in vendor GiftCardAccount Module, the code is: $model = $this->giftCAFactory->create()->setStatus( \Magento\GiftCardAccount\...
0
votes
2answers
33 views

How to export all product sku and cateogry id in csv format runing custom script?

I am using Magneto2.3.1 and i need to export all product sku and cateogry id in csv format runing custom script?if anyone know and idea share code please
0
votes
1answer
19 views

How to get the media_url in custom GraphQl in Magento 2.3?

I have a custom module to update Faq of the website.question and answers can update from the back-end.Answer field is wysiwyg editor.Can upload image to the answer content. If i get the result using ...
0
votes
0answers
21 views

How To Customize Newsletter PHTML? [closed]

I used an extension but I don't know how to customize its phtml, extension send's ajax based newsletter subscription request... /app/code/Vendor/Module/view/frontend/layout/default.xml <?xml ...
1
vote
1answer
81 views

Magento 2 - How to print array values in custom html email template by looping?

I want to print multiple coupon/gift codes in the custom email template. I am getting a single code as: $templateVars = array( 'store' => $this->storeManager->getStore(), '...
0
votes
0answers
16 views

Magento 1 - Show custom module data in catalog search result page

I want to show custom module data in the search result page along with default data collection. Please suggest a proper solution for the same. Thanks in advance.
0
votes
0answers
35 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 ...
0
votes
0answers
18 views

How to place order with custom payment gateway module using JS / Ajax?

I am integrating a custom payment gateway module in Magento 2. How can I use JS/ajax on the checkout page on click of place order trigger some js event? As I need to pop-up a modal on click of ...
0
votes
1answer
40 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 ...
0
votes
1answer
34 views

Magento 2 :Custom payment - Stop sending order mail

I have a custom payment module. I want to stop sending the default Magento order confirmation email for this payment method only. Please give some solutions... What I have done so far: I have ...
1
vote
1answer
19 views

override theme .phtml file into custom module

How can override theme .phtml file override into custom module. Path theme .phtml file is app\design\frontend\ThemeName_CompanyName\Module_Catalog\templates\product\view\pricedifference.phtml and ...
0
votes
1answer
19 views

jQuery won't appear Magento 1.9

I sit with a simple issue, but I can't seem to find any simple solutions. I made a file in /skin/frontend/ultimo/default/js called custom.js, included this in the header, all is fine. I then paste in ...
0
votes
0answers
20 views

Magento 2 LayoutProcessor

How to show the new field if the user is guest. If the user logged in dont show the custom field which been created. public function process($result) { if ($this->...
0
votes
0answers
6 views

Seperate shipping address and shipping method selection in different steps in magento 2 checkout

I want to seperate shipping address and shipping method selection in different steps in magento 2 checkout. I want to show both in individual steps. I want to make a custom step in checkout between ...
0
votes
0answers
25 views

Export all product using custom script in Magento 1.9 [duplicate]

I have an export my all product with all data in the Magento 1.9, Using the custom script so how can I? Please suggest. Thanks.
0
votes
0answers
14 views

Custom admin controller filter

I'm creating a new admin controller, for a new product property. For example, color. And each product can have a values for each color (for other reasons i didn't want to use product attributes). I ...
0
votes
0answers
26 views

Magento2 custom layout unable to access custom module phtml file for products

For my Magento2 website I have created a custom module and layout for products. I have assigned that custom layout for that product from product edit design section. And from that layout, we are ...
0
votes
1answer
16 views

What is the steps to include custom fonts in a newly created theme in magento 2 using typography.less?

I am adding a custom font in my newly created theme in magento 2. Below are the steps which i am doing: 1. Placed custom fonts in /app/design/frontend/Vendor_name/Theme_name/web/fonts 2) ...
1
vote
1answer
48 views

Magento 2 : Import product with custom csv

I have a custom product csv file https://drive.google.com/file/d/1f9t4REhn8-Ant58zRB6S0yRx1Rh1PctX/view?usp=sharing how can I import it in Magento 2. Do you have any idea?
1
vote
0answers
17 views

Custom Canonical Tag in Magento 2 Category with Magework seosuite

I try to show custom canonical for category with Magework seosuite, but this function I think that not is possible. Is there a way to do this, maybe with an extension or plugin of this module ? Thank ...
0
votes
0answers
21 views

apply filter without join on custom column in sales order grid in magento 2

i have custom column in sales order grid and want to apply filter on this . When i apply filter then generate log unknown column my_custom_column is not exist My Custom Column is not exits in any ...
1
vote
0answers
29 views

How to add tracking number programmatically for shipments in magento 2.3?

I want to add the tracking numbers only for created shipment. I tried below approach and getting an error. We cannot create an empty shipment. How can i add only the tracking number ...
1
vote
2answers
51 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/...
0
votes
0answers
17 views

How to write a custom search using GraphQl in magento 2.3?

I Have News page like below. How to create the graphql shema to perform this. Here i want to load all the news first time, search by search text, archive, category. Any help to achieve this please?
6
votes
2answers
54 views

Submit custom form in Magento 2.3 admin

I'm creating a custom form in Magento 2.3 admin. Vendor/Module/view/adminhtml/layout/route_folder_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
0answers
26 views

Magento 2 : Custom minicart

I have a custom free shipping bar in minicart, and how can I move it to before "View And Edit Cart", hope anyone help me.
0
votes
0answers
52 views

Magento 2 - Disable Custom Payment Method and Show Custom Message

In my Observer I check the customer attribute for a value. If the value matches I disable the method. This is working just fine in my observer: namespace Vendor\Module\Observer; use Magento\...
0
votes
1answer
27 views

Get Custom Category Attribute Value On List Page : Magento 2

i have created custom category attribute now i want to get the attribute value on list.phtml page i can i achieve this in magento2. <?php if($category->getColThreeCategory()): ?> <...
0
votes
0answers
18 views

Custom products section / custom content type

I'm currently building a site for car parts, and the product structure is quite difficult, but i'm new to magento so I don't really know how to approach it, so any sort of advice would be appreciated. ...
1
vote
2answers
35 views

How can I send Image attachment in custom email from controller in Magento 2.3.0

I have created custom module for quotation in Magento2.3.0. Module is working as per requirement but I want to send an attachment also in the email which is not working. I am sending email from ...
0
votes
1answer
53 views

Magento 2: Override Product description and cart functionality

Want to change price-option calculation on the custom option. For eg: If customer selects cotton as material, width and height Cotton is 10$ Width : 12 Height :20 Base Price : 75$ Current ...
0
votes
1answer
15 views

Magento 2: Dashboard Chart, Want custom Amount range on y axis?

I want to add custom Amount range on y-axis like 0,5000,10000,15000,20000 so on ... how can I achieve this?
1
vote
0answers
47 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
0answers
25 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? ...
0
votes
0answers
21 views

How to add custom input shipping address in magento 2

How to add custom input shipping address in magento 2 I want to add column "titel" to the shipping address step checkout, i created the module and followed this https://devdocs.magento.com/...
1
vote
1answer
23 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/...
0
votes
1answer
44 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.
-2
votes
1answer
70 views

Add Custom Attribute to Admin User: Magento 2

I want to add an extra attribute to the admin user form. I searched but unable to find anything guide me plz.
0
votes
0answers
15 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 ...
1
vote
0answers
21 views

Magento 2 data migration custom handler?

We are working on data migration using Magento 2 data migration tool. We would like to know how to write a custom handler for customer Id (or) product id. Could you please advise did any work on this....
0
votes
1answer
44 views

Convert Custom Email To PDF : Magento 2.3

I Have Custom Module For Send Email. But I Want To Send Pdf Same As Email. I Want To Convert My Email Template To PDF And Attach It to Email Magento 2.3
0
votes
1answer
22 views

customizable option file(.pdf) is not open

In product custom option type is File. I allow only png, jpeg, txt, pdf extension. In place order time when I select PDF, it's work. A custom option also select. But when we open that file (pub/...
0
votes
1answer
105 views

Magento 2 : Show custom table data in grid

I have created a form and the data of that form is saving in a custom table. Now I want to create a grid in admin which shows the saved data in that table. Please help
0
votes
1answer
29 views

How to display custom block in product_list_toolbar?

I have a problem with displaing my custom block in toolbar toolbar-products between sorter and toolbar-amount. I tried this code: <referenceBlock name="product_list_toolbar"> <block class="...
0
votes
3answers
31 views

Know if user are logged in with Jquery

I'm doing a custom JS code but i wanna know if user are logged in with Jquery.
0
votes
1answer
186 views

How to get custom product attributes values using graphQl queries in magento 2.3?

I want to get the values for custom product attribute in product details page. I am using below GrapgQl query to get the values. i am passing the name as the argument. How can i get the products ...
0
votes
0answers
38 views

Issue facing with Custom Grid Slider

I am using Codazon Fastest theme and my Magento version is 2.2.6. The issue is looking like a responsive problem. When the site is loading, the grids look like attachment 1. When I make restore and ...
1
vote
1answer
47 views

Custom custom options magento 2

Looking for some advices/ideas Magento 2 offer us Custom Options in catalog section. In Backend, we can add custom options like below picture and it appear on frontend like My question is I want ...
0
votes
1answer
77 views

How to set Custom shipping Amount to an order programmatically magento 2.3

Hi all, actually i am creating an order programmatically now i trying to set custom shipping amount to order. @all i tried Magento1.X link there they have implemented using $order->...