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
13 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 ...
0
votes
0answers
12 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. ...
0
votes
1answer
21 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 ...
0
votes
2answers
21 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" ...
0
votes
1answer
28 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 ...
0
votes
0answers
15 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 ...
0
votes
1answer
21 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 ...
0
votes
2answers
29 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 ...
0
votes
0answers
12 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 ...
2
votes
2answers
101 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.
0
votes
1answer
23 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?
0
votes
0answers
33 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 :)
0
votes
0answers
12 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 ...
1
vote
2answers
47 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?
0
votes
1answer
29 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 ...
0
votes
0answers
43 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 ...
0
votes
1answer
41 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 ...
0
votes
0answers
13 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
15 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->...
0
votes
1answer
35 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 ...
0
votes
0answers
46 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\...
0
votes
0answers
22 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, ...
0
votes
0answers
15 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 ...
0
votes
1answer
22 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&...
0
votes
0answers
9 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 ...
0
votes
0answers
20 views

How to add custom price on checkout on selecting a dropdown in Magento 2.4?

I want to add custom price on changing the drop-down menu in checkout page. Like Like I want when I selected the drop-down 2nd value I want to add custom fee in checkout and when it will changes to ...
0
votes
1answer
83 views

How to add custom user role in the registration form process in magento 2?

I am new to magento platform. I am using magento version 2.4.2 for my project, I want to add the select user type field in registration form. When customer registers. Is it possible to add the custom ...
0
votes
0answers
22 views

Magento 2 custom Product Catalog Export

I want to create a new custom Export entity, that will be almost the same with the default Products export entity, except only a certain set of product attributes will be exported as columns, some of ...
1
vote
2answers
74 views

How to show/hide custom product tab on product detail page according to product's custom attribute value?

I have custom attribute named "show_tab" in products. I have enable/disable value for this product. I want to show custom product tab according to attribute's value. Custom product tab is ...
0
votes
1answer
70 views

How can I set custom value in "created_in" when customer data import in Magento 2?

I need to set custom value in this field "created_in" when customer data import using admin side how can I set the custom value in that . I need to set custom value in that can any one ...
1
vote
1answer
32 views

Custom CMS page XML identifier when URL key contains a "/"

I need to create an XML file for a custom CMS page but the URL key contains a "/": i.e. my/page-id Is there a way to do the equivalent to cms_page_view_id_my/page-id.xml for this? I've tried ...
0
votes
0answers
28 views

How to double the items in the cart by updating the quantity in the product cart page?

Double the value in the cart by updating the quantities.
0
votes
0answers
16 views

Can anyone resolve this issues? Two buttons (add to cart )are coming with the disabled mode

I need to apply the code for the add to cart button but it is coming in disabled mode hence unable to do the required changes.strong text
0
votes
2answers
38 views

How to get the template Id in controller? template Id is returning NULL for the custom template in the custom module

Index.php <?php namespace Eaglerocket\Customquote\Controller\Index; use Magento\Framework\App\Action\Action; use Magento\Framework\App\Action\Context; use Magento\Framework\...
0
votes
1answer
77 views

Notice: Undefined property: Eaglerocket\Customquote\Controller\Index\Index\Interceptor::$storeManager in Index.php on line 138

<?php /** * * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Eaglerocket\Customquote\Controller\Index; use Magento\Framework\App\Action\...
0
votes
0answers
32 views

Warning: Can not use a scalar value as an array in /var/www/demo/vendor/magento/module-email/Model/AbstractTemplate.php on line 472

I have created the custom template for sending the emails. <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr>...
0
votes
1answer
21 views

This is the error I am facing while sending the mail function

<?php /** * * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Eaglerocket\Customquote\Controller\Index; use Magento\Framework\App\Action\...
0
votes
0answers
15 views

How to add custom section between shipping address and shipping method on checkout page?

I want to add custom section between shipping address and shipping method on checkout page. This custom section has to one text field. This field needs to save in quote and order table. Can anyone ...
0
votes
2answers
27 views

Query is not working?

/I need those questions whose status is 1 but its not working/ <?php $i=1; //$coll=$collection->getSelect()->where("`main_table`.`status`= 1"); //$collection->load(true);...
0
votes
1answer
27 views

New page in account dashboard

This is my current customer_account.xml file I am able to get the tab to display inside of the account dashboard but I am not able to render the page I need. My current file path is html/app/design/...
0
votes
0answers
23 views

Datepicker in custom widget Magento 2.3.4

Is there any chance to create a field in custom widget with datepicker? I have a field that means end of sale and now I can type there text in spcific format only. I want to have there a datepicker (...
-1
votes
2answers
46 views

I need to display table data in my custom module at the front end of the site. Its saying wrong argument for $collection

/*Showdata.php Controller\Index */ <?php namespace Eaglerocket\Customquote\Controller\Index; use Magento\Framework\App\Action\Context; use Magento\Framework\View\Result\PageFactory; use Magento\...
0
votes
0answers
23 views

If trying to get the current product info then pop up model is not opening

/Blockname.php/ <?php namespace Eaglerocket\Customquote\Block; use Magento\Framework\View\Element\Template; class Blockname extends Template { protected $_registry; public function ...
0
votes
2answers
33 views

Need to show the value of the product in the value attribute of input element but it is not giving any value. Where is this get product function?

<?php $_product = $block->getProduct(); ?> <?php $buttonTitle = __('Add to Cart'); ?> <?php $buttonTitl = __('Get Quote'); ?> <?php if ($_product->isSaleable()) :?> <...
0
votes
0answers
22 views

/var/www/demo/app/code/Eaglerocket/Customquote/view/frontend/templates/index.phtml How can I see its view?

I have created a pop up modal, how can I see its content on the website to check whether the pop up is opening or not?
0
votes
1answer
140 views

Unable to edit integration

We recently cleaned up our Magento 2.4.2 store so we had no generic users. Since we did this we noticed one of our integrations shows as inactive and we are unable to Activate or edit the integration, ...
0
votes
0answers
20 views

On clicking on the add new post button in the custom module , its saying Invalid form key. Please refresh the page

I followed this module for creating the module now need to click on the add new post to add the data from the buttonhttps://www.mageplaza.com/magento-2-module-development/create-admin-grid-magento-2....
0
votes
1answer
35 views

Changes in the child custom theme are not visible in the front end

<referenceBlock name="footer_links"> <block class="Magento\Framework\View\Element\Html\Link\Current" name="about-us" before="search-term-popular-link&...
0
votes
1answer
18 views

URL key for specified store already exists while importing products through custom script

I have some of the products already added in magento admin. And now i am trying to create same name product with the use of script that time i am facing error "URL key for specified store already ...

1
2 3 4 5
24