Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

0
votes
0answers
6 views

Magento 2.1 EE saving popularity with an increment of 2

I am using the below code in my Plugin to save search terms which have search terms greater then zero.But it is saving the popularity with an increment of 2 whereas according to default functionality ...
2
votes
0answers
14 views

Transactional Email Change Logo not working

I'm trying to change the logo of the transaction email. But upon changing of logo it's not displaying the preview of the uploaded image. So now I tried to preview using the inspector and below is what ...
1
vote
0answers
15 views

Magento2 : Undefined Index amount in Order/Totals/Tax.phtml file

I installed one GST module on my local instance. after installing that module i am unable to create invoice for sales order. Getting the attached error message.I disabled all my third party extensions ...
2
votes
1answer
30 views

Getting a CLI error when trying to compile

I am getting this error on terminal: PHP Fatal error: Class 'Cli' not found in /opt/bitnami/apache2/htdocs/bin/magento on line 31 when trying to run these commands: sudo php bin/magento setup:...
1
vote
1answer
18 views

Magento2 Shipping City For Shipping Amount Caluculations

I need to apply table rate shipping based on following conditions City to City Metro to City Metro to Metro City to Other City to Special Locations I written my own module but ...
1
vote
0answers
14 views

Magento 2.1.8 dev site catalog search and products listing redirecting to live site

I have setup my magento 2.1.8 EE live site on staging for development. The homepage, admin and cms pages are working fine. But my prduct pages are redirecting to live site and catalog search also ...
0
votes
0answers
17 views

Blank Email Magento 2 - Order / Password

At my shop I have the problem that when someone creates a new order, the order confirmation (email) is simply displayed blank (white page). The email address is also not displayed correctly. If you ...
0
votes
3answers
45 views

Display Widget in phtml file magento 2

I have Following widget and its working in cms page but now I want it to display in phtml file {{widget type="Magento\Catalog\Block\Widget\RecentlyViewed" uiComponent="widget_recently_viewed" ...
4
votes
0answers
53 views
+50

Header and footer in an external file

I'm using an index.php file under /pub/custom folder, which is used to create custom designs. This file is completely written in html and javascript. Is there any way to include current header and ...
3
votes
0answers
9 views

Magento2.1 add pagination to my wishlist

Want to add pagination and toolbar to my wishlist page on customer panel. Mean that i want to do something like list.phtml on wishlist page in customer account - customer panel.
1
vote
3answers
18 views

Magento2.1.14: Css not loaded after upgrading apache 2.34 to 2.37

I have upgrade apache 2.34 to 2.37. Then I have the problem that all css and js files are only throwing a 500 error and are not loaded. I have got this error on error log: option followsymlinks not ...
0
votes
0answers
19 views

Magento2 template functionality [on hold]

Can anybody tell me a template with tablisting function With category selector and manually add product. From admin panel can check and add and edit and remove
2
votes
1answer
17 views

magento 2.1 change address structure hierarchy

I want to show state, province, postcode in line like below india-dehli 185235 how can i change the hierarchy of address structure?
1
vote
1answer
33 views

How to get recently viewed product collection in observer Magento 2

I want to fetch a recently viewed products collection in the observer and by using that collection I want to add my custom product in that collection. Following Things That I Want To Achieve. On ...
5
votes
1answer
39 views

How to add custom attribute in magento2.1 customer panel wishlist section?

I want to add guaranty (custom product attribute) to customers wish-list page that is in customer dashboard in my Wishlist tab. Means that I wanted to show price, qty, name, guaranty, and add to ...
1
vote
1answer
24 views

Magento 2.1 - How do I downgrade Algolia Search? [on hold]

I've been using Algolia Search for Magento 2.1 for 2 weeks. Somehow I accidentally ran the composer command and updated Algolia to version 1.10.0. Now I want to downgrade it back to version 1.8.5. ...
3
votes
2answers
39 views

Connect Redis to Docker-compose

I've setup my docker to connect with redis. But upon running the application i'm getting this error Fatal error: Uncaught CredisException: Connection to Redis redis:0 failed after 2 failures. Last ...
1
vote
1answer
41 views

Apply Tax to Shipping Amount in Magento2

We have a magento2 setup for indian website. We allow customers to purchase including tax. Also we are charging some shipping amount from customers but this shipping amount is under GST of 18%. We ...
1
vote
0answers
41 views

Magento 2 Associate Developer Exam

I'm starting to prepare for the Magento 2 Associate Developer Exam. Can you help with some tips for this preparation? Some books, tests, sites or something else? Thank you very much.
2
votes
1answer
24 views

Magento 2.1 order history items link

How to add product link and image on my customer panel, my order, view order tab? by default it just shows title of product with no link
1
vote
1answer
26 views

Why add .html.html on save product in admin after migration from magento1 to magento 2? [closed]

Magento adds .html key after product url when save the product in admin in magento 2. Product url already have .html but again its added .html in end of product url.
3
votes
2answers
42 views

Run Magento 2 inside a Docker Container

Is there a way to run my existing magento 2 project inside a docker container? I have an existing project that is run inside a vagrant but I'm encountering a lot of issue in the vagrant and we decided ...
1
vote
0answers
18 views

Observer not save updated images gallery alt tag

i create simple module, which auto product name in images gallery alt tag Evern : <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
2
votes
0answers
23 views

Magento2 address template

I want to show my addresses on customer panel like this: FA, Macon, rujeh st, NO12. instead of: fa macon rujeh st no12 what should i do?
2
votes
1answer
57 views

Authorize.net Magento 2 EE patch

I saw this link: https://github.com/MeetanshiInc/Magento-Authorize-Net-Direct-Post-Patch-for-M1-M2 Just wondering, does the patch for CE 2.1.0 - 2.1.9 work for EE 2.1.5 as well? Just curious.
1
vote
2answers
32 views

forbiden | You don't have permission to access /pub/static

I have this error: "Forbidden You don't have permission to access /pub/static/adminhtml/Magento/backend/en_US/Magento_Ui/templates/collection.html on this server. Additionally, a 403 Forbidden error ...
1
vote
0answers
23 views

Remove added to cart message in Magento 2

I want to remove the Success message when adding to cart. Right now when you click on the Add to Cart button it displays a message of Successfully added <product> to cart but I don't want to ...
2
votes
0answers
18 views

File Upload Error in Magento 2

I written custom module to upload bulk import of products with error report. Here is the code I am using to move CSV file to particular location. I am getting error always saying that "Uploaded ...
0
votes
0answers
12 views

Magento 2.1 customer account bootstrap

How to change customer account side bar tabs on bootstrap to col-lg-5? i couldn't find anything... also i want to change the direction of this sidebar use magento2.1.9 Also want to stick this sidebar ...
1
vote
1answer
38 views

How to override top menu css in Magento 2?

I want to override top menu CSS and replace it with my own CSS. I don't know which CSS file is responsible to display top menu. I only need to override CSS and don't want to make any changes to ...
2
votes
0answers
14 views

How to use Paypal “Buy button” concept in magento 2?

Actually i am looking for a solution on marketplace multi-vendor concept. As in Magento paypal express checkout is default which makes once buyer paid the payment will redirect to the admin paypal ...
2
votes
0answers
19 views

Magento - SOAP-ERROR: Parsing WSDL 2

Pessoal estou com este erro e infelizmente não consigo resolver o mesmo. Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://magento.cordeirosilva....
1
vote
1answer
30 views

How to Display Vertical mega menu in Magento 2?

I want to display a vertical menu instead of the default horizontal menu for category and subcategory
2
votes
0answers
14 views

How to fix Invalid customer address id in Magento 2.1.5

How to fix Invalid customer address id 1678 etc when trying to add to cart in Magento 2.1.5 It was fixed before by adding a foreign key field to "customer_address_id". After adding the matrixrate ...
1
vote
1answer
22 views

Enabling DHL Marketplace in Magento 2

How can I add DHL Market Place in my Magento 2 admin? Been searching on how to enable it but can't find any solution. Should I just copy the download file into the app folder? or do I need to go to ...
2
votes
2answers
43 views

Add new registration form magento 2

i want to create a new registration form for wholesaler the form should be same as new customer registration form which is provided by magento.when i register wholesaler customer data should be save ...
1
vote
0answers
19 views

How to allow special characters like '," in search?

How to allow special characters like '," in search ? If I search with abc'th it results all products.
2
votes
3answers
58 views

css not loading in owl carousel magento 2

hello guys i am trying to use owl carousel in phtml file in console it shows error regarding css Following is my default_head_block.xml file which is a layout file <?xml version="1.0"?> <...
1
vote
0answers
10 views

Magento 2 : Getting issue during added non-visible product to cart through observer?

For this, I use below event observer <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
0
votes
0answers
9 views

Rest API to a Magento 2 Site

Is there a way to make a REST API call to a website built in Magento 2? The scenario is I have multiple site and the header of these sites are shared whether I go to website 1 or website 2. Now when I ...
1
vote
1answer
38 views

How to use owl carousel using require js in magento 2

Anyone can help me out how to use owl carousel using a custom theme by using require js I have downloaded owl carousel zip file from an official website. I want to use this owl carousel in my block ...
0
votes
2answers
109 views

Magento 2 Authorization.net patch Md5 to SHA giving error

I am using Magento 2.1.3 EE and i applied patch using patch -p1 < patchfile.patch which applied patch in 5 files of vendor/magento/module-authorizenet I did follow the instruction given by the ...
1
vote
0answers
12 views

Display Multiple Images In Admin Edit Form Magento 2

Display Multiple Images from database in custom admin edit form This Is My Form.php file <?php namespace Magneto\AppNotification\Block\Adminhtml\Form\Edit\Tab; use Magento\Backend\Block\...
1
vote
0answers
30 views

How to redirect to custom/website maintenance page when hit an error?

How to make the redirection to custom page or other website's Maintenance Page when my Magento reports an error? Instead of showing the debug page no matter in which mode my website is.
3
votes
1answer
36 views

Want to overwrite minicart/item/default.html file for minicart?

I want to hide qty box and remove/delete icon from mini cart for few products. For this I overwrite checkout_cart_sidebar_item_renderers.xml <?xml version="1.0"?> <page xmlns:xsi="http://www....
2
votes
2answers
32 views

How to use overwrite the checkout cart/item/default.phtml template file into my module in Magento2

I have created a module with Custom/Module as {Namespace/Modulename}, app/code/Custom/Module/etc/di.xml file, <type name="Magento\Checkout\Block\Cart\AbstractCart"> <plugin name="...
0
votes
1answer
33 views

How to use rewrite the cart/item/default.phtml template file my module?

First I overwrite checkout_cart_index.xml in my module like below app/code/Custom/Module/view/frontend/layout/checkout_cart_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3....
1
vote
0answers
21 views

How to add a different class names to a field called status in UI component grid used in front-end in magento 2

I want to add a span tag for a status field which contains different statuses like close,open,order.those status are coming from ui component grid used in front-end.
1
vote
1answer
29 views

How To Fetch all customer name in multi select in custom admin form

I Want To fetch all customer name in multi select in my form using customer collection Following is my form file <?php namespace Magneto\AppNotification\Block\Adminhtml\Form\Edit\Tab; use ...
1
vote
1answer
17 views

Add additional Fee on Order page

I want to add an additional fee here which will be a textbox. Entering a value will add to the grand total of the Order. This page is from admin, where admin will generate an order for Customer.