23
votes
0answers
844 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 like ...
13
votes
0answers
296 views

How to Recreate Magento 2 backend image upload in frontend

In Magento 2 there's a single image uploader look like this: it uploads the image using AJAX and will return JSON serialized containing the uploaded image information. Is there a way to recreate this ...
11
votes
0answers
95 views

In Magento 2.2.4, Tier tier price of a simple product does not appear on a configurable product page

In Magento 2.2.4, Tier tier price of a simple product does not appear on a configurable product page after editing the cart. Steps to reproduce: 1)Select all option of configurable product which has ...
9
votes
0answers
218 views

Magento 2 : Show Customer Attribute in ui_component Form

I've created ui_component form. Where I need to show customer details, Same as Customer Edit. But, I can able to show their data from customer_entity table. DataProvider.php public function ...
9
votes
0answers
688 views

Magento 2 - Use \Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser with multiple selections?

Using this code $chooser = $this->_layout->createBlock('\Magento\Catalog\Block\Adminhtml\Product\Widget\Chooser'); var_dump(get_class_methods($chooser)); $configChooser = [ ...
8
votes
0answers
391 views

Magento 2 Error in browser console Expected to start loader but did not find one in the dom

I have developed site in Magento 2.2.0 and created custom product listing page. I have used add to cart functionality using ajax but in console giving error: "VM1386:5 Expected to start loader ...
8
votes
0answers
354 views

Customer Attribute not showing in adminhtml customer account form in Magento Enterprise 2.2.0

I have created module "Wgac_Subscription". I want to create custom customer attribute. It is listed in admin as shown in below image, but does not show in customer adminhtml form. Wgac/Subscription/...
8
votes
0answers
5k views

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

Its 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 on ...
8
votes
0answers
1k views

Frontend form key is being overwritten

i am currently having issues with frontend forms where the form keys are somehow being overwritten and displaying incorrect form keys. I am currently debugging this issue on the customer login form. ...
8
votes
0answers
167 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 ...
8
votes
0answers
3k views

Not able to get OAuth token for Magento Rest 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 consumer key and consumer secret. Now want to get OAuth token for ...
7
votes
0answers
52 views

Does magento 2 support invoicing based on amount?

I'd like the ability to create (and capture) an invoice based on a dollar amount rather than a quantity of items. We are currently using the endpoint /V1/order/{orderId}/invoice to create invoices ...
7
votes
0answers
764 views

Magento 2 is there a faster way to change product media gallery entries programmatically

I need to do a massive update of product data but what I need to do can't be achieved with product import. In example I need to update media gallery and categories for given products, but the solution ...
6
votes
0answers
28 views

Change magento 2 controller language response

I have a controller that act as an API endpoint in magento 2, i need to have a response on different language base on parameter that were passed, this controller can access model and etc. for example:...
6
votes
0answers
119 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 ...
6
votes
0answers
309 views

Create new magento Rest api to get category list in magento 1.9

I am very confused what kind of error I am doing to follow these steps provided here at the following link : https://stackoverflow.com/questions/15037773/create-new-magento-rest-api-to-get-category-...
6
votes
0answers
496 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 ...
6
votes
0answers
140 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 ?
6
votes
0answers
313 views

Magento 2.1.x EE (Enterprise Edition) - How to enabled and access cms page versioning

Hi i am working on Magento 2.1.x EE and reading the devdocs i got to know magento ee has cms page versioning functionality Where we can preview/publish version wise cms page and we can also track ...
6
votes
0answers
555 views

How do I consume the REST API in Magento 2, using AJAX with session-based authentication?

I am having issues successfully making an AJAX call to Magento 2 REST API endpoints, using session-based authentication. When I run the following javascript, I always receive a 401 (Not Authorized) ...
6
votes
0answers
612 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 ...
6
votes
0answers
876 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 ...
6
votes
0answers
639 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
789 views

Magento 2 - sorting order of products in a widget block

I created a block and a widget in admin portal to show products that fit some criteria(in a specified category) in home page. When I finished the setting, I found that the sorting order of the ...
6
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 "...
6
votes
0answers
682 views

Magento 2 : How to get the product attributes based on attribute set id on listing page

I am trying to get product attribute in product listing page based on attribute set id but its not working properly. can anyone help on this. $attributes = $_product->getAttributes(); foreach ($...
6
votes
0answers
406 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
69 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 ...
5
votes
0answers
269 views

Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJ NDAEL_256

I got an error when i execute this command php bin/magento setup:upgrade && php bin/magento setup:di:compile && #php bin/magento setup:static-content:deploy && chown -R www-...
5
votes
0answers
191 views

Magento2 Add Customer Group field on checkout register

I want to add Customer Group as Radio Button on checkout page. Customer is save after checkout. Useful link
5
votes
0answers
153 views

Join table for grid Magento 2 not working

I tried create a join select for my grid table in Magento 2, but the problem i always get an empty record for alias that i want to use in my grid app/code/Lime/CustomerBank/etc/di.xml <?xml ...
5
votes
0answers
146 views

Magento 2 USPS API estimated delivery date (standards and commitments api)

How can I add estimate delivery date for USPS shipping method? I am searching over google but no luck, how can I achieve this in Magento 2. I did this in UPS and want the same in USPS.
5
votes
0answers
167 views

Magento 2 The session id is too long

I am running Magento 2.2 on php7.1 and getting the following errors in my var/report and on my error log: > {"0":"Warning: SessionHandler::read(): The session id is too long or contains ...
5
votes
0answers
267 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\...
5
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 ...
5
votes
0answers
194 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 ...
5
votes
0answers
573 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 ...
5
votes
0answers
52 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 ...
5
votes
0answers
902 views

Adding products to cart programmatically with custom price in controller: Magento 2

I am having a module that is creating quotes using the Magento quote module. It is using the \Magento\Quote\Model\QuoteFactory for creating the quotes. Now I have added a button "Proceed to ...
5
votes
0answers
36 views

Issue with Customer EAV in Magento 2.2.1

I have this EAV "abn" which is required during customer registration and can only be modified by administrator, so no need for it in frontend customer edit. "customer_account_edit" flag is common to ...
5
votes
0answers
147 views

Add custom input text field into layered navigation without creating product custom attribute

I have successfully extend the _getProductCollection function at \Magento\Catalog\Block\Product\ListProduct to my custom module block, the problem is I need to add text input to layered navigation so ...
5
votes
0answers
336 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 ...
5
votes
0answers
640 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 ...
5
votes
0answers
87 views

Remove Trailing Slash from Footer Links added via addLink

I have added several links in my layout.xml like this: <action method="addLink" translate="label title"> <label>XYZ</label> <url>xyz</url> <title>...
5
votes
0answers
306 views

Paypal payments pro-Your payment has been declined. Please try again

I am using paypal payments pro. configure paypal pro using sandbox mode .when we fill all credit card details on front end and tr to place order but order does not placed display below error message. ...
5
votes
0answers
268 views

Magento 2: How to override cacheable=“false” in layout in your own theme

We use a third party extension wich lets us add bundles with specific discounts to product pages. The problem is that they added a default.xml with the following code: <block class="Magedelight\...
5
votes
0answers
402 views

Debugging emails

I have a Magento ver. 2.1.3 setup that is not sending any emails. I'm trying to fix this, but nothing I do seems to work. My server has protections against spam which forces scripts to use smtp. I'...
5
votes
0answers
646 views

How can we create a form at front-end using UI component Magento 2

I am looking to create a form at storefront using UI component. When I create xml file in Ui component folder It throwing an error Fatal error: Call to a member function getRequestFieldName() on ...
5
votes
0answers
131 views

Alternative to Authorize.net Direct Post?

Authorize.net developer support notes that Direct Post Method is deprecated which is replaced with Accept.js. Are there any plans for Magento 2 Community Edition to integrate with Authorize.net ...
5
votes
0answers
541 views

Uncaught Error: Cannot instantiate interface Developer.php

HELP!!! Tried to upgrade Magento from 2.1.7 to 2.1.8 and now I get the error below when I load the store. Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\App\Config\...

15 30 50 per page