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
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

0
votes
1answer
19 views

My category navigation layered navigation is showing no products

I am newbie in Magento 2, I configured the Magento 2 layered Navigation and did everything to set layered navigation for categories and size and color. Layered Navigation is working perfect for ...
2
votes
0answers
109 views

Magento2.1 Configurable attributes in cart

I want to add configurable products attributes to cart page too. Example: T-Shirt color:red size:m already added to cart by price 100$, Now I want to change attributes on cart and use color:green ...
0
votes
0answers
17 views

Hi I want to refund partially through invoices - Programmatically Magento 2

I want to refund the amount using invoices which are having multiple invoices. for example Invoice 1 - 480.00 (captured) Invoice 2 - 240.00 (captured) Now Product 1 - 120.00 x 4 (ordered qty = 4) Now ...
0
votes
0answers
19 views

Layered Navigation: Select all checkbox

I am using magento 2.1 In layered navigation, I want to display select all same as below screenshot.
0
votes
1answer
17 views

Payment method buttons sometimes work sometimes no

I need a little help, sometimes the buttons of the method payment doesn't work, I can't find what is going on, in the most of the cases they work.
1
vote
0answers
26 views

Unable to override account creation email template

I need to modify the welcome email sent to user upon new account creation. I need to do this in my custom module. I tried to override the function sendNewAccountEmail in Magento\Customer\Model\...
0
votes
1answer
18 views

add a section/tab on the right section of all categories in front end magento2

Hi there I want to add my custom section/tab on the right section of all the categories for getting a clear idea I am attaching this image This is the men section I want to add the same custom tab ...
1
vote
1answer
20 views

change layout in magento 2 before page load

I am trying to change a page layout before the loading of a page in magento 2. I want this layout to be loaded on the base of configuration. If you have any example available feel free to drop it in ...
0
votes
3answers
43 views

how to get shipping method using order id in magento 2

I am trying to get the shipping method using Object Manager $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('Magento\Sales\Api\Data\...
0
votes
1answer
18 views

Redirect from around plugin in Magento 2

How to redirect from around plugin to another page with an error ?
0
votes
0answers
26 views

Move element is not working as expected in magento 2.1

In category_catelog_view.xml I need to move a custom layered navigation above the product grid. I tried all of the listed below <move element="custom.left.layered_nav" destination="content" before=...
1
vote
1answer
39 views

Wishlist button color on Magento 2.1

How to set active class to magento2.1 wish-list button on product page? I mean that, when i go to product page, if i marked that product to my wish-list before, just shows already added to wish-list ...
0
votes
0answers
30 views

Invalid Form Key Error

I'm getting this error on my magento website when I try to create new user account.Can anyone kindly assist? https://i.stack.imgur.com/caIKp.png
0
votes
1answer
39 views

Can not Place Order, Is it Migrate JS Error at Magento 2.2.7 Error?

I have installed Magento ver. 2.2.7 for A MarketPlace Site also Purchased MarketPlace Extension and Installed it Successfully. Before Order Place was working, But Now click on Order Place Button, The ...
0
votes
0answers
15 views

Magento 2.1 Getting web API error while placing the order

Internal Error. Details are available in Magento log file. Report ID: webapi-5c29c5a5d3bf9 I have been getting above error while placing the order. But I can't access var/report/api, there isn't any ...
0
votes
1answer
32 views

Geting Error In Checkout Page Magento

AnyOne Tells me How to fix this issue This error showing in Only Checkout page. 1 exception(s): Exception #0 (InvalidArgumentException): Boolean value is expected, supported values: array ( 0 =>...
0
votes
0answers
14 views

Magento 2 : filter customer collection containing chinese firstname

I want to filter customer collection based on firstname containing chinese characters. In MySQL I can do it using the following: SELECT `e`.* FROM `customer_entity` AS `e` WHERE (HEX(`e`.`firstname`) ...
0
votes
0answers
35 views

How to Customize Checkout Page In Magento 2.2.6 Using checkout_index_index.xml

Any Magento Expert Developer Can Help Me In Modify Magento Checkout Page. I Want To Change Checkout Form Default To Like That Showing In Picture. Here's The Code Of checkout_index_index.xml ...
0
votes
0answers
18 views

Uncaught Error: Unable to process binding

In my Magento 2.1 website, I didn't change anything but suddenly getting this error in my console. Because of JS mini cart and checkout process is not working knockout.js:3012 Uncaught Error: Unable ...
0
votes
0answers
24 views

Magento 2 weird error

When I click this setting icon I get this following error. 1 exception(s): Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested product doesn't exist Exception #0 (Magento\...
1
vote
1answer
41 views

Set an active class for magento2.1 wishlist

I can add product to my Wish-list on product page Magnnto2.1, but after refresh the product page,I want to see this product already added to wish-list by changing color of wish-list icon (set active ...
0
votes
2answers
30 views

Magento 2 add wishlist in add to cart block

Hi I used reference container on catalog_product_view.xml but it shows just on configurable products. I add another one without additional and just shows on simple products. Also used move command but ...
0
votes
3answers
41 views

Add Css in Custom layout xml

I created a custom layout to display only parent categories not subcategories. But I need custom css for that layout. I create custom_layout in Magento_Theme/page_layout folder and defined in layouts....
1
vote
1answer
24 views

How to select multiple tax-rate In Magento 2

I'm using Magento2 community and created one tax rule. Problem is i have around 4000 tax rate and if i manually selecting tax rates then it takes too much time. So anyone have simple/short ...
0
votes
0answers
37 views

how to display image in megamenu(static content) magento 2

I am trying to display image on megamenu dropdown, so I am adding an image on static contents option which provides an option to insert image too, MGS -> Manage MegaMenu Items and under various ...
1
vote
0answers
35 views

How to Create Custom Variables inside WYSIWYG editor in Magento 2?

I have created a Custom field under Stores->Configuration->General. I need to use that field as Custom variable inside WYSIWYG editor when Insert Variable option is clicked. I don't Know how to ...
0
votes
0answers
28 views

Customer Custom Attribute gets deleted upon update in Magento 2

We are facing an issue while updating customer information from Customer My account section on frontend that is Customer Custom attributes gets deleted upon update or save customer information. For ...
0
votes
0answers
33 views

Php script for import configurable products from csv

I need to import a lot of products. So i want to use a script. So if you have any script to do that can you share the whole php file?
1
vote
1answer
20 views

How to manage stock in multi store website in Magento 2?

I am using Magento 2.1.4 I have created 11 website each with 2 or 3 store view in Magento under same admin. Now I want to enable "Manage Stock" options only for two websites. but it seems that this ...
0
votes
0answers
22 views

Magento 2 loginPost error

When I login in Magento 2 I get this following error. Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Customer\Controller\Account\LoginPost::__construct() must be an instance of ...
1
vote
4answers
69 views

Admin Url CSS and JS not working

I tried every possible solution on this forum and nothing works: php bin/magento setup:upgrade php bin/magento cache:clean php bin/magento setup:static-content:deploy core_config_data dev/static/...
0
votes
0answers
13 views

Magento review and ratting issue

I'm trying to use Magento 2 review and rating. I used the object manager. My code is : <?php $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $...
0
votes
0answers
13 views

Not Loading list of products when creating grouped or bundle products

I am not able to add selected products on product group of Bundle Product or Grouped products. below is the error which in console /pub/static/adminhtml/Magento/backend/en_US/openVideoModal.min.js:1 ...
1
vote
0answers
15 views

Magento is looking for front end files in the install directory instead of pub/static/

I am at a loss on how to fix this. This is after an upgrade to 2.1.16, setup:upgrade , setup:di:compile, and static-content-deploy. I've also done cache clears and flushes.
1
vote
0answers
43 views

update shipping address for shipping method change

I have create custom shipping method ("Store pickup"). When user fill address details at checkout page at that time shipping method showing. Now if user select "Store pickup", i want to set store ...
1
vote
0answers
13 views

How to add Backorder in Customer account dashboard in magento 2.1?

I want to display backorder if any sku have backorder list. See below screenshot: For ITP7 SKU : ordered :1 shipped : 1 backordered : 0 For ITP1 SKU : ordered :1 shipped : 0 backordered : 1
1
vote
1answer
31 views

Accessing Admin data from Magento 2.1 Rest API

I have integrated laravel 5.5 with magento 2.1 i-e: My magento installation works on http://magento.me and my laravel part works on http://magento.me/laravel-panel When so ever my customer is logged ...
0
votes
0answers
19 views

Remove label from custom field

I have magento 2.1.1 and I want to remove custom field label which is added by 3th party module. In that module appropriate xml file is placed by path Namespace_ModuleName/view/frontend/layout/...
0
votes
0answers
59 views

ERROR Magento\Framework\Exception\LocalizedException: Field title can't be empty in Model/Theme.php:337

I have this problem installing Magento2, is stopped at 51%. I checked: Permissions => chmod 777 Composer Installation DB Also I tried with those Solutions: magento setup upgrade error: field can&#...
0
votes
0answers
24 views

How to add product label in checkout Magento 2.2?

We need to add item label in checkout and it should be under product name for few items which we need to validate there itself. Any help would be appreciated. Thanks
0
votes
0answers
14 views

Magento 2: Custom input field values not saved in product form

I have to add a more complex input to the product form. For this, I have added the following UI configuration <fieldset name="fieldset_name"> <argument name="data" xsi:type="array"> ...
0
votes
0answers
16 views

Magento 2 : connect remote database over ssh tunnel

I have a database setup on remote server that is accessible via SSH. I need to connect magento 2 on my localhost to this mysql database via ssh tunnel. is this possible? if yes how?
0
votes
1answer
12 views

Magento 2 Gallery Images HTML

I am trying to find where in the template files I can add microdata to my products gallery images, but struggling to find the template/file that actually outputs the HTML img tags. I am actually ...
1
vote
1answer
17 views

With which I can change the method load() if it is deprecated?

public function getShipAddress($customerId){ $customer = $this->_customerFactory->create()->load($customerId); //insert customer id //shipping $shippingAddressId = $customer-&...
0
votes
1answer
17 views

Magento 2: get all values of an EAV

I have defined a custom attribute for my products, and now would like to get a list of all values I have entered for this attribute, not for a specific product, but in general. It is a text field, it ...
0
votes
0answers
17 views

My custom module working fine in Magento 2 all version (2.1 to 2.3) expected 2.0 anyone has any idea?

PHP version 5.6 Error: "There has been an error processing your request"; I have checked the error log but it not show me any error. I have also cleared cache using below command: php bin/magento ...
0
votes
0answers
20 views

How to Add quantity box in Magento 2.1 product page

I want Add To Cart with one sku with multiple size and Quantity. if I select Size M then I can add qty 1 or more
0
votes
0answers
28 views

Magento 2.1.16 theme fallback not working on NGINX server

Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to ...
0
votes
0answers
14 views

Magento 2 API authorisation error

I am trying to get API for product attributes. http://mysite/elec/rest/V1/products/attributes?&searchCriteria[filterGroups][0][filters][0][field]=attribute_code&searchCriteria[filterGroups][...
0
votes
0answers
19 views

Access Magento Admin on Subdomain

I have a running store on Magento 2 which has multiple websites that I can access in the front end without any problems, for example: https://siteone.mymagestore.com https://sitetwo.mymagestore.com ...