All Questions

39,728 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
1k views

How to extend core UI Component in Magento 2

I've tried to bring Sales -> Shipments grid into my extension. It works fine when I use this in my layout file .xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
8
votes
1answer
4k views

How to Print PICKING or PACKING Slips Before Shipping - Magento 2.0?

We ship large items and we have to configure the shipment on a pallet (or pallets). When we get the order, based on ship to location and carrier chosen, we may send on one pallet, two pallets or ...
8
votes
3answers
3k views

Magento 2 create plugin for my module

I have created plugin to add link for every product as below: <?php namespace Vendorname\Modulename\Plugin; class ProductData { protected $urlInterface; protected $scopeConfig; ...
8
votes
1answer
2k views

How to change programmatically product stock status when product sku doesn't appears in provider data feed?

I'm using Magento CE 1.9.1 I made an import script to import products from a provider xml feed. This feed is update everyday at 3 a.m . My profider send me in his xml only products where are in stock ...
8
votes
3answers
6k views

How to get Captcha in customer registration form?

Lately, we have been having trouble with spammers on our website, we want to resolve this using a captcha function. I enabled the captcha function in System->Configuration->Customer->Customer-...
8
votes
2answers
849 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 ...
8
votes
2answers
1k views

enterprise_refresh_index Sleeping MySQL Connection

There are times that the indexer that is ran by cron seems to get stuck at the MySQL as Sleeping connections can be seen. Indexer runs for several hours and this actually not running at all. I've ...
8
votes
1answer
5k views

Products not showing on a multi store view magento site

I am creating a magento site with multiple store views. I have one website and two stores. One for the UK & one for the US. Both sites were showing products but now the US site store view 2 is not ...
8
votes
1answer
1k views

Shopping Cart total percentage discount when specific item is in cart

I have a specific type of shopping cart rule I'd like to create. You can think of it as a 'variety discount'; the more products from different categories the customer has in their basket, the greater ...
8
votes
1answer
2k views

how to load or add js before require js in magento 2

I am trying to override default_head_blocks.xml like below vendor\magento\module-theme\view\frontend\layout\default_head_blocks.xml <?xml version="1.0"?> <!-- /** * Copyright © 2016 Magento....
8
votes
3answers
2k views

SSL Installed Checkout and Account Area Still Using HTTP and not HTTPS

I am running magento 2 ver 2.0.7 I have an HTTPS issue. I'm not quite sure why this is happening but in Stores -> Config -> Web. I have my secure base url set to https://mystore.com/ but when I ...
7
votes
1answer
450 views

getting error “PHP Fatal error: Uncaught Zend\Uri\Exception\InvalidUriPartException”

I am using Magento ver. 2.3.2. I am getting following error in error_log after moving the site on new server (AWS Server): PHP Fatal error: Uncaught Zend\Uri\Exception\InvalidUriPartException: ...
7
votes
1answer
849 views

Magento2 : How to get product dimension units (cm/in)?

I need to get the dimension units for width, height and length. There are solution available only to get the value of these attributes like, $product->getTsDimensionsLength(); $product->...
7
votes
1answer
762 views

Magento 2.3 V1/Search with sortOrders not working in REST API

Magento 2.3 Search Criteria with REST API, SortOrders not working in V1/Search API. I am trying to fetch Category products using Magento REST API by below request URL. http://127.0.0.1/magento230ee/...
7
votes
3answers
6k views

Magento 2.2.5: How to validate shipping address

I'm doing Custom Checkout, and here is what i've done til now. The adea is to use validate so when i click on "Next" button, it gonna check if the checkbox in "Terms of Use", if its checked, then it ...
7
votes
1answer
146 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:...
7
votes
1answer
604 views

Multiple Image browse in custom admin form Magento 2

I have created a custom form in the backend and it is working fine for single image browse. If I select only one image then it is working fine. My requirement is, I want to select multiple images with ...
7
votes
1answer
789 views

In Magento 2 , configurable product options disabled after the first selection.How to reset option?

I am using Magento 2, I have some Configurable Products with a lot of variants (in some cases there are 5 attributes, each with several options). Each variant has a Simple Product associated with it, ...
7
votes
1answer
321 views

How to add a star rating in custom form in magento 2

I have created the feedback form in list page. Now I wish to add custom star rating as a new form field. Please suggest any solution to add rating field in my form.
7
votes
0answers
612 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: ...
7
votes
1answer
385 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 also need to remove the standard "Add to ...
7
votes
1answer
3k views

Magento 2 how to filter product collection on category page with custom filters

I have one category in system... For example EMT. There are many products assigned to it. Now I want to filter some products for particular customers for that category. I mean only specific products ...
7
votes
1answer
1k 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. ...
7
votes
0answers
759 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'...
7
votes
0answers
204 views

Alternative to Authorize.net Direct Post?

Magento2 - payment method 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 ...
7
votes
1answer
757 views

Magento 2 Customer address attribute not saved while creating new order from admin

I have created one "Customer address" type of attribute name "Suburb", It successfully created. It shows on Checkout, Customer create(admin) and Create New Order address(Admin) section, While It ...
7
votes
0answers
158 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 ...
7
votes
1answer
589 views

Generate get parameter in XML layout Admin

I have a custom extension that generate grid using XML, the problem is that I need to add button which will generate link with a get parameter from get request that passed via url, the xml code for ...
7
votes
1answer
1k views

Grunt theme source files missing when running Grunt exec

I have a theme that extends the Luma theme. I am trying to get Grunt working to do preprocessing. So far, I don't have any changes/additions in my theme at all. I setup my themes.js as follows: ...
7
votes
0answers
740 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 ...
7
votes
0answers
88 views

Magento2 CMSBlock API contains variables. How to replace?

I Have a magento2 EE with a headless implementation. hence I am using the rest/V1/cmsBlock/<id> to fetch the content which is added by admin (WYSIWYG). Problem: I see the output like : <...
7
votes
0answers
1k 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 ...
7
votes
0answers
2k 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 ...
7
votes
1answer
2k views

Magento 2 custom address fields not saving to database from checkout

Through a setup script I created two new customer address fields for Magento 2. These field show up nicely in the backend and checkout. But, the values are not send from checkout to the api. Now the ...
7
votes
1answer
965 views

Magento2 - Layered Navigation how to create multiselect functionality using code

Magento2 version is - 2.1.2 I am creating custom module for layered navigation and i want to create multiselect options functionality for layerednavigation. I have already displayed checkbox over ...
7
votes
0answers
583 views

Magento2 : Display MSRP with MAP disabled?

In Magento 2, if I set 'enable MAP' to 'No' in Stores > Configuration > Sales > Sales It removes the MSRP field in Advanced Pricing from the product page. My goal here is to display MSRP on the ...
7
votes
2answers
3k views

Magento 2: Import/Export Product Attribute Set & it's Attributes

I refer Magento 2 - Export/Import Product Attributes but no one answered :( I have already created new Attribute Set & it's Attributes. I have checked Magento Default Import/Export for Products. ...
7
votes
0answers
1k views

Magento 2: How to Show Discount Coupon Applied Code Product wise?

In Shopping Cart, I have 2 products. When I am applying the Promo Code it's going to apply on only 1 product as per the Shopping Cart/Promotion Rules. I would like to show discount code on basis of ...
7
votes
2answers
2k views

Data population in UI form

Im trying to build a custom admin form (using ui components) for a custom entity. We can assume the entity is very simple(e.g. id,name) One thing that i have hard time with, is populating the form ...
7
votes
0answers
852 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 ...
7
votes
2answers
1k views

Magento2 admin after login redirect back to admin login?

In my magento2.1 installation when put user name and password and submit, the page redirect back to login page. Cleared cache, re indexed, and deployed the static contents as well. But nothing works. ...
7
votes
0answers
647 views

Magento 2: Add a new custom input field in order > invoice

I am trying to add new input field in Sales > Order > Invoice, this would be related to shipping method. This Custom field should be show in Invoice Shipping Method section. I was all ready add ...
7
votes
0answers
1k views

Magento REST without oAuth

I have an Android and an iOS app that connect to Magento through SOAP and perform various actions. I have to switch to REST, but the users of the apps must not notice this change. They do not know ...
7
votes
0answers
748 views

Override tax rate on programmatically created order

I'm building an extension which imports orders created on a third-party system into Magento. The third-party system should be the single source of truth for the order's prices, tax rate, tax paid, etc....
7
votes
2answers
1k views

Get empty result when trying to get filterable attribute for particular category

I need to retrieve all filterable attributes for category. I'm using that snippet: $category = Mage::getModel('catalog/category')->load($categoryId); $layer = Mage::getModel('catalog/layer'); $...
7
votes
1answer
614 views

Magento Too many tables error bulk updating products

This morning while selecting and enabling some one hundred products in magento i got this mysql too many table error Below is the snippet from the log file a:5:{i:0;s:92:"SQLSTATE[HY000]: General ...
7
votes
1answer
2k views

Custom /catalogsearch/ filters

Beforehand I have to tell: I'm a total n00b on Magento and what I need to know is more a "common practice" or "standard" about how is something achieved in Magento, since I have to maintain (in record ...
7
votes
1answer
99 views

Magento module:uninstall orphans any dependencies (required modules)

I have some modules that are dependent on a core module. When I use the command composer require stti/module-catalogbook Magento installs 2 modules.. Stti_Catalogbook and Stti_Catalogcore. If i ...
7
votes
1answer
3k views

Dangers of caching WSDL file

I currently have WSDL caching enabled in the store to improve client API performance. However, is there a danger to it. If I change some aspect of the store that affects the WSDL, is the client going ...
7
votes
1answer
688 views

How to change currency in magento soap api

I am using Magento 1.8.1 and SOAP API 2. I couldn't find a way to change the currency for the API. How can I do this ? Or is this not possible with Magento ? And if this is not possible, is there a ...

15 30 50 per page