All Questions

32
votes
0answers
1k views

Magento 2 Adminhtml spreading forms across multiple tabs

I am attempting to create a backend module, wherein on my edit page I use admin-2column-left layout. I want to have a form on each tab, but I do not understand how I can do this. Ideally, I would ...
16
votes
0answers
6k views

Magento 2: Uncaught TypeError: Cannot read property '*' of undefined in (section-config.js:33)

It's duplicate question but I am facing the same issue while adding the product & removing items from the cart page. I have spent almost a day to resolve but no luck hope someone could help me ...
16
votes
0answers
3k views

Not able to get OAuth token for Magento Rest API Client

I am using Magento version 1.9.1.0 and server running on my mac and trying to use Magento Rest APIs using OAuth Integration. I have a consumer key and consumer secret. Now, I want to get OAuth token ...
14
votes
0answers
200 views

Testing SOAP API's using EcomDev_PHPUnit

We just started working on a Magento project where there is a need for some complicated changes to the Magento SOAP API. Since we never properly worked with unit tests, this looked like a good case to ...
13
votes
0answers
395 views

Create new Magento Rest API to get category list in Magento 1.9

I am very confused about what kind of error I am doing to follow these steps provided here at the following link : Create new Magento Rest API to get category list in Magento After doing all ...
10
votes
0answers
603 views

Magento Profiling - Why so many EAV: Magento\Eav\Model\Config::getAttribute?

I'm just reviewing the speed of a store and just wondering if anyone knows more about why I have over 100 EAV: Magento\Eav\Model\Config::getAttribute 0.006978 rows within my profiler. It's just I do ...
9
votes
0answers
274 views

Order Status not changed in the sales order grid Magento 2

I am using the fedex shipping method and after generating the shipment,status shows completed in the order view page.But there is still showing 'processing' status in the sales order grid. Please ...
9
votes
0answers
216 views

Separate login and Shipping methods from Shipping Step

I wanted to Separate login and Shipping methods from Shipping Step in Magento 2 on Checkout page ?
9
votes
0answers
955 views

What is causing “Mismatch of entities in the document” when running migrate:delta

I have successfully upgraded a magento 1.4.1 database to 1.4.2 and then to 1.6.0. I also successfully was able to migrate:setting and migrate:data from the 1.6.0 database over to my Magento 2.1.2 ...
8
votes
0answers
286 views

How to override a static method in Magento2

Plugin Interceptors and overriding with preference does not work on static methods. Need to override getOptionArray method in Magento\Catalog\Model\Product\Visibility to return a custom visibility ...
8
votes
0answers
68 views

Persistence Lifetime not working in Magento 2

I have configured Persistence Lifetime on Magento 2 but it's not working as expected.I have configured 60 seconds cookie lifetime but it's not affecting the same. I have checked with default Magento 2 ...
8
votes
0answers
840 views

merge guest quote with customer quote(if custommer log in) magento 2 rest api

if 2 items in cart if customer login both item should need to add cart , Both quote (before login & after login) merge and create final quote which contain all item of customer quote Refference ...
8
votes
0answers
712 views

Magento2: Conditionally replace block template and class the right way

This rather trivial requirement turns out be quite a pain for us in recent days, as we couldn't find a satisfying existing solution, yet. The Task We are trying to replace certain blocks with a ...
8
votes
0answers
2k views

How to enable inline edit in catalog grid without changing source code?

I try to turn on inline edit in catalog grid as it described in DevDocs: http://devdocs.magento.com/guides/v2.0/ui-components/ui-secondary-inline.html Main problem is how to override this block of ...
8
votes
0answers
2k views

Magento 2: Carrier with such method not found

When i'm on Checkout Page. Sometime i'm facing below error. Carrier with such method not found: null, null I have selected by Shipping Address, Not selected any Shipping Method & Clicked on "...
7
votes
0answers
36 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback Magento 2.3

I have installed Smile_Elasticsearch extension.It is working fine with the default mode but when I enabled developer mode it is showing an error. Warning: call_user_func_array() expects parameter 1 ...
7
votes
0answers
201 views

Data Migration > Eav step error

Data Migration > EAV Step SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-Migration_Default' for key 'EAV_ATTRIBUTE_SET_ENTITY_TYPE_ID_ATTRIBUTE_SET_NAME' i have find ...
7
votes
0answers
158 views

Magento 2: Observer add product to cart?

I've read some other post about adding products to cart, but nothing seems to fit. I've an observer for checkout_cart_update_items_before that adds another product in same qty if specific product is ...
7
votes
0answers
57 views

Magento2 Chrome Driver Service error in MTF

I am new to MTF. I have followed the magento2 tutorial based on the following link But When I am running the command vendor/bin/phpunit I am getting the following error - Fatal error: Uncaught ...
7
votes
0answers
564 views

API Stock update

Using Magento 2.2.2, I was trying to add stock updates to a pre-existing setup using the official defined endpoint: rest/V1/products/testsku/stockItems/1 with { "stock_item": { "qty": 1234, ...
7
votes
0answers
260 views

How to add customer group field on checkout register in Magento2?

I want to add Customer Group option as a Radio Button field on the checkout page. Customer is going to be saved after they will complete the checkout. Magento2 - Radio button group on checkout page
7
votes
0answers
208 views

Is there an event or plugin spot for when cart rule is no longer valid?

Is there an event or place I can plugin for when a shopping cart price rule is no longer valid (such as when it expires or if you change the quantity of other products where it no longer applies)? I ...
7
votes
0answers
1k views

Magento 2 checkout custom field validation

what is the best method to add validation for my custom checkout field which depends on selected shipping method? For e.g. I am adding field to address form in LayoutProcessor where I can specify ...
7
votes
0answers
693 views

Magento 2 - Update quantity and totals of cart page without page reload?

We need to update the main cart on change of quantity by Ajax without click on "Update Cart Button" and without reloading the page. Below my code in this code only update cart subtotal but not updated ...
7
votes
0answers
385 views

Magento 2 How to add Tab Component in admin module

How can I add UI Tab Component in custom admin module with the help of below user guide ? http://devdocs.magento.com/guides/v2.1/ui_comp_guide/components/ui-tab.html There are not enough information ...
7
votes
0answers
640 views

Magento 2 : Not getting the product grid in a custom form using UI component

I want to show product grid in admin form using UI component, for that I have added the following code in product_form.xml <fieldset name="assign_products"> <argument name="data" ...
7
votes
0answers
671 views

Filtering product list by extension attribute

I added a new extension attribute extensionattribute1 to Magento\Catalog\Api\Data\ProductInterface. <attribute code="extensionattribute1" type="string"> <join reference_table="...
7
votes
0answers
656 views

Automatically input gtin number in products

I have over 50,000 products in Magento version 1.9.1.0 and I want to list them on google shopping. My question is, are there any Magento extensions that will automatically generate GTIN numbers for ...
6
votes
0answers
173 views

Layout Not getting Called In Custom Module

I have developed a custom plugin that used to add a custom made shipping method. For that custom made shipping method I had override the existing templates. It was working fine but changing the server ...
6
votes
0answers
268 views

Join table for grid Magento 2 not working

I tried to create a join to select data for my grid table in Magento 2 but the problem I am always getting is an empty record for alias that I wanted to use in my grid. Please refer the below image: ...
6
votes
0answers
176 views

Magento2 Add to cart button in row with grouped Products

In Magento2 i want to add "Add to cart" button with qty for every single product of Grouped Product. Is it possible? How? I see that the form is only one. I need also to remove the standard "Add to ...
6
votes
0answers
360 views

Magento 2.2.1: Add Custom Upload file attribute in Checkout

I tried to add an Upload file attribute to the Checkout form, I am now able to add custom field, but still, I am unable to save values to database - I used add Plugin - added Below code Amit\...
6
votes
0answers
406 views

Uncaught Error: Call to a member function setItem() on boolean on product grid: Magento 2

I have a custom module in which I am using the grid to add items in the admin end. The items are getting added properly and everything is working fine. However, I face an issue often whereafter ...
6
votes
0answers
115 views

Replicate order summary block Magento 2

I want to add order summary at checkout success page, I want to replicate the existing order summary block and template file whether its from backend or frontend. Which block and template file to ...
6
votes
0answers
471 views

Magento 2: How to make custom fee taxable

I want to add a tax on custom fee. tax calculation is perfect and gets tax amount but it's not set in TAX files in quote_address in the database. public function collect( \Magento\Quote\Model\...
6
votes
0answers
509 views

Magento 2: Creating configurable product using the REST API

In order to create configurable product I need to create configurable product, virtual product and finally connect them. Example of json request got from here: How do I create a configurable product ...
6
votes
0answers
324 views

How to override class Virtual Type class

I saw this, but it don't work for me. How to override Virtual Type class in Magento 2 <virtualType name="categoryFilterList" type="Magento\Catalog\Model\Layer\FilterList"> <arguments>...
6
votes
0answers
622 views

How to hide a product from a specific customer group? Magento 2

I want to create an extension that will hide a product from a specific customer group.
6
votes
0answers
277 views

Magento 2 : What is the Best Way to Implement Favorite Products List for Regular Customer?

The majority of our customers not very tech savvy and have trouble with basic website functions and they need to order same or similar items every week or quickly. What is best way for me to assign ...
6
votes
0answers
76 views

Adding a variable for each Simple product within a Bundle in Magento 1.9 CE

In our Magento store (1.9 CE) we have some Simple products which fit multiple applications. So we want to create a Bundle product for each application and include the Simples in them. The problem lies ...
6
votes
0answers
676 views

Magento 2 getting error There is a problem with creating or binding queue

The error says: report.ERROR: There is a problem with creating or binding queue "inventory_qty_counter_queue" and an exchange "magento". Error: [] [] [2017-01-11 07:28:02] report.ERROR: Sample Data ...
6
votes
0answers
2k views

Magento 2 Field dependency in ui form

I have created a ui component form. I want to display some fields based on status value. Display other fields only if status is 1. How Can I achieve it? Here is my code <field name="status"> ...
6
votes
0answers
869 views

Magento 2 - sorting order of products in a widget block

I created a block and a widget in admin panel to show products that fit some criteria(in a specified category) on home page. When I finished the setting, I found that the sorting order of the ...
6
votes
0answers
1k views

Magento 2 : Validate form fields that are loaded with Knockout on blur-event

I have a form that is generated through a .phtml file, and in this form various fields are loaded with KnockOut (using the uiComponent javascript-object). .phtml: <form action="#" class="form ...
6
votes
0answers
623 views

How to add dynamic custom column in UI component

I have configured UI component columns in admin grid and its working fine. I need to add custom columns dynamically. For example we can add custom column in __prepareColumns function in Block layout ...
6
votes
0answers
639 views

Magento 2 editor.js Unexpected Token

The content editor in the backend is not displaying on my site. I'm getting the following error: editor_template.js:1 Uncaught SyntaxError: Unexpected token < editor_plugin.js:1 Uncaught ...
6
votes
0answers
591 views

magento 2 can't use same url key for different store view pages

I have 2 store view on my website, one in English and one in Italian, I'm trying to set different privacy and cookie page for each view, but I need to use the same url key, to autoredirect to the ...
6
votes
0answers
434 views

Multiple PayPal IPN notifications in Order Comments

This is something I've recently noticed happening on Magento CE 1.9.2.2. The code responsible is at app/code/core/Mage/Sales/Model/Order/Payment.php:492 which has a strange to do note in the comments: ...
5
votes
0answers
107 views
+100

Shopping cart pricing rule condition is not visible on orders total in order page

Shopping Cart Pricing rule logic applied successfully but not visible on orders total in order page, FYI Front end showing the Shopping Cart Pricing rule, How to get Shopping Cart Pricing rule on ...
5
votes
0answers
42 views

Authorize.net Transaction Hash Upgrade for Only Authorised.net

If Magento Store using Authorize.net method Instead of Authorize.net Direct Post then Need to install Authorize.net Direct Post Signature Key patch in my magento store? I am using Magento version:1....

15 30 50 per page