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 [magento2.2.2]

It should be used for questions about Magento 2.2.2

3
votes
1answer
1k views

Magento 2.2.2 Advanced Reporting Not working

I went through this process https://docs.magento.com/m2/ce/user_guide/reports/advanced-reporting.html but yet I still get 404. Anyone have any idea what else could be? Thank you.
0
votes
1answer
11 views

magento 2 Get Top Search Terms

Is there a way to get the 5 tops search terms like in the Dashboard as array without having to query database->table directly sorting them popularity limit 5?
2
votes
1answer
68 views

Magento 2 - Add a new field in checkout address form js error

Magento version: 2.2.2 I need to add a custom field in address form on checkout page. So i did what is described on magento documentation: http://devdocs.magento.com/guides/v2.2/howdoi/checkout/...
0
votes
1answer
21 views

301 Redirect the Out of Stock Product Pages

Want to redirect for the products who are out of stock to custom url Had tried below url but it did not helped https://stackoverflow.com/questions/4824072/magento-out-of-stock-product-seo-problem
0
votes
1answer
2k views

How to get the child product ids from a product id in magento 2

How to get the child products id from a product id in magento 2. I am saving the products with its custom attributes. And it saved successfully. But I wish to check what type of product i have using ...
0
votes
2answers
1k views

Magento 2 JS Translation Not Working

Is this a magento bug or is something I am doing it working I had created my translation file in my module i18n. For testing purpose I just modified few text. app/code/Vendor/Namespace/i18n/en_US....
1
vote
1answer
153 views

Magento 2.2.5 How to display item prices out of stock

Even if Magento 2.2.5 Configrable Product is out of stock, I want to display the item price. How can I see the price?
1
vote
1answer
49 views

why my routes.xml is not working in admin or on front end view both

I donot understand why my routes.xml is not working , see this and tell me if you get something wrong in it . thats the code snippet . <?xml version="1.0" ?> <config xmlns:xsi="http://...
2
votes
1answer
206 views

Not able to translate OK and cancel buttons in confirmation popup minicart

After adding an item into cart if we goto mini cart and click on remove item a confirmation popup with Ok and Cancel option will appear. I am not able to translate the Ok and Cancel buttons. Please ...
0
votes
1answer
938 views

Magento 2.2.2: problem with php bin/magento setup:di:compile

when I try to compile after setup:upgrade It displays for me blank page with error in log file: main.INFO: Broken reference: the 'logger' element cannot be added as child to 'after.body.start', ...
2
votes
2answers
55 views

I cannot change from Products only to Static block and products in Display Settings of an existing category

Working with Magento ver. 2.2.2 I wish to change the design of category pages. Now certain categories are displaying only products, But I want to display a static block and products. I create the ...
0
votes
1answer
1k views

Magento 2 knockout Select options not returning the value

I have Created custom component with select drop down when I select an option and alert the select option it spits out : function observable() { if (arguments.length > 0) { ...
2
votes
1answer
28 views

Magento 2 extend $.mage.quickSearch Widget

I don't seem to be able to extend quick search module widget form-mini.js found in module/path: ../vendor/magento/module-search/view/frontend/web/form-mini.js How can I extend in my custom module $....
0
votes
0answers
41 views

Magento 2.2 - Uncaught TypeError: this.modal.zIndex is not a function

Am using Venus need theme, on mini cart's delete click and Checkout's Already have an account? Click here to login throws this issue. Uncaught TypeError: this.modal.zIndex is not a function modal....
0
votes
1answer
2k views

How to export all the attribute and its options in magento 2

I wish to export all the attribute and its options in magento 2 via script. Please provide me a solution, How to export attributes and its options
0
votes
1answer
1k views

How can i add custom category description block?

i want to add another category description section after the product listing on category view page. Is it possible without coding in Magento 2.2? If not how can i put it?
0
votes
2answers
1k views

Magento 2 Blank Screen Product Detail page

I added one product from Magento admin panel (Magento 2.2.2) Cleared cache and indexing, Product appears in search and listing page and you can even add to cart from Listing page. But when you click ...
5
votes
4answers
9k views

Magento 2.2.2 .htaccess Internal Server Error

I have uploaded 2.2.2 file on my server and wanted to install it but it gives Internal Server Error. I have checked the cPanel error.log and found following error log [Thu Dec 28 22:35:40.272102 ...
0
votes
0answers
3 views

Magento 2 Create Url Rewrite from configuration system.xml

How to create url rewrite from system.xml configuration for particular store view when saved. Best!
0
votes
0answers
12 views

Magento 2 ui form component switcherConfig value expression

Doe anyone know at all if possible to have expression to evaluate a value in rules E.G : <switcherConfig> <rules> <rule name="0"> <value>EXPRESSION HERE</...
1
vote
0answers
9 views

Different Product Pages Displayed when I Change URL Key From admin panel

I am using Magento 2.2.2 and facing an issue and trying to resolve it,While creating a new product or editing already added product when i change URL key of the Product from SEO block i get two ...
0
votes
1answer
1k views

Magento 2 : Payment Method is Hidden in Admin When Creating Manual Order

Recently I upgraded to Magento 2.2.2 and tried to create a test order on my site via admin. All goes fine until selecting the payment method. I've enabled Purchase Order as a payment method, and ...
1
vote
2answers
27 views

Add Expire Headers Magento 2

there is a way to add Expire Headers for external static components? Magento 2.2.2 CE
0
votes
1answer
74 views

Magento 2.2.2 - Warning: SessionHandler::read() No space left on device

My application is showing error: Magento 2.2.2 - Warning: SessionHandler::read() No space left on device (28) in /var/www/html/vendor/magento/framework/Session/SaveHandler/Native.php on line 22 I ...
1
vote
1answer
40 views

Uncaught Error: Call to a member function dispatch() on null View\Element\AbstractBlock.php on line 652

help needed i am creating a factory in block and get data from model it give result in block but when i return this factory and use this block function in phtml file it give error " Fatal error: ...
2
votes
2answers
320 views

Magento 2 - Track order button not work

I have Magento 2.2 and the Track Order button is not working, when I open any order and I press Track Order button I have this error: Shipment #000000013 Fatal error: Uncaught Error: Call to ...
1
vote
0answers
15 views

cms pages and block is not loading in backend

CMS pages and blocks won't load in the backend. It keeps loading and loading without not showing any pages or blocks. I reindex, compile, clear cache... But nothing changed. Any help would be much ...
1
vote
1answer
595 views

Magento 2 get catalog rule product details in final_price.phtml

I will try keep simple and short. e.g I have set a rule in catalogrule table and I am interested in 2 fields value: simple_action: by_percent discount_amount: 40.0000 and in catalogrule_product ...
2
votes
1answer
32 views

Checkout via authorize.net AcceptJS it will include https://js.authorize.net/v1/Accept.min.js

When checkout via authorize.net AcceptJS it will include https://js.authorize.net/v1/Accept.min.js, which return 404. While it should include https://js.authorize.net/v1/Accept.js
0
votes
0answers
22 views

How update shipping method based on coupon code?

I have created just one coupon code once user apply that at that time i want to apply free shipping method . normally UPS and USPS method are avialable but once user apply coupon code at that time i ...
0
votes
0answers
25 views

cart no, city and buttons are showing incorrect in Magento 2.2.7

Some how the city is not displaying during the cart summary. Also, another address is not clickable anymore, it is just an empty box. I have checked with the repo, and it seems that all files are ...
3
votes
1answer
6k views

Varnish - Error 503 Backend fetch failed

I getting this error how can i do? i try to editing many time but still not work. Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 35 Varnish cache server My ...
1
vote
1answer
658 views

Magento 2.2.2 Store and Admin not loading

OS Windows Server 2008 Magento 2.2.2 XAMPP 3.2.2 PHP 7.1.13 I was working on a local install of Magento 2.2.2 (I installed it when it was 2.2 and then when the 2.2.2 version came it auto-updated ...
0
votes
3answers
1k views

How to solve the error : “Could not save product ”20072“ with position 0 to category 7” in magento 2 [duplicate]

While unasign the product from multiple categories to single category and trying to save the product, it thorow the error like below Could not save product "20072" with position 0 to category 7 I ...
4
votes
3answers
2k views

How to get additionnal options product from quote item

I have some Vitrual product with options, I need to get his options but I can just get the info_buyRequest instead of additional_options Here is my code: $objectManager = \Magento\Framework\App\...
0
votes
1answer
27 views

How to add iframe tag in CMS page in Magento 2.2

How to add iframe tag in CMS page in Magento 2.2 <iframe src="https://google.com" frameborder="0" width="500" height="900"></iframe>
2
votes
2answers
792 views

Magento 2.2.2, Unable to unserialize value, magento_umask and edting Json.php did not help

After upgrade I'm getting below error in my local : Exception #0 (InvalidArgumentException): Unable to unserialize value. #0 myPath/vendor/magento/module-theme/Controller/Result/MessagePlugin.php(...
0
votes
1answer
53 views

how to active/deactive a module for each store by admin in magento 2.2

I want to give ability to admin to active or deactive a module for each store. at previous magento version this option was exist under store -> configuration -> advanced -> advanced menue and we ...
0
votes
0answers
21 views

Magento 2 : Error when importing customers

When trying to import Customers from the backend, Data validation is OK but when I click on import button, the page gets stuck on please wait for loader and I get the error : See the logs below ...
0
votes
2answers
102 views

Magento-2 order is not created after Successful Payment - PayPal

In my Magento website, Customer has placed an Order, PayPal received the amount with the Magento Order ID. But still, Customer didn't get to reach the Success page. Also that Order not listing at the ...
0
votes
0answers
22 views

How to get custom tab input value in the product edit page in Magento 2?

I have created custom tab input type but I don't have an idea how to get their value and save value with product. <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
26 views

Magento 2 how to create Single Time Picker

I know magento provides functionality like Single Time Picker: How to do it? I found how to create date picker and date-time picker. But for my task, i should to create single time picker...
5
votes
2answers
396 views

What is the right way to get both, the admin translation and the frontend value of a multiselect attribute?

I am using the following code to fetch the admin option value as well as the frontend label from an ID list of vales of a multiselect. $attribute = $this->eavConfig->getAttribute('...
1
vote
0answers
21 views

How to get the order details of a customer using the access token of other customer?

In my project there the two types of users: manager and captain. The manager should be able to view the orders placed by captain so i need to use the access token of manager to get the order list of ...
0
votes
1answer
140 views

Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration

I am getting this error when attempting to install Magento locally: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration. When running "...
4
votes
1answer
3k views

Magento Business Intelligence service. Retry Synchronization

I am using Magento 2.2.2. In the past, I used to get the message below in every time I log in as an admin: Failed to synchronize data to the Magento Business Intelligence service. Retry ...
0
votes
0answers
23 views

Magento 2.2.2- ACL Permissions not Working for Customer module

I have created a new admin user and set a new user role which have access to only customer section. When we logged in with that particular user , we are able to see the customer list but when clicked ...
0
votes
2answers
284 views

Magento 2.2 some JS files are not loading in production mode

In Magento 2.2.2 when setting website into production mode the following files are not loading, due to which my store switcher and other ui functions are not working in production mode: http://...
0
votes
1answer
30 views

Magento 2 Store View multiselect in system.xml

I am not able to add store view selection in system.xml I am only able to add in the ui form field component: When I tried to add in system.xml it gives the error: 1 exception(s): Exception #0 (...
0
votes
1answer
1k views

Magento 2 - How to add,save,display custom Field in Product Edit form using UiComponent?

Hi I want to add a custom field in Product add/Edit form using UiComponent and want to save its value and displayed back to form as well I have read a couple of threads for this - but not getting the ...