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

0
votes
0answers
5 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</...
0
votes
0answers
5 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 ...
2
votes
1answer
933 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
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
19 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
42 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
24 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
287 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
569 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 ...
0
votes
1answer
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 ...
2
votes
1answer
23 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
19 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
24 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
5k 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
587 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 ...
5
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
26 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
713 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
50 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
16 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
71 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
21 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
22 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...
2
votes
0answers
13 views

Enable Varnish with some non cacheble blocks?

I have configured and enabled Varnish in my webiste but it's not working. I'm getting x-magento-cache-debug: MISS in headers. My hosting company told me that configuration is correct and Varnish is ...
6
votes
2answers
384 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
20 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
111 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
21 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
250 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
29 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
935 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 ...
1
vote
0answers
21 views

How to show the different contents to the customer and admin in the new order email?

Please help. I need to do this for only one website as I have multiwebsite functionality in my project.
1
vote
1answer
15 views

Magento 2 ui form multiselect field not checked not in $_POST

I have multiselectin my form displaying all store view available one is selected when I save only one show in the post array: <field name="store"> <argument name="data" xsi:type="array"&...
0
votes
2answers
37 views

Magento 2 How to get the configurable products related all child products in list page using object manager?

Magento 2 in how to get the configurable products related all child (simple products QTY) in list page using object manager? Please give me a solution this questions?
2
votes
1answer
224 views

Is there any API for creating and editing catalog price rules in Magento 2.2.x

I needed to perform this task for a customer where I have to create, edit and delete catalog price rules in his magento site based on some backend functionality in another system he runs internally in ...
0
votes
1answer
22 views

Magento 2 actions column in backend grid registry.js error on click any collumn

When I click anywhere on the Grid I get the following: Actions xml: ... <actionsColumn name="actions" class="Vendor\Module\Ui\Component\Listing\Grid\Column\BlogAction"> <argument ...
0
votes
5answers
133 views

Magento 2.2.2 Prodcut quanity, color and sku not displaying under custom tab

I have created a custom tab on product page and tried to display product attributes under this tab, i am only able to display price only. I have tried like this <?php $product = $block->...
1
vote
0answers
37 views

How to override definition.xml file in Magento 2?

I am developing an extension to add another export format option in order toolbar in export button dropdown. What I found yet is that there are two options here (Sales Order Toolbar) right now: a) ...
1
vote
1answer
41 views

Magento 2 Cron job can't get finalPrice for configurable product

I have the following in my cron folder and also I have the following the Controller folder which is exact same code and it get the price when I load in the url but it refuse to get price in cron ...
0
votes
0answers
24 views

How to get the custom quote field in quote Api?

I have added a custom attribute in my quote table and sales_order table. How can I get this custom attribute in my quote Api so that I get the custom attribute with quote_id in response. After ...
0
votes
1answer
30 views

After successfully installing Magento 2.2.2 I can't connect to admin

I installed successfully Magento, but I can't connect to admin. I am suspecting that this is because I chose HTTPS for both store and admin page while installing. I can connect to the store if I use ...
0
votes
1answer
927 views

Magento 2.2.2 - Adding Product to Wishlist doesn't work when user is not logged in

Using Custom Theme, when user is not logged in and try to add a product to wishlist, it is served up the login or create an account screen. Once the user logs in, the item user was trying to add to ...
0
votes
0answers
20 views

Magento 2.2.2 GetCacheKeyInfo() Error getId() on Null

Fatal error: Uncaught Error: Call to a member function getId() on null in .../htdocs/vendor/magento/module-backend/Block/Menu.php:233 Stack trace: #0 .../htdocs/generated/code/Magento/Backend/Block/...
1
vote
3answers
605 views

Static files - 500 error

I installed fresh Magento but there are no styles or js. Files are in pub folder , but if open in browser I'm getting Internal Server Error. Please help. This is localhost, wamp. Thank you! (I tried ...
2
votes
0answers
47 views

How to allow special characters like '," in catalog search?

How to allow special characters like '," in catalog search ? If I search with abc'th it results all products.
0
votes
2answers
128 views

Magento 2: How to get Current category product collection?

I want to get product collection for current category while I am on a list page. I want to get current product collection for current category while ajax call (i want the same collection in the ...
0
votes
1answer
126 views

Scaling Magento 2 on multiple containers in production with generated code

I'm working on some auto-scaling Kubernetes infrastructure to run Magento 2, and I noticed that when I start new containers, I can't have the generated/ directory automatically compiled as part of the ...