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
19 views

Link Custom Block to custom page

I created a custom block and was able to link to it on the home page or display it there. Unfortunately I don't get the block displayed on another page I created via the backend. If I understand the ...
0
votes
1answer
8 views

How to setup separate theme for mac-book 13 half size screen

I created two separate theme for mobile and the Desktop on the live server. When I am assign Mobile user string to the Mobile theme in admin backend then Ipad layout doesn't work. If i assign Mobile ...
0
votes
0answers
7 views

magento2 custom field show on registration page when vendor/seller radio button yes

i am using marketplace multi vendor extension and i have gst field add in registration page and it's working fine for me But i want to this field when customer radio button select yes then i want to ...
0
votes
2answers
39 views

Check if Magento is running in production mode

I am creating a custom store implementation and I need to check if the store is in production mode or not via code. What is the fastest way to achieve this?
0
votes
0answers
10 views

How can I get Payments Details In an block below Order Summary in Checkout

I know the way to get the block but not about the payment info.
0
votes
4answers
71 views

Magento 2 custom attribute and show product if attribute YES

its very Urgent I have an attribute called 'show_product' (in the backend of Magento) with two outcomes 'yes' or 'no'. At the moment I'm just echoing the product name on the frontend. However, ...
0
votes
2answers
27 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
0answers
24 views

How To Update Wish list Item in Magento 2 using object manager For Custom Rest Api?

I want to update a particular item in wishlist programmatically. I have a configurable product in my wishlist and i need to update the values of the wishlist item options (Size, Color) via ajax. I ...
0
votes
1answer
57 views

Magento 2 : Custom attribute of address not saving

I am using following code and trying to save SetLatitude() or ->setCustomAttribute('latitude',$address['latitude']) but it's not working. I followed this this solution <?php namespace ...
0
votes
0answers
16 views

Magento2.3.3: Unknown column 'e.min_price' in 'field list'

Working on custom layered navigation on custom collection. follow this solution link Getting an Error: Exception #0 (Zend_Db_Statement_Exception): SQLSTATE[42S22]: Column not found: 1054 Unknown ...
0
votes
3answers
52 views

No able to Retrieve Custom attibute value of a catgeory in magento 2

I have created a custom attribute for my category. Below is my code. In InstallData.php <?php /* file: app/code/Atwix/CategoryAttribute/Setup/InstallData.php */ namespace Vidushi\KeyFeature\...
0
votes
3answers
45 views

Add custom fileds for Category in admin panel magento 2

I want to add One custom section in my Magento admin panel for categories. like https://prnt.sc/rf34k5. And in that section, I want to add 3 text fields like https://prnt.sc/rf34nz. How can I add ...
0
votes
0answers
13 views

Tax calculation after discount

So I have a custom discount applied the following way: on vendor\module\etc\sales.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
11 views

magento2 custom options programatically save wrong values

I am trying to save custom options(drop_down type) for a specific product. In my case I need add custom option in loop. My code is here $json ='{"productID":"1","productPrice":"5585.00","...
0
votes
1answer
32 views

Custom options programatically magento2

I am trying to save custom options(drop_down type) for a specific product. In my case, I need to add a custom option in the loop. My code is here $json ='{"productID":"1","productPrice":"5585.00",...
0
votes
1answer
37 views

Create custom attribute same like related products in magento 2

I want to create a custom attribute as "Similar product" which will behave like "Related products" attribute. How can i do that in magento 2?
0
votes
1answer
13 views

Customize Invoice - Add email to ship to area

I am attempting to add the customer email address to "address information" area of the invoice. Under Bill To information would be great. Essentially adding email under telephone number.
0
votes
1answer
33 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?
1
vote
1answer
24 views

Magento2 - Set value for dropdown type product custom attribute programatically

I have a custom attribute with code 'manufacturer'. Its Catalog Input Type for Store Owner is 'Dropdown'. How can i set the value for this attribute programmatically on product save. I am trying ...
1
vote
0answers
15 views

Custom total/discount is being calculated after tax instead of before

A client of us wants to give logged in customers a discount based on the full order amount of the cart. The discount amount is saved in a custom attribute as percentage. The discount is working as ...
0
votes
0answers
19 views

Set custom attribute value for a product programatically in magento 2 [duplicate]

I have created custom attributes for a product. I am doing product import programmatically. How to set value for the custom attributes programmatically in magento 2.
0
votes
0answers
18 views

How to change the symbol for Custom Price attribute

I have added 6 Custom price attributes. These prices are basically for different currencies like rupee, dinar, euro, etc. When I add a Custom price attribute, all the currency symbols are dollar by ...
0
votes
0answers
32 views

Add new ProductTierPrices field in GraphQl products query

I created a module to extend the behavior of tier prices, including a new field on the table, it is now saving to DB correctly. My question is: I want to implement GraphQl products query so that the ...
0
votes
1answer
18 views

Magento2: How to add Paypal checkout and Paypal credit button on custom .phtml file?

How to add the Paypal checkout and Paypal credit button in the custom .phtml file? I want to add the same as a mini cart/my cart PayPal button on the custom page.
0
votes
1answer
33 views

magento 2 how to override product views report for custom admin report

Please tell me all the steps to override product view report in my custom module, i am new in magento so i don't know how to do that, thank you
0
votes
2answers
72 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
1answer
28 views

Magento2: How to pass data from model file to knockout.js?

I want to pass the data from model file to knockout.js in Magento2. My Code: Model file: <?php namespace Amy\MyPackage\Model\Total\Quote; /** * Class Custom * @package Mageplaza\HelloWorld\Model\...
0
votes
0answers
16 views

Magento2: How to show customer custom value in checkout cart summary?

I want show customer custom value in checkout cart summary just below subtotal in Magento2. Any help would be appreciated.
2
votes
1answer
48 views

How to update product attribute with different values in magento 2?

I've created custom product attribute which is set on catalog_product_save_before event. Now i want to update value (i have two options of this value) of this attribute for all product, depends on few ...
2
votes
1answer
81 views

Add custom dropdown in mini Search magento 2

How to add this functionality any one can help me
0
votes
0answers
19 views

Magento2 - How to create header and footer menu in custom theme managed from backend?

How to create header and footer menu in custom theme managed from backend?
1
vote
1answer
42 views

Prepaid order creation from magento 2 backend

I added a custom payment option for Magento 2 admin. When using the payment option checkout from admin the order total showing as the total due. How to make it as total paid instead of Total Due ...
0
votes
0answers
63 views

How to add a text column to magento dropdown attribute option in Magento 2?

I would like to extend the options grid for a dropdown product attribute with a new text field which will appear as a new column. In that field I'm going to store the matching ERP_ID but I would ...
0
votes
1answer
35 views

How to remove custom product attributes on module disable?

I added 2 custom product attributes with the help of setup/InstallSchema.php in my Magento 2 custom module. It's working fine. But, I can't remove these Product attributes on module disable from the ...
0
votes
0answers
38 views

Magento 2.3.x: Allows customers to choose dropdown option to tax prices including or excluding on product page

By default Magento2 allows admin to select whether prices will be displayed including tax, excluding tax or both, however it does not allow customers to change or choose the dropdown option, this ...
0
votes
0answers
26 views

how to pass the upload file values to magento 2 uploader?

I have a custom checkout, I have created a custom image up-loader in my checkout file in shipping section. I want to pass the upload file to controller using ajax. <script type="text/javascript"&...
0
votes
1answer
27 views

Magento2: How to add a custom field with its value in the checkout cart summary?

How to add a custom field with its value in the checkout cart summary in Magento 2 ? I have followed many links, but none helped me. Any help would be appreciated.
0
votes
1answer
41 views

how to add a image uploader in magento 2 checkout shipping address section?

I have a custom requirement to upload customer id during checkout. I have created a custom module with a text type input file. data saved and everything fine the process was. I want to update the ...
0
votes
1answer
38 views

Log in with custom customer data

I've added a customer custom data (code_client) to the customer info and I want the user to be able to login with both the email addresses and that code_client. Is it possible to log in to my store ...
0
votes
0answers
23 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
0answers
6 views

How to show magnifier size based on different product image sizes?

I need to show the magnification sizes as fixed for all different sizes of images in product pages. How can I change this? <var name="magnifier"> <var name="fullscreenzoom">2&...
0
votes
0answers
30 views

Magento 2 how to save my custom link titles from Magento 2 admin end

We have created a custom link type products like related at admin end & we created custom link_title for the table catalog_product_link to save the custom titles. By custom import, we are able ...
0
votes
0answers
59 views

Magento2.2.6 How to create custom api module?

How to create custom api module for category listing and product filter sales order...etc below added custom api module integrate after check it postman result { "message": "Request does not ...
1
vote
0answers
60 views

How to pass value from template.html to js in magento 2 knockout js when complete entering the input field?

1) I need to pass the phone number value to the telephone.js when complete entering the number before the button click. 2)Below the phone number field, I added the OTP input field (i added it in the ...
0
votes
0answers
27 views

Magento 2 :- How to add free shipping feature if some condition satisfies

How to check condition for Free Delivery, I have separate Database Table. In the table one field is customer_id and another one with Boolean values. I want to enable Free Shipping for those Customers ...
0
votes
0answers
24 views

Add Import Export functionality to my custom grid in Magento 1

I want to add Import and Export functionality for my custom grid records of my custom module. I had created a custom table in the database. I want to add Import and Export functionality using PHP code....
1
vote
0answers
26 views

Magento 2 How to create and load custom route page

I want to add a custom redirect type 410 in URL redirect. I have added this in admin section and configured some pages with 410 redirect. Now I want to check the redirect type is 410 and if it is ...
0
votes
0answers
20 views

How to get product collection in custom admin form by entering SKU, Name or ID in input field in Mageno 1?

I had created a custom admin form and added an input search field for Product search. When I add a specific product detail, i.e. product sku or product name or product id. I need to fetch the product ...
0
votes
0answers
6 views

Add Custom grid with filter in Admin catalog page

I need to show custom table data in Grid with filters in Magento 2 admin product Add/Edit Page. I used this below code in /app/code/Vendor/Module/view/adminhtml/ui_component/product_form.xml <?...
0
votes
0answers
19 views

How to get product custom attribute drop-down appear on frontend?

Basically I have to create a drop-down of "brands" on my product page such that customers can manually select their brands depending on their choice. What is the way to do this? Is it possible to ...

1
2 3 4 5
22