People who code: we want your input. Take the Survey

Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How can I make cancel order option customer account without extension?

I am newer to magento 2 and I need to make cancel order option from customer panel. Can someone explain the step by step process?
0
votes
1answer
20 views

Once Free Shipping method show then hide other charge shipping method but keep store pick

I have multiple shipping methods, 1- Custom Shipping Method with Charge at £100 2- Store pick up - Free after £100 3- Free Shipping So When Free Shipping method reaches cart value 100 then hide Custom ...
0
votes
0answers
11 views

Magento 2 admin order view HOLD button not clickable randomly

When order is viewed from magento admin. Then try to hold that order then Hold button is not working properly. Not getting any error in console. But when the console tab is opened that time it always ...
1
vote
0answers
39 views

Magento 2 POST Request Return 302 Redirect [closed]

I have Image Manager from Ves Base Widget, the issue is when the user tried to upload the image from his computer to the image manager, so that means the request called from Javascript and returned ...
0
votes
1answer
36 views

How can I insert multiple row at once without for loop using collection in Magento 2?

I want insert multiple record without for loop in Magento 2 my data is as follow, Array ( [0] => Array ( [path] => whatsapp_contact/whatsapp_contact_button_settings/...
0
votes
1answer
28 views

Can't access Magento 2.2.1 admin,

Can't access Magento 2.2.1 admin, Stores > Configuration, anyone have this error before? How I can fix this. Thank you 1 exception(s): Exception #0 (Exception): Notice: Undefined offset: 2 in /home/...
0
votes
1answer
35 views

How can I override the default config class in custom module in Magento 2?

I want to override Config class using plugin. Here is my di.xml file <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
15 views

Is Magento 2.1.13 version support MySQL 5.7 version?

Currently, my magneto project (2.1.13) connect with the 5.6 MySQL version in the AWS server.AWS server automatically will update MySQL version from 5.6 to 5.7 because MySQL 5.6 is deprecating in ...
2
votes
0answers
12 views

I am getting warning message of this “This site ahead contains malware” in google chrome

After I installed local setup for magento 2.1.16 with nginx server. When I try to visit my site in chrome it notify with site ahead contain malware. I have tried removing all third party extensions. I ...
0
votes
0answers
21 views

Magento 2 : Catalog images resize command stops and gives an error

I have run the command catalog:images:resize on Magento 2.1.17. It has stopped after some time and gave me the following error: Warning: getimagesize(): corrupt JPEG data: 1156 extraneous bytes before ...
0
votes
0answers
15 views

Magento 2 I wanna show the Tax amount in product view

I wanna show the Tax amount like this am using Porto theme
1
vote
0answers
15 views

Multiselect Attribute created through module can't be set programatically

I am on a Magento 2.1 installation using a Venus Theme Module called Brands 2.0. The module creates a product_brand multi select attribute with the following code: $eavSetup = $this->...
0
votes
2answers
41 views

How to remove some cms pages from sitmap.xml in magento 2?

Hello Guys, how to remove some cms pages from sitemap.xml
0
votes
1answer
16 views

I created two dynamic fields in admin but one of them not working in Magento 2?

Here I set two dynamic fields in one configuration but second dynamic field does not work My system.xml file <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
12 views

Magento 2 Order View Exception occurred during order load

My Order detail page is not showing up its giving "Exception occurred during order load" when i checked in logs i got Exception occurred during CURL call Connection timed out after 30001 ...
0
votes
0answers
19 views

Magento 2 Exception occurred during order load

i am using magento2.3 and facing this issue when i want to order detail page. I checked my exception.log there is curl issue is [2021-05-04 07:50:14] main.CRITICAL: Connection timed out after 30001 ...
0
votes
0answers
11 views

Magento 2: Programmatically update & apply shopping cart rule

how can we update sales rule by ruleId in Magento 2 Programmatically
0
votes
0answers
14 views

How can I insert my custom checkout step form data when place order in quote table and in sales_order table in magento 2.4?

I create custom checkout step with my custom form in that I need to submit three extra field in quote table and sales order table. So, how can I submit this form data in that table when order place. ...
0
votes
0answers
17 views

Programmatically setting products multi select attribute doesn't work in Magento 2.1

I am trying to be able to create/update a product programatically based on an API call in magento 2.1. I have everything working except for setting our 'Product Brand' multi select attribute. Using ...
0
votes
1answer
13 views

Custom Grid Date filter format problem on search

I'm trying to format the display and also the datepicker value when selecting the date in Filter for my custom grid. Now the display works fine the only problem is when I filter it, it doesn't work as ...
0
votes
1answer
35 views

Magento 2 showing different customers name in header

I have shown customer name in header programmatically.But when you login with customer it show other customer name which was logged in past on same web browser on some pages.instead of current ...
0
votes
2answers
32 views

How to used same code in helper data in magento 2?

Here is my object manager code can any one guide me how can i used same code in my helper data $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customOptions = $objectManager ...
0
votes
0answers
22 views

Magento 1 grid keeps loading when i try to filter on custom customer grid

First image that with the GiftRegistry tab of the customer Second image after changing view filter to 30 Third image that's show the disappearing grid on filter So I created the folders for the ...
0
votes
1answer
35 views

Magento 2 cron scheduled but not executing for sales email

I have a store in Magento 2.1.7. My emails were working fine a few days ago but suddenly it stops working. I also noticed my config fields in the admin panel are also not editable anymore and I'm not ...
0
votes
1answer
31 views

Magento 2 emails stop working suddenly

I have a store in Magento 2.1.7. My emails were working fine a few days ago but suddenly it stops working. I also noticed my config fields in the admin panel are also not editable anymore and I'm not ...
0
votes
0answers
11 views

Add button to admin page with using block

I have created an admin page using block classes but I want to add an action button like grids. I know this can be done using UI component but for this task I am not using UI Component and its not ...
0
votes
0answers
13 views

Which DBMS versions Magento 2.1.18 supports?

I am unable to find on Magento website or elsewhere, up to which versions of MariaDB and MySQL Magento 2.1.18 supports. I know it's old, but that's another topic. I've found MySQL 5.6.x, I wonder if 5....
0
votes
1answer
21 views

How To Add Sorting Ascending And Descending Order in custom attribute of customer grid in magento 2

I Created the Customer Custom Attribute using Upgrade Schema Like This public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { $setup->startSetup(); ...
0
votes
0answers
28 views

Magento 2 How to Clear Content Staging Dashboard?

Anyone Magento 2 EE 2.3.5 How to Clear Content Staging Dashboard? How to remove/delete/clear content staging dashboard any idea? I am trying to figure this out for many hours, please let me know If ...
0
votes
1answer
26 views

How to add Additional_attribute row when Products import using csv in magento 2

i need to set additional attribute column pragmatically using code in magento2 with import export module model file my product custom attribute is "pre_order_qty" if ($this->validateRow(...
3
votes
1answer
118 views

How to improve Performance of website according to google new Algorithms

Recently google has changed and updated its algorithms for SEO, that is why GTmertix changed its reporting.
0
votes
0answers
21 views

Magento2 - How to customise Magento modal styling?

How to give css to Magento modal popup. I want to edit the title styling and other styling on the popup.
0
votes
0answers
13 views

Magento URL Re-Directions

I have magneto on AWS , and I crease Image from Production Environment in order to Create Test & Dev but I noticed thats whenever I try to hit Clone/Test IP its Re-Direct to URL Production ; so ...
0
votes
0answers
6 views

Magento 2.1.7 “Ghost” exports triggered by magento?

In the last few days, my Magento instance started some exports automatically without any of the admin users triggering it. Background I rewrote the export logic to make it run in the background, so if ...
0
votes
1answer
101 views

Magento 2 - Custom REST api POST method not working

I have created a custom rest api module. When i am using GET method it's working fine. But when i am trying to use POST method it giving below error Request does not match any route. Does anyone ...
0
votes
0answers
16 views

Need to generate the invoice automatically once the shipment is created. [Magento 2.3.3 EE]

I want to generate the invoice automatically once the shipment is created. [Magento 2.3.3 EE] More details as follows: Automatically create an invoice based on orders with shipment created ...
0
votes
1answer
46 views

Migrate only customer and sales orders tables from Magento 2.1 to 2.4.1

I need to migrate customer and sales tables from Magento 2.1 to 2.4.1. What would be the best way to do it ? As i know, magento provides migration tool. From the manuel, i see this tool is used for ...
0
votes
0answers
50 views

When we run di:compile then getting error in magento 2.1.3

When we run command di:compile then we are getting error. we are using magento 2.1.3 sudo php bin/magento setup:di:compile Compilation was started. Area configuration aggregation... 5/7 [==============...
0
votes
1answer
97 views

How to disable product edit per field based on admin role in Magento 2

I have some differents users that will be use the admin, on this way, I need to create different rules to edit the products. On this way, I´ll create a rule that the user can edit just PRICES and ...
0
votes
0answers
46 views

Magento 2- Why for some products only one image roles are showing?

I'm using Magento 2.1.11, We noticed that for some SKUs only one image role is showing i.e. base image (Attaching screenshot below) other image roles are not showing. I tried setting them ...
0
votes
0answers
19 views

Magento 2.3.6 Extension Manager Not Working

This is old image I copy this image same page I have same problem magento V 2.3.6 my extension manager is not open I connected magento marketplace account success fully but I don't know to solve ...
0
votes
1answer
11 views

this error“ Err_TOO_Many_Redirect” path is admin/noroute/denide?

this erro happend when user role change to denied.and whenwver you loggin to admin page it is redirect many times error.
0
votes
1answer
11 views

Get Products Belong to custom attribute id

I have added mageplaza brands to my magento project and I can get the list of brands that I have with following graphql query getMpBrands { mpbrand(filter: {}, storeId: 1, currentPage: 1, pageSize: ...
0
votes
0answers
12 views

magento2 controller concept of rendering layouts

I just started working with magento 2 and I am little confuse how does the controller know that which layout has to be rendered.
0
votes
2answers
91 views

“Invalid Form Key, please refresh the page? ” - addtocart

I am testing website deployed based on Magenta Template Framework, the problem that occurred is that the cart kept being empty even the add to cart link has been ran. And furthermore, i kept getting ...
0
votes
1answer
13 views

Magento 2 get keys values in rest api response

{ "item_id": 191111111, "sku": "qqqqqqq", "qty": 1, "name":"asdasd", "price": 736.52, ...
0
votes
0answers
6 views

Magento 2.1 add new phrases to language pack

i download and install Magento 2 Russian Language Pack from github, and i collect the all phares from console with this command php bin/magento i18n:collect-phrases -o "./app/i18/Luminoso/ru_RU/...
0
votes
0answers
21 views

Stopwords not working in Magento 2.3 for ElasticSearch 6.0+

I want to implement stopwords functionality in Magento 2.3 but it is not working. I am overriding the file stopwords.csv using a custom module. Someone, please suggest the solution. Thanks, Rashi
0
votes
1answer
66 views

Magento 2 Add custom field Estimate Shipping and Tax (cart page)

I'm working on one project and i wants some extra fields on cart page under estimate shipping and tax. Hide Country field Show State as "Province" Text Show City as "Canton" as a ...
0
votes
0answers
10 views

i want to show alert if not select any of two options in magento 2 under specfic shipping mathod

i want to show alert if not select any of two options in magento 2

1
2 3 4 5
111