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
0 answers
26 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: { ...
user avatar
  • 101
0 votes
1 answer
19 views

How to add yotpo review to custom page: magento2

At website front side in custom page, i'm showing category list with name and image. How can i show yotpo reviews with categories? Thanks.
user avatar
0 votes
0 answers
10 views

Calculate new price on a specific product page in Magento 2

I am creating the module is already functional. Now I need to change the price of a specific product when filling in the 2 cuttomized options. My base price is per square meter, so when I fill in the ...
user avatar
0 votes
1 answer
25 views

Where to add custom CSS and Js file in freely available custom theme (Appreal Theme from Hiddentechies)

I am using Hiddentechies Appreal free Theme for my Magento2 project. I want to add a custom CSS file and Js file (for jQuery) so that it will override the classes(CSS file) and add functionality (Js ...
user avatar
0 votes
0 answers
9 views

Custom Module : "Product is not compatible with Page Builder" get error when upload to marketplace

I'm submitting my custom Maintenance Mode module in the marketplace but they are giving me error as below, Product is not compatible with Page Builder - Version 2.0.0 claims to be compatible with Page ...
user avatar
0 votes
0 answers
15 views

Magento 2 : Customizable Product Render Custom Price Not Working

$block = $this->getLayout()->getBlock('product.price.render.default'); echo $block->renderAmount("200", [ 'display_label' => __('Regular Price'), 'price_id' =...
user avatar
0 votes
0 answers
9 views

custom attribute on catalogus page

I'm trying to display a custom attribute on the catalogus page (grid). I've created catalog_category_view.xml and placed it in app/design/frontend/THEME_VENDOR/THEME_NAME/Magento_Catalog/layout and ...
user avatar
0 votes
0 answers
13 views

Extend magento's feature with java/react

I would like to use magento's logic to handle all the business logic related with ecommerce. However, I would like to extend it's functionality (some very custom feature that there are no plugins for) ...
user avatar
1 vote
2 answers
180 views

Insert data into custom table in magento 2

I have created a custom table in database of magento 2. I want to insert some data into this custom table. I want to pass this data from controller to the custom table in magento 2.4. Please can any ...
user avatar
0 votes
0 answers
25 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
user avatar
  • 3
0 votes
1 answer
45 views

How to add Custom class or ID on Magenot 2 Product Admin Grid Columns

How to add the custom class or ID on Magento 2 Product Admin Grid Columns basically I want to add a class or id on ( qty, price, name, SKU ) on these fields. Any help is appreciated.
user avatar
  • 536
0 votes
0 answers
15 views

Default Magento API not returning custom payment method if base currency is GBP

I am not getting my custom payment method in response to rest/US/V1/carts/mine/shipping-information API if base currency is GBP, if I change base currency to any other currency then its working fine. ...
user avatar
0 votes
1 answer
22 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 ...
user avatar
  • 518
0 votes
0 answers
36 views

Change toolbar-amount items dynamically on load more magento 2.4.3.p1

Friends, I want to change the values of toolbar items on the click of the load more button and also click on pager so can anyone have an idea then please share with me. Thank you in advance. Please ...
user avatar
0 votes
0 answers
12 views

Custom attribute image magento 2

I am trying to create a method to upload a custom image to the product. I have used the following code: $this->moduleDataSetup->getConnection()->startSetup(); /** @var EavSetup $...
user avatar
0 votes
1 answer
71 views

Use Default Value checkbox and label is showing for All Store Views also in Product Form(Product Edit) Admin Panel

Here I am working on to display newly added Description field on Product Edit form under content Tab and default one has hided using css. An issue is in below code that Use Default Value checkbox and ...
user avatar
0 votes
2 answers
63 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 ...
user avatar
0 votes
1 answer
16 views

Sorting custom column in ui component

I've created a custom column in the report using UI components that use DataProvider in report_listing.xml Unfortunately, this new custom column is not able to sort. I made also a class for this ...
user avatar
  • 1
0 votes
0 answers
23 views

How to import custom options in different stores

I am trying to import custom options store wise. Below is the API i am using for english store /us_en/V1/products/SKU. for spanish store /us_sp/V1/products/SKU. But whenever i try to add custom option ...
user avatar
0 votes
0 answers
36 views

Create custom form in magento 2.3

i would like to have a custom form which is open as a pop up on click of button. The details entered in this form should be save in database and visible in admin panel. How can i do this? Is there any ...
user avatar
0 votes
2 answers
50 views

Magento 2.4 FilterSearch Custom admin grid

I'm trying to modify the admin grid's "filterSearch" field from default query if I type a whole word eg "Iphone", I'm trying to change the type search criteria in SQL to LIKE %ipho%...
user avatar
0 votes
0 answers
9 views

How to write custom query for sorting for a new column added in sales order grid in Magento 2?

How to write custom query for sorting data for a new column added in sales order grid in Magento 2 ? It shows Printed when invoice is created and it is blank if invoice is not created. I have ...
user avatar
  • 536
0 votes
1 answer
110 views

How to create custom sorting in sales grid custom column in Magento 2?

I have created a custom column named printed which shows the invoice is printed or not and works well. But how to apply sorting in in it like when i click on printed firstly it shows all data with ...
user avatar
  • 536
0 votes
0 answers
41 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 ...
user avatar
  • 498
0 votes
0 answers
22 views

How add custom export entity to default magento?

I have a problem with generate export csv fo custom entity type.Process execute but, file not saved, not logs in queue message status is 4 after press continue in admin panel. Could you please send me ...
user avatar
0 votes
0 answers
19 views

How to override updatecart.phtml in custom module?

I have a custom form in addtcart.phtml and collecting some custom options. I need to show the collected values on the edit cart page too. I tried to override the file like below in the custom module. ...
user avatar
  • 2,577
0 votes
1 answer
42 views

How do I display a custom text-field attribute on the product grid. CE 2.3.2

Sorry if this is a rehash, but I can't find the exact answer to my problem. I'm looking to display the contents of a custom text field just under the product name on the category page grid. I have ...
user avatar
  • 25
0 votes
2 answers
31 views

How to filter admin grid column using a different table colum from database?

in my form_list.xml i have something like this <column name="testcolumn" class="Vendor\Module\Model\Block\Source\Testcolumn"> <argument name="data" ...
user avatar
0 votes
1 answer
48 views

Why is my my custom edit page for my custom admin panel not working?

fellow Magento developers. Ive been working on this new exercise including a whole admin panel and all that. i was working on the edit and ran into an issue that produces these 2 errors in my log ...
user avatar
  • 71
0 votes
0 answers
22 views

My custom customer_address field is not copied customer address

I have created one custom checkout field in the checkout address form. I have successfully saved value in quote_address and sales_order_address both tables. But not save customer address Eav attribute ...
user avatar
  • 13
0 votes
1 answer
148 views

Magento 2: How to get column total in custom admin grid

This is my custom admin grid. The last column shows the total which is a multiplication of cost and qty fields. I want to show total of the column(total) in the last row and last column. The row ...
user avatar
0 votes
2 answers
83 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 ...
user avatar
0 votes
0 answers
15 views

Magento custom order sharing by URL for guests

We are currently migrating our website to magento and we were wondering the following question: Is it possible(as an admin) to share an order by Url which can be opened by the receiver by just ...
user avatar
2 votes
2 answers
221 views

Redirect Customers to specific page after Login in Magento 2?

How to redirect customers to a custom page when they go to any other page. I have set Redirect Customer to Account Dashboard after Logging in to the store configuration but it is not working.
user avatar
1 vote
1 answer
82 views

How do I add Custom Rest API Swagger as per Magento documentation? in Magento 2.3.4

Can anyone please suggest how to add custom Rest API to Swagger documentation in Magento 2.3.4?
user avatar
0 votes
0 answers
38 views

In a custom PHTML file add "Add products" Section in Magento 2.4.3

How do I add the "Add Products" section using a custom PHTML template file? Thanks in Advance :)
user avatar
  • 5,596
0 votes
0 answers
24 views

How to link a custom button to a controller file in magento form

So I have a custom module where I have custom form and custom product grid section. So I have created some custom button on both pages through UI components. Now I want to link these buttons with a ...
user avatar
1 vote
2 answers
117 views

How can I Add Custom Text Message to Login Page in Magento 2?

How can I add a Custom Text Message to Login Page in my Magento 2 store? can anyone help me with a step-by-step method for it?
user avatar
0 votes
1 answer
32 views

Overriding Third Party Component code - preference

I am using an extension that displays a message as the customer approaches a Free Shipping threshold (https://aheadworks.com/free-shipping-bar-extension-for-magento-2), eg, "30 euro left until ...
user avatar
0 votes
0 answers
48 views

Magento 2 widget in product page

On the product page, i need to lay out the static block through the widget. This is possible - the problem is that it is displayed before the attribute selector. How to make that from the beginning ...
user avatar
0 votes
1 answer
58 views

Magento 2: How to override Catalog Model class in custom extension?

I am trying to extend Magento\Catalog\Model\Product\Image\ParamsBuilder class in the custom extension and I have passed all the parameters of parent constructor but I'm getting this error, Type ...
user avatar
  • 60
0 votes
0 answers
17 views

How to get delivery date module into store-selector / instore-pickup in checkout?

So I got this module to pick a delivery-date,- time and comment. It is visible on /checkout/#shipping at the bottom of the form for every shipping method but I want it to only show for "In-store ...
user avatar
0 votes
0 answers
31 views

Display stock qty on custom options magento 2.4.2

I bought the advanced product options suite from Mageworx but after installation on Magento 2.4.2 I realised that backorder for stock is not working the way I want it (out of stock can only be ...
user avatar
0 votes
0 answers
23 views

How to add pagination to front end list?

<?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $resource = $objectManager->get('Magento\Framework\App\ResourceConnection'); $connection = $resource->...
user avatar
  • 1
0 votes
1 answer
109 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 ...
user avatar
0 votes
0 answers
96 views

Magento 2.4.1 Custom sort option best sellers is not working

I have created a custom bestsellers sorting option, the query working fine but setOrder() and order() is not working, i want to sorting the values using qty_ordered <?php namespace Vendor\...
user avatar
  • 1
0 votes
0 answers
26 views

Magento2 - How to add custom product attribute of type is Only Year field?

Greeting of the day! As per our requirement wise, I need Custom Product attribute and their type is the only YEAR field, so that how can I create the date year attribute only allow to select the year, ...
user avatar
0 votes
0 answers
17 views

Add a new "Extra information" field to the billing step

I was to add a new input field like "Extra information", or "Comments" for the order at the billing step that should be visible through BE > Sales > Orders among the email ...
user avatar
0 votes
1 answer
23 views

Add into Top Link - My Downloadable Products

I need to add a link to the top.links block that links to My Downloadable Products and translate it to My Favourite Product, can you tell me if this possible. <referenceBlock name="top.links&...
user avatar
  • 57
0 votes
0 answers
21 views

Creating Custom Inventory Report Magento 2

I am new to magento development, I want to create new custom report for inventory report, I have followed the link below, but its showing nothing on reports. I am using magento 2.4.2 version I ma not ...
user avatar

1
2 3 4 5
24