Stack Exchange Network

Stack Exchange network consists of 174 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

Denotes questions related to Magento CE and EE 2.1.x

0
votes
1answer
15 views

Events when the order is placed is not firing

I am trying to observe an event when the order is placed but is not working for me. I tried with "sales_order_place_after" and "checkout_submit_all_after" events but nothing happens. The "test.log" ...
1
vote
2answers
17 views

How to know if the observer function have executed after an event?

I am trying to observe an event. How can I debug or know if the observer function has been called? I am using the event "checkout_cart_add_product_complete" and trying to do something simple when a ...
1
vote
1answer
25 views

How to create page with left sidebar In magento 2.1.15?

I want to create page or block with sidebar. if I click customer service then I want to see customer service info etc.
0
votes
0answers
5 views

Magento2 - Adminhtml - UI Component switcherConfig

Looking at this example from this question to find a way to change a UI Component form field to do something from another form field (in the example, show or hide the field), and noticed this <item ...
0
votes
0answers
10 views

Change currency showed in reports - Magento 2

Hi all Magento Wizards, I have a question regarding the currency shown in reports. I have a Magento webshop where my base currency is Euro. I have multiple websites and store views, which have ...
0
votes
0answers
15 views

Failure reason: 'Unable to unserialize value, string is corrupted.' after upgrade magento 2.1.5 to magento 2.2.6

I have upgraded Magento 2.1.5 to Magento 2.2.6 but after that I am getting error in running upgrade command: Error converting field value in table quote_item_option where option_id=85330 using ...
0
votes
0answers
6 views

Inline editable only for few row

I want to implement inline edit in ui component listing. I want few on the row can edit some colum and other won't. How can i solve this problem?
0
votes
0answers
19 views

Magento 2 add query params via observer to all the URL's

I am trying to add query params dynamically in a checkout page. If the page is checkout, then for all the URL's append a query string " "?checkoutpage=true" Is there any way to add the query ...
1
vote
0answers
24 views

Home Page getting error when try add product in cart Magento 2

I have created my custom theme in magento and designed default.xml as per my requirement, everything is working fine but getting error when trying add product in cart from home page, also minicart ...
0
votes
0answers
11 views

I want to make a SwatchBox in magento-2.1?

I want create a swatchBox is like as swatchBox Example in magento-2.1? It is possible in Magento-2.1? In this site, Product Price is showing greater 0, but when i add this product in cart, price will ...
0
votes
0answers
10 views

Magento 2 : Order total does not match with Klarna order total

We are configuring Klarna Payment gateway with Magento 2 web shop. There, we have created two store views for Swedish Krona and Euro currencies. When we put same currency to all store views, order ...
0
votes
1answer
22 views

Magento 2: Adding custom attribute for product

I want to add a product attribute like https://nwdthemes.com/2018/06/21/magento-2-working-with-arrayserialized-backend-model/ How I can create a product attribute with multiple value in one record?
0
votes
1answer
26 views

How to add tax amount in old orders in Magento-2.1?

I have some orders is placed, when tax rule is not build. After some times, I will create tax rule. Now all orders is placed with tax rules. But I want to add tax rule in old orders. How can I do this ...
0
votes
0answers
14 views

How can I call my API of Shipping when the order is placed using my custom shipping module?

I have created a custom shipping method and is appearing in the admin config page, and also is able in the customer order to be selected. Now I need to do an api call to my shipping company when the ...
0
votes
1answer
13 views

How to add custom configs variables to custom shipping method?

I have created a custom shipping method following this tutorial: https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ Now I would need to add a couple of extra variables to admin ...
0
votes
0answers
7 views

How to display image of bundle product in order_email template in Magento- 2.1?

I want to show image of bundle product in order_email template in Magento-2.1. Can I show of all images of bundle items in order_email template? Please guide me.
1
vote
1answer
18 views

Can't see the custom shipping method just added

I need to add a custom shipping method. I was fallowging this tutorial: https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ I was able to configure my custom shipping method. I set ...
0
votes
0answers
24 views

Fatal error: FileIterator contains 1 abstract method must therefore be declared abstract or implement the remaining methods

I need to add a custom shipping method. I was fallowging this tutorial: https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ I am receiving this error: Fatal error: Class Magento\...
1
vote
2answers
170 views

How to know the correct path to extend in Magento?

I am new in Magento. I am having a lot of problems to achieve each step in the learning curve. I needed to add a custom shipping method. I was fallowging this tutorial: https://www.mageplaza.com/...
1
vote
0answers
14 views

I want to call register form in my popup , and it's call from default.xml via block

I want to call register form in popup and i tried by below code from default.xml <referenceContainer name="page.wrapper"> <container name="registerpopup" as="registerpopup" label="...
0
votes
1answer
26 views

I want to hide tax price details in order_email_template.How to do it in Magento-2.1?

I want to hide tax details from order_email_template in Magento-2.1. For comment this code in \vendor\magento\module-sales\view\frontend\layout\sales_order_email_items.xml: <block class="Magento\...
0
votes
0answers
23 views

Magento 2 admin grid not rendering

Magento 2 admin grids are not loading. In console I'm getting the following warning message. No template was found by selector: null template.js:59:17
0
votes
1answer
21 views

purchase a downloadable product as guest checkout it does not appear in my downloadable products section

When I purchase a downloadable product as a guest and create account after that. The downloadable products does not appear in the my downloadable products section after completed purchase but invoice ...
1
vote
1answer
25 views

Magento 2 - Tax remove from Grand Total

How to i'll tax calculate in Magento 2. My tax prices is already added in catalog products prices. I just want to show 5% Vat tax on subtotal but don't want to add in Subtotal and Grand Total. Please ...
0
votes
0answers
9 views

Magento 2.1.9: Programatically create product image cache for individual product

I have problem with creating product image cache for some products. I can't use catalog:images:resize as it is time consuming to run it for all products. So I want to do a script where in I pass ...
0
votes
0answers
12 views

How to solve connection timeout problem in GCP using Debian server [closed]

My issue is I create server in Google Cloud Platform and host magneto 2 on Debian that time my Magneto admin panel and website working. When I stop server for some time after some time I start that ...
0
votes
0answers
14 views

State/Province conditions not working on any of my rules

Any time I include a state/province condition on any cart rule the condition is totally ignored. Every other conditions is taken into account and working accept the state/province conditions. Can ...
0
votes
0answers
23 views

How do I set simple product name instead of configurable into cart,checkout Order summary , mini-cart and also order and email in Magento2?

I already used this answer but this answer is just half answer to my question- How do I get simple product name of configurable into checkout Order summary? I need to get the simple product name of ...
0
votes
3answers
34 views

no commands defined in the “setup” namespace

[InvalidArgumentException] There are no commands defined in the "cache" namespace. I am using putty to run some commands. if I run php bin/magento setup:cache Is there any thing I missed during ...
0
votes
0answers
17 views

Order Grid is not showing in Customer->Customer Information(Orders) Admin Panel in Magento-2.1?

Order Grid is not showing in Customer->Customer Information(Orders Tab) on admin Panel in Magento-2.1?Please check screenshot https://i.stack.imgur.com/j0kJq.png What is issue in this? Please guide ...
0
votes
0answers
11 views

Magento 2 : Is there any way to calculate life time sales, without create invoices for the order from the Magento side?

I have integrated Klarna checkout with Magento web shop. When the payment is success for an order, order status is changing to complete (As I configured) in Magento side. But it is not updating the ...
0
votes
3answers
42 views

How to create the download link?

I am using Magento 2.1 and I want to display download link in my Contact us page. If I click in this link then I want to display PDF file.
0
votes
0answers
29 views

Magento 2 set password to customer backend

Magento 2 by default does not allow creating and editing customer’s passwords in back-end. Instead, it automatically sends the link to customer's email and then the customer can set the passwords by ...
0
votes
0answers
17 views

Adding if condition in layout xml file

I want to add a if else condition statement in a layout xml file. I have to two uicomponent file. if condition 1 then uicomponent file 1 else uicomponet file 2 Any help.
0
votes
0answers
12 views

How to output PDF file to browser from a controller

I have created a custom controller. I need to send a pdf file as output, not as a downloadable file, but directly to a browser. Currently in my controller I have the following code $resultFile = $...
0
votes
0answers
24 views

How to Create Custom Form in Magento2.1

I want to create a custom form in frontend and Company Name First Name email Phone No. case ID Model So when a customer fills up this form and does submit I want to insert this data in database and ...
0
votes
1answer
13 views

How can i display admin users as product's attribute options in magento 2

I need to add a select type product attribute (same as size/color) Magento 2. but options of this attribute should came from custom table (like admin user). Thanks
4
votes
1answer
97 views

Cart Price Rules having issues

So I created a rule with these conditions: Everything is working fine except for the State/Province conditions. It seems the rule is not taking the conditions for the state/province section. My rule ...
1
vote
0answers
23 views

Change price before rendering payment gatway in magento 2

I need to change price of product, before rendering the payment gateway in magento2. I have two conditions to change price for particular states with_in state Price and out of state price. SO, we ...
4
votes
2answers
34 views

How to get invoice_Id or invoice in Magento2 after order is placed using REST API

After order is placed i am getting order_id and how can i get invoice of placed order (or) invoice_id after order is placed using Magento REST API.
0
votes
1answer
25 views

Why /guest-carts/:cart_id/totals is showing wrong item price details in Magento-2.1?

When I used /guest-carts/:cart_id/totals Endpoint,It show wrong information in response. It show Item_price exclusive tax in all prices, but tax_price is showing zero. Why it is showing 0 in Magento-...
0
votes
1answer
39 views

Magento 2.1.7 to 2.1.15 upgrade issue

I have upgraded my magento version 2.1.7 to 2.1.15. The upgrade process working fine. But the issue is my home page contents are not loading. It loada product detail page content in the home page. ...
1
vote
0answers
8 views

Products and their prices should be shown area wise

I want to add product price depending on the customers pin code in magento 2.1.x. Kindly help. Products (simple/configurable) and their prices should be shown area wise (pin code)
1
vote
2answers
44 views

Magento 2 Product import error :. Value for 'product_type' attribute contains incorrect value

I'm using Magento 2 Version 2.1 . I have migrated data from magento 1.9 to magento 2.1. The csv looks like, this: sku,product_type,additional_attributes 123,simple,brands=APPLE,...
3
votes
1answer
42 views

Admin direct login with URL

I want to give certain admin user to ability to login using a direct link. The main admin will send a link in a email to sub admin users. The sub users will click on the link and they will directly ...
0
votes
0answers
13 views

How to show grandTotal inclusive tax and exclusive tax in response of /V1/invoices/:invoiceid in Magento-2.1?

I have already set the tax setting in Magento-2.1 admin. When I create invoice it show all details in admin is like as screenshot: https://i.stack.imgur.com/kyLEm.png Grand Total (Excl.Tax),Grand ...
2
votes
1answer
28 views

How to add some custom text on action area on admin side

From the image given below how can i add a text in that area. I have created the listing page using ui components <argument name="data" xsi:type="array"> <item name="js_config" xsi:...
0
votes
3answers
32 views

How to remove shipping method in checkout page?

How to remove shipping method from the checkout page? But, If I am not select shipping method then I am not able to place the order.
0
votes
1answer
26 views

product url not updating magento 2

I have update product URL-key but still, the old URL is working. New URL is not working. I have run indexer command, cache flush. Also, regenerate product URL from an extension. But still, the old ...
0
votes
0answers
8 views

How to show Price_Inclusive_Tax in /V1/carts/mine/items API in Magento-2.1?

I want to show Price_inclusive_tax in /carts/mine/items API in Magento-2.1 Please suggest me any solution.