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

Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

1
vote
0answers
33 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
54 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
16 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?
1
vote
0answers
29 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
12 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
1answer
26 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
36 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
21 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
20 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
26 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
29 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
194 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
295 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
15 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
34 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
38 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
45 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
56 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
12 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
28 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 ...
1
vote
0answers
65 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
93 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
46 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
13 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
149 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
33 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
103 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
44 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
63 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
18 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
108 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
38 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
77 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
42 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
60 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
162 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
66 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
20 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
31 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
63 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
130 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
17 views

How to show Price_Inclusive_Tax in /V1/carts/mine/ and /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.
2
votes
0answers
103 views

How to create dynamic rows field in custom Ui component form

I want to create field in custom ui form to add dynamic row and delete that row.. I know how to add dynamic row field in STORE > Configuration but I don't know how to add in UI component form. Then ...
0
votes
1answer
68 views

Magento2 how to use foreach in email templates to send multiple items and customers information?

I want to send custom email.In that i have to display multiple customers and customers cart items.For that I have created a custom module.In that I have written model to get all the needed data.How ...
0
votes
0answers
33 views

Can I apply searchCriteria on /V1/products/attribute-sets/:attribute-sets-id/attributes in Magento-2.1?

How Can I apply searchCriteria on : /V1/products/attribute-sets/:attribute-sets-id/attributes in Magento-2.1? When I run this API V1/products/attribute-sets/11/attributes?searchCriteria[...
1
vote
0answers
106 views

How to remove shipping method in checkout page Magento 2

I want to remove shipping method from checkout page. Can you guide me how can I do?
1
vote
1answer
59 views

Magento 2 | Override Freeshipping.php

I want to override this file: /magento/vendor/magento/module-offline-shipping/Model/Carrier/Freeshipping.php I created a module, this is the di.xml file: <?xml version="1.0"?> <config ...
2
votes
0answers
22 views

Can I store Payment Reference Number of an order,which are generated by CCAVENUE in Magento-2.1?

I want to add Payment reference number for particular order. I will use Magento-2.1 and frontend is in Angular. Suppose CCAVENUE sending payment link to customer for placed order. CCAVENUE generate ...
1
vote
1answer
142 views

Magento 2 - rounding issues with voucher discount applied

I am using PayPal Plus in my Magento 2.1.9 shop, which rejected payments of some orders of my clients due to rounding issues - OMG. eCommerce software with rounding issues - how great is that? Anyway....