Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

Filter by
Sorted by
Tagged with
0 votes
2 answers
18 views

How to install 2 different magento2 instance with same server and same database

I want to install 2 magento2.4.4 on my server and connect with single database .
user avatar
  • 11
0 votes
0 answers
9 views

Invalid security or form key. Please refresh the page with ALO Extension

I installed ALO theme and it was working well, I can open any section of the extension but when I try to open any page, I redirect to the dashboard and got the error Invalid security or form key. ...
user avatar
0 votes
0 answers
6 views

Magento Page builder Add to Cart button add datalayer

We have the magento page builder and when adding a shop now product which ads the product to the cart. egsample: https://www.[Store].com/internal_cart/add?sku=[ProductSku]&dest=checkout&qty=1 ...
user avatar
1 vote
1 answer
27 views

best way to upgrade magento 2.1.15 to magento 2.4.4 Last version

I have a huge client project running with ubuntu server LTS 20.04, so I need the best way to upgrade it from 2.1.15 to the last version 2.4.4 with the same data included, What is the best way? 1- Is ...
user avatar
0 votes
0 answers
3 views

are there any free reviews reminder configurations?

Are there any good configurations that can remind the customer by emailing them to leave a review on their purchase?
user avatar
  • 1
0 votes
0 answers
20 views

Magento 2 show custom option price in order email

I have tried to set custom option price when order is placed the price should be stored in sales_order_item table in custom_option column and tried to create plugin for this but the plugin is not ...
user avatar
  • 1,014
0 votes
1 answer
26 views

How to use hypen symbols in custom module controller url in Magento 2?

I have form input where user can enter postcode. When they enter postcode i am redirecting other page (controller url-popup/action/index) and i showing postcode inforation in that page. But i need ...
user avatar
  • 29
0 votes
0 answers
13 views

When upload Image Ajax Request return 502 Bad Gateway - Nginx

when we try to upload image in magento Admin panel we got 502 Bad Gateway Error Nginx host configuration file: # Define the PHP-FPM socket file for nginx to proxy-pass to upstream examplecombackend { ...
user avatar
  • 101
0 votes
0 answers
30 views

Mysql query to get product details in magento 2

I need a MySQL query to get product SKU, price, description, and discount for all enabled products, where the discount is the custom attribute and the attribute-id for that custom-attribute is 1168. ...
user avatar
0 votes
1 answer
30 views

How to change the custom controller url to fancy url in magento 2

I created a page using conroller with the URL - "mani.magento.com/demo/action/index" but in the live site that page URL looks like this "mani.magento.com/our-service/hospital-meals/...
user avatar
  • 29
0 votes
0 answers
8 views

how to automatically send markdowns into the sale sections?

when I make some markdowns for the sale items they don't go in the right categories. Is there a way to do this?
user avatar
  • 1
0 votes
0 answers
35 views

How to show thanku popup only, if user alredy submitted the form in magento 2 untill user leaves page

I have custom popup form, when the user click on 'get in touch' button i am showing popup to fill the form, once user submitted the form i am showing thanku popup.So if the user again click on 'get in ...
user avatar
  • 29
0 votes
1 answer
27 views

create a mysql table view in Magento 2

Anybody know , how we create a MySQL table view in magento 2 programmaticallt
user avatar
0 votes
0 answers
24 views

How to show thanku message only after user submit the popup form in magento 2 until refresh the page

I have contact us buttons more than one in a page. when the user click on the contact us button i am showing the popup form. After user submitting the form i am showing thanku div.But when the user ...
user avatar
  • 29
0 votes
0 answers
27 views

How to show success message in popup modal after submitting the form in magento 2

here i did this to show popup modal <div id="popup-modal" style="display:none;"> <form class="form contact" action="<?= $block->getUrl(...
user avatar
  • 29
0 votes
1 answer
24 views

What is interface in magento 2 and why use?

What is interface in Magento2 ? Why use this ? I want to know more detail about interface ?
user avatar
1 vote
2 answers
32 views

How to make select ui component as a required entry in Magento 2

<form> ... <fieldset> ... <field name="select_example" formElement="select"> <settings> <dataType>...
user avatar
  • 29
0 votes
1 answer
41 views

How to add text editor in the admin form and save data to the database in Magento 2

<fieldset name="content"> <settings> <label>Wysiwyg Content</label> </settings> <field name="wysiwyg_example" ...
user avatar
  • 29
0 votes
0 answers
20 views

Magento 2 uncaught error: call to undefined method magento\framework\mail\message::getto()

I am using Magento version 2.1 and facing an uncaught error: Call to undefined method magento\framework\mail\message::getto() this issue.
user avatar
  • 13
0 votes
0 answers
30 views

Add Custom Checkbox & dropdown on Cart Page Magento 2

I want to add a custom checkbox & dropdown(with multiple values) on the Cart page. If that particular checkbox is checked then only a dropdown will populate else it will remain unchecked. Anyone ...
user avatar
0 votes
1 answer
22 views

How to add "Where did you hear about us ?" dropdown in Magento 2

I want to add the "How did you hear about us?" drop-down in the order confirmation page for first-time users to my store. And add values like Facebook, from friends etc.. How can I achieve ...
user avatar
  • 29
0 votes
1 answer
31 views

How can i remove items from the basket automatically if the customer added product is out of stock in Magento 2

scenario - the customer added products to the basket and logged out. After sometime he again logged in, now when he checked his minicart or cart i need to remove the products which are out of stock ...
user avatar
  • 29
0 votes
2 answers
36 views

problem with admin url ubuntu server

after install lamp ubuntu 20.04 i achieved to install magento 2.1.4 version i can show home page but i can't reach to admin login page . as well as using this command to detect the exact url php bin/...
user avatar
0 votes
2 answers
35 views

I am in php bin/magento setup:upgrade Something goes wrong

I am in php bin/magento setup:upgrade Something goes wrong,My Magento is a community edition with version number 2.1.13 Please help me thank you
user avatar
0 votes
0 answers
21 views

How to get information of a field from a magento module?

I am developing a shipping restriction plugin for magento 2, looking at the documentation I found the detailed information of the initial creation process. One of the validations I need is: Depending ...
user avatar
0 votes
2 answers
190 views

how to add sku column in order sales grid in magento 2

i need to add sku column with filter in order sales grid in magento 2. how can i add this can any one have refrence
user avatar
0 votes
0 answers
30 views

How can we resolve the sales order filter with sku gaves "Something went wrong with processing....." in Mageto 2

The Sales Order Grid Not Working And It's Gives this kind of error when search by sku "Something went wrong with processing the default view and we have restored the filter to its original state....
user avatar
0 votes
1 answer
47 views

Magento 2 - ONLY the admin page doesn't work

I have installed Magento 2 locally. I imported the database, changed the URL, and so on. Everything works fine - each subpage loads. Unfortunately, the admin doesn't work. The page just shows 404. ...
user avatar
0 votes
1 answer
34 views

Magento 2.3 - If two specific products on cart show free shipping for both and if one of these two products is on cart show shipping price

I'm using the cart pricing rule in magento 2, I have created the attribute "is free shipping?"= yes for only 5 Gallons variation. Free shipping is only applied if 5 gallons variation is on ...
user avatar
0 votes
0 answers
11 views

How to change checkout URL

What is the proper way and right place in Magento 2 to change checkout url in php code programatically? I have /checkout and /newcheckout modules, and in admin panel if I add Url Rewrite - Request: ...
user avatar
  • 101
0 votes
2 answers
138 views

Add slick slider on home page Magento 2 via pagebuilder

I did check a lot of articles for a slick but none of them worked. Even I didn't see the js in view source code. I want to add a slider on the homepage having multiple blocks. Can anyone help me out ...
user avatar
0 votes
2 answers
216 views

How to create the plugin for customer registration for create post get the inserted last id in magento2

How to create the plugin for customer registration for create post get the inserted last id in magento2. I tried with an example but it is working. can you please help me? di.xml <type name="...
user avatar
  • 1
1 vote
1 answer
101 views

How can i resolve Empty string supplied as input in DOMDocument::loadXML() in magento 2?

when I compile my code I have this kind of error accurse Warning: DOMDocument::loadXML(): Empty string supplied as input in /mnt/data/home/cloudwaysapps.com/ssucdkafzj/public_html/setup/src/Magento/...
user avatar
0 votes
2 answers
44 views

How can I drop database column via ssh

I need to uninstall one of the modules. I need to drop the column from the database How can I run this command via ssh to remove it? I tried on this way not working with me. 1- sudo mysql -u root -p 2-...
user avatar
  • 19
0 votes
0 answers
24 views

Magento2.4- Order does not register as paid after making payment with payment gateway

I'm using one of the payment gateways. It's called Urway/one97. When the customer makes a payment with the payment gateway not register as paid + the order status changes to Complete. I sent the ...
user avatar
  • 19
0 votes
0 answers
9 views

order does not register as paid after making payment with payment gateway

I'm using one of the payment gateways. It's called Urway/one97. When the customer makes a payment with the payment gateway not register as paid + the order status changes to complete. I sent the ...
user avatar
  • 19
2 votes
3 answers
92 views

How can I Set Up & Configure Robots.txt in Magento 2?

I'm trying to set up the robots.txt on our Magento store. Actually, I do not really have any idea how to do that, so I need the help of any SEO or an experienced person who can help me with this.
user avatar
0 votes
0 answers
60 views

Magento 2 Captcha image is not loading why?

when i click on the forget password in my Magento it is asking for enter email and captcha but captcha image is not loading. why its happening and which files are responsible for that ? Thanks..
user avatar
  • 29
0 votes
0 answers
33 views

Magento 2 sort multi select attributes by selected and alphabetical order

I'm trying to sort multi-select attributes by selected values at the top and alphabetical order shown in the admin product edit page. I tried using JS to sort alphabetical but didn't succeed. Please ...
user avatar
  • 828
0 votes
1 answer
55 views

how to add ADD TO CART button in catalog search

I want ADD TO CART button in [search entire store] search box, when we are searching for any product. I am getting only name and price when i am searching for a product, i want add to cart button with ...
user avatar
  • 29
0 votes
1 answer
76 views

how to add an external iframe in the magento 2 gallery?

I need add an external iframe in product gallery, but my code is not working in product configurable. Thanks $(document).on('gallery:loaded', function () { var $fotorama = jQuery('div.gallery-...
user avatar
  • 1
0 votes
2 answers
32 views

What is the meaning of below code (DI injection of proxy)

Can someone explain me what does this code does, when we need this. di.xml <type name="Magento\Wishlist\Helper\Data"> <arguments> <argument name="...
user avatar
0 votes
1 answer
17 views

What does the meaning of below piece of code (DI)

I found this code in a di.xml file with the code below. can someone tell me what the piece of code means. <virtualType name="Magento\Downloadable\Pricing\Price\Pool" type="Magento\...
user avatar
0 votes
0 answers
38 views

making product name as url in sales/order/view page

for making product name as url in admin/sales/order view page i done this. file: app\code\Manoj\Productlink\view\adminhtml\layout\sales_order_view.xml <?xml version="1.0"?> <page ...
user avatar
  • 29
0 votes
3 answers
64 views

adding new column in admin/sales/order/ view page

I tried this code but it is giving a column at the end of the table, I want this column at the starting of the table (product image) file : app\code\Product\image\view\adminhtml\layout\...
user avatar
  • 29
0 votes
0 answers
37 views

How to add product add functionality in custom module in magento 2?

i need to create new module that add rental product and that product add same as add like default product add
user avatar
0 votes
0 answers
12 views

Can i create multiple cart price promotions on the same products Magento 1

i have a cart price rule running on a group of products that have a price of 79.95 and if you buy 2 of these products , you get them for 119. The problem i am facing is i want to add another promotion ...
user avatar
0 votes
1 answer
34 views

Magento 2 decrease coupon usage

I'm trying to decrease coupon usage, but it isn't applying. I created a coupon with a count of usage = 1, then I use the coupon to reach the limit. After that, I'm trying to set the usage value from 1 ...
user avatar
  • 550
0 votes
2 answers
25 views

Magento2: Invalid template file: 'Magento_Catalog::suncare/tabs.phtml' in module: '' block's name 'magento\framework\view\element\template_4' [] []

Magento2: Invalid template file: 'Magento_Catalog::suncare/tabs.phtml' in module: '' block's name 'magento\framework\view\element\template_4' [] [] facing this error how to resolve this? Thanks for ...
user avatar
  • 120
0 votes
1 answer
123 views

PDO exception after changing the slider configuration

I'm not a Magento developer but when a client asked me to change the slider. I changed and it was an easy option. After changing, I flushed the cache, and the site showing an error msg like PDO ...
user avatar

1
2 3 4 5
112