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.2.1]

Denotes questions related to Magento CE and EE 2.2.1

1
vote
1answer
34 views

Some CSS not working in frontend

This question has probably been asked a billion times, but I haven't found the exact same issue. I'm working on a M2 (v2.2.1) shop. Recently I accidentally removed the .htaccess file from pub/static. ...
2
votes
0answers
19 views

Language switcher duplicate parameters

I have two store view "en" for english and "ar" for arabic. When i click english store view icon, the url gets changed to "https://my-magento-store.com/?__store=en" and after that when i click ...
1
vote
0answers
18 views

How can I show a product that is out of stock in a configured product

When a product is out of stock (and this is set up), it disappears from the configured product and its drop-down menu. How can I make it continue to be shown there (as an option of the general ...
0
votes
1answer
62 views

Magento 2.2.1 - Disable Add to Cart for Specific Products

I need to figure out a way to disable the "Add to Cart" button on specific products. I found this link, but it creates a full attribute set which I don't want to do. How can you add an attribute and ...
1
vote
0answers
19 views

Magento 2: Catalog rules in custom ui form is empty on editing

I am working on extension in which I have add catalog rules conditions in my UI form. I am storing as serialized condition. It saves perfectly. However, I am getting empty field during edit form.
0
votes
1answer
46 views

Magento 2.2.1 - Remove Free Shipping for a Specific Product

I recently upgraded to Magento 2.2.1 and there are 3 products that I make and sell. I recently set up free shipping for any orders over $500. However, for these 3 products, I need to remove the free ...
1
vote
2answers
21 views

Magento2 on upgrade not generating static assets

I made a copy of a website for upgrade from 2.2.1 to 2.2.6, but I think there is some small issue, which I am not able to figure out. The static contents in the pub static folder are not getting ...
0
votes
1answer
52 views

Magento 2: Trouble shooting setup:di:compile

I am in the process to upgrade in existing 2.2.1 installation to 2.2.6. When I am running setup:di:compile it stops abruptly without throwing any error. Do it log the error somewhere or what is ...
0
votes
1answer
32 views

How we can Override Magento\CustomerCustomAttributes\view\templates\customer\form\edit.phtml in custom module

I want to Override Magento\CustomerCustomAttributes\view\templates\customer\form\edit.phtml file in my custom module. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
34 views

Add “use default value” checkbox field for custom customer attribute property programmatically in admin

I want to add "use default value" checkbox field for custom customer attribute property programmatically in admin like an image which is I am sharing. Please help me to get this, It will be appreciate ...
0
votes
1answer
37 views

Admin Module not Working

I'm trying to create a super simple Admin module that will add a button to the Cache Management page. So far I have created the following files. Gamma/ExtendedAdmin/registration.php: <?php \...
3
votes
1answer
69 views

Magento url rewrite using htaccess

I have a custom cms page like "www.example.com/brand-productlist?brand-id=147" .I need the url like "www.example.com/brand-productlist/147" using htaccess in magento 2.2.1.
1
vote
1answer
36 views

why my admin dashboard looks like this

i already run commands setup:upgrade static-content:deploy indexer di:compile cache:flush why my admin dashboard looks like this ?
3
votes
1answer
172 views

Magento 2.2.1 Error(Item (Magento\SalesRule\Model\Rule) with the same ID “33” already exists)

I got an error in log like main.CRITICAL: Item (Magento\SalesRule\Model\Rule) with the same ID "33" already exists. {"exception":"[object] (Exception(code: 0): Item (Magento\SalesRule\Model\...
0
votes
1answer
23 views

Failed orders are placed using new order status rather than Canceled

I'm in the final stages of setting up my Magento 2 Store and I am trying to add authorize.net as a payment option. I am getting an error: Sorry, but something went wrong. Please contact the seller. ...
0
votes
0answers
77 views

Magento 2 join 2 table of sales for Order Custom Grid

I am trying to merge two sales table. One is sales_order and second one is sales_order_item. following etc/di.xml. <virtualType name="Namespace\Module\Model\ResourceModel\Item\Collection" type="...
0
votes
2answers
280 views

Magento 2.2.1: Admin Access Denied

I stumbled with this problem earlier. I've attached a screenshot below for your reference. If you have any ideas just let me know. If I will run php bin/magento setup:upgrade it will show an error ...
1
vote
1answer
808 views

Google Pay in M2

Is there any extension available in Magento 2 for integrating Google Pay with Brian tree?
0
votes
0answers
16 views

Magento 2.2.1 Alotheme add “view all” subcategory

I would like to add "View all" link for categories that have more than 4 subcategories. How I have to do that?
0
votes
2answers
102 views

Magento 2. How to add new text field in block ''ship to' in check out?

I need to add some text by programmatically in 'ship to' in check out step in magento 2.2.1.
3
votes
1answer
1k views

vat number required in Magento-2 checkout

I enabled the vat field from admin panel and now i want to make it required during checkout shipping step. I have followed the steps described here but it is not working. What is missing from the ...
1
vote
1answer
46 views

Magento2, Admin panel. How to set ''require' for weight field to each sub-product of configuration product?

Magento CE 2.2.1: I need to force user to input the value for weight of each sub-product in configuration product while add new product.
1
vote
2answers
84 views

magento 2.2.1, why this check out step skip add ''Address' if we add ''configuration product' in to cart?

Using magento 2.2.1. I cannot add address if i add configuration product into cart. Does it the role of magento ? Can i enable the 'shipping step'? 1 'My configuration product' 'Checkout step'
2
votes
1answer
587 views

how to enable bluefoot cms pagebuilder for category and product section in magento 2

Magento default provide bluefoot cms enable option for CMS block & CMS page. Need to enable bluefootcms editor in category and product level.
0
votes
0answers
133 views

Magento 2 : Wrong Download Items and Download Link in Invoice Email

I am developing a website which only selling downloadable products. Guest checkout is enabled with this when customer place an order they receive correct information in email. But when they receive ...
0
votes
1answer
42 views

Difference in approach for Mass Order Hold and Unhold

I was working on something in Magento admin on order Management. I have observed that MassAction Unhold is using the collection to release order from hold, whereas MassAction Hold is using Interface ...
0
votes
0answers
264 views

Magento 2.2.1 : Product disappeared every time after edit

Each time when I modify a product (image or quantity) it disappears from the site. Then it comes back after the site is re-indexed. Any ideas how can I stop this from happening? I have also tried ...
0
votes
1answer
525 views

Detail page - Display configurable product's thumbnail images even when an option is selected!

So let's say I have a configurable product having an option of colour with 2 values: Black, White. I want to make the thumbnail images of the parent product stay, even when I select any colour. Here ...
0
votes
2answers
172 views

How to Customize Order Details Page for Customers

I'm trying to customize the order detail page that the customer see in his/her account. What I did is that I copied: vendor/magento/module-sales/view/frontend/templates/order/view.phtml Into: app/...
0
votes
2answers
3k views

How to display product discount percent on product details page in Magento 2.2.1

Am I wondering how to add percentage discount value on the product details page? I have found a similar topic, but apparently, it does not work with 2.2.1 How to display product discount percent on ...
0
votes
1answer
318 views

How to add best sellers block in home page in magento 2.0?

How to add best sellers block in home page using magento 2.0???Anyone Know it Please help me..
0
votes
2answers
444 views

Getting Error after run deploy command

1 exception(s): Exception #0 (Exception): Warning: include(/home/milkezuq/public_html/magetest/generated/metadata/frontend.php): failed to open stream: No such file or directory in /home/milkezuq/...
1
vote
1answer
2k views

Layered Navigation: Make some of the block collapsed by default

How to make some block (filters) of my choice collapsed by default? I have one attribute with a lot of values and it looks ugly. Or, if this is not possible - maybe it's possible to make all of them ...
1
vote
1answer
836 views

Add custom block in Magento 2 admin dashboard

Is there any way to add a custom block in magento 2 admin dashboard? I have a requirement to add custom table in dashboard. Can anyone help me? My current magento version 2.2.1
1
vote
1answer
26 views

Magento 2.2.1 - Custom Theme cannot be applied to second site

I've got a weird issue on my hands right now. I have created a custom theme, and I'm trying to apply it to one of my sites on Magento. There was not problem applying it to the first site(default), but ...
1
vote
0answers
154 views

Show simple products SKU on product page when the attributes of a configurable product is selected

I'm fairly new to Magento and am currently running Magento 2.2.1. I am looking for a way to have the configurable sku change to the corresponding simple product sku when the configurable products ...
3
votes
2answers
1k views

Php max_input_vars prevents attribute options saving in M2

Magento 2.2.1. PHP 7.0.26 Nginx After 2 days struggling around with attribute options in M2, I found out where the problem was. I have several custom dropdown attributes with hundreds of options. I ...
0
votes
1answer
303 views

How to remove the main content area from home page?

How do I remove this section from homepage? <main id="maincontent" class="page-main"></main> All of my home page content is done in blocks and I'm now stuck with this large empty ...
0
votes
0answers
1k views

Stuck on “Update Pending” when trying to install an extension, or update Magento version, M2 2.2.1

I'm using Magento 2.2.1, and I've been trying to install an extension, and I've tried to do that from Web Setup Wizard, but when I select my extension to install, and do the check before installing it,...
1
vote
1answer
2k views

Product saving problem in admin control panel

I have already uploaded the product details in to magento, but whenever i try to make any small change (example: quantity) it does not work and it gives me this error: Unable to save Stock Item I ...
0
votes
1answer
233 views

Unable to create customer custom attribute

I need to add a custom attribute to customers. For products I did it with REST API, but it seems it is not possible to do the same for customers. So, as suggested everywhere, I created a small ...
0
votes
1answer
46 views

Magento2.2.1 crashes half way through 7000 products import, with 500 Internal server error on form key request

With a brand new installation of Magento 2.2.1 on PHP 7.1, all settings correct (I believe), I use System/Import to put in 7000 products. And the page hangs with spinning loader. On re-importing I ...
0
votes
2answers
355 views

How to override adminhtml block file in Magento 2

How to override module-customer/block/AdminHtml/Group/Edit/Form.php I have created custom module for that please find my code for that. etc/di.xml <?xml version="1.0"?> <config xmlns:xsi=...
1
vote
1answer
798 views

Adding a new block to a Product detail page above Add to Cart block

So I'm trying to add a block to the product page. The block will simply output an attribute if it exists for that particular product. In this case it is outputting the bottle size. Now I've got the ...
0
votes
1answer
41 views

Duplicated theme not displaying correctly?

I'm trying to duplicate a Magento theme from one Magento install to a fresh install on another server however the theme appears to load the default luma theme. I have removed /pub/static/frontend/ ...
0
votes
2answers
2k views

Setup Google AdWords Conversion Tracking in Google Tag Manager for Magento 2

I am new to Magento (Community Edition) and need to setup the AdWords Conversion Tracking in Google Tag Manager. Is there an manual for it? The Google Tag Manager is installed already with MagePal ...
1
vote
0answers
18 views

Magento 2.2.1 - Admin Product Export Problem

When i try to export product to CSV. My Admin panel get's wierd. Please take a look at the screenshot. The Admin Panel is getting shifted to the Admin Workarea and export never works. Any help here. ...
0
votes
1answer
33 views

Need Magento 2 - My Account Menu Help [duplicate]

images/logo.png navigation-sections ...
1
vote
0answers
243 views

Magento 2 Configurable Product - Select Default Swatch

So we have text swatches for an attribute that is set up on a series of configurable products. The attribute has a default selected but evidently selecting a default does nothing at all? I don't get ...
0
votes
1answer
218 views

Magento 2.2.1 cannot import custom options in different store view / language from another product does not work

In product ID 192, the product has a color option, and I have translated it for 3 different store view / languages In FR In product ID 191 i will the same custom options like in product 192. I click ...