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

2
votes
0answers
11 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 ...
1
vote
0answers
18 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
22 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 ...
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
1answer
27 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 (...
1
vote
0answers
17 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
14 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
1answer
18 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 ...
1
vote
0answers
35 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) ...
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 ...
1
vote
1answer
36 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
19 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/...
0
votes
2answers
82 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 ...
1
vote
0answers
7 views

Magento 2 add body class into as per current page using toolbar.php plugin for category and search results page

I have created plugin for toolbar.php \Magento\Catalog\Block\Product\ProductList\Toolbar protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Category Page')); ...
0
votes
0answers
25 views

Where is the original price set in sales order item table?

In quote_item table we don't have a column original_price. So when and how sales_order_item table get the original_price value. Post order we are seeing original_price as 0 in admin sales order view ...
1
vote
0answers
13 views

Magento2 error while extension installation in create backup step

In my magento2 store I want to install the extension. I have tried this via composer as well as admin extension manager. Every time the process failed in Backup stage after generating the 4Gb of data ...
1
vote
1answer
24 views

Magento 2 V1/Shipment API getParentItem on null

I am using postman the rest api to create shipping: http://myMagento/rest/default/V1/shipment POST: { "entity": { "order_id": 5873, "shipment_status": 1, "store_id": 1, "total_qty"...
1
vote
0answers
35 views

Before Clearing cart I want to show Popup for confirmation

I have added popup it show but not clearing item from cart just reloaded on same page. Please someone look in this. Below is the my script. <script type="text/javascript"> require([ '...
0
votes
1answer
26 views

How to add custom validation for admin form in Magento 2?

I want to add custom validation in the text box in Magento 2. How I can do it?
0
votes
1answer
41 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 ...
1
vote
0answers
23 views

Issue in pragmatically create orders in magento 2

I want to create orders pragmatically by getting the data from xml. Reading data from xml part is done. when creating order steps i am getting this error. Parse error: syntax error, unexpected '$...
2
votes
0answers
38 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
34 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?
1
vote
1answer
31 views

Why are product_id and item_id part of the request to update stock through the API?

I'm developing an application to integrate with the Magento inventory API, and I'm confused about the fields product_id and item_id. I'm PUT-ing to the API /V1/products/{productSku}/stockItems/{...
2
votes
2answers
106 views

Magento 2 Add multiple checkbox in admin ui form Group component

How do I add dinamically add multiple checkbox bellow the a field This is how you add one checkbox bellow a field <fieldset name="field_set_name" sortOrder="100"> <settings> ...
0
votes
0answers
37 views

Add a custom attribute to company in magento 2.2.2 for B2B

I am using B2B extensions and I want to add custom attributes to company entity, As a text field and create 6-digit number randomly for that i'm using $customcompanyattribute = mt_rand(100000, ...
0
votes
1answer
39 views

Apply product to parent and child categories on import

I am trying to import products into v2.2.7. Many products have many categories like: Default Category/A1/A2/A3, Default Category/B1/B2/B3 When i check the product configuration, the product only has ...
2
votes
0answers
50 views

how to get welcome Email when creating customer using custom API in magento 2

I am using magento B2B feature, which has company-modulea and i created a custom api to create company and company user but am unable to get a welcome when i create using the custom api. here is ...
3
votes
1answer
49 views

Magento 2 ui component form add extra input in the same admin field control

How to add more input like checkboxes in the same area like the use default? like so: More precisely I thinks is a field service see shoot:
1
vote
0answers
24 views

“Shop by Brand” extesion of “mazeplaza” not showing frontend pages

I am using "shop by brand" extension of "Mazeplaza". But it is not working and slow down my website from frontend and backend. None of the pages regarding brands loading in frontend. I have more than ...
-1
votes
1answer
20 views

How to increase maximum user connections in magento 2.2.2

I am getting error "user has exceeded the 'max_user_connections' resource (current value: 30)".
0
votes
1answer
20 views

Add custom template in footer in magento2

I have added the custom template in footer. It displayed in all page .But in view page its throwing 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid ...
3
votes
0answers
37 views

Disable catalog search module - Magento 2.2.2 EE

we are trying to disable the modules "Magento_Search & Magento_CatalogSearch" because we are using algolia search not default magento search. But, we can't disable the module, it has dependency ...
1
vote
0answers
12 views

How to block ordering feature from backend when company/customer is set inactive in magento 2.2

How to block ordering from admin panel, when a company/customer status is blocked or inactive state. I am using B2B feature which has company module and version is magento 2.2.2 i am able to block ...
2
votes
0answers
45 views

Magento 2 : Simply want to change the text colour on my checkout page

Sorry for what is probably another daft question but after 2 hours of trying to work out how to make a simple change, I've admitted defeat! My proceed to checkout button is on a white background so ...
2
votes
1answer
152 views

I want hide Add New Customer button for specific admin roles

I want to hide "ADD NEW CUSTOMER" button on customer_grid page for certain admin roles, how to specify Specify ACL's for ui_components..?
0
votes
0answers
37 views

How to add filters(Filter Form ) in Grid( Custom Table Collection)?

I want to add Filter to Grid like Sku or name fillter in Manage Product here my code Grid.php class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\...
1
vote
1answer
38 views

How to override to remove/comment a line in customer_listing.xml in Magento 2

I want remove/comment this line <filterSearch name="fulltext"/> in customer_listing.xml located in vendor/magento/module-customer/view/adminhtml/ui_component/customer_listing.xml I want to ...
1
vote
1answer
66 views

Running php bin/magento commands returns nothing on 2.2.7 CLI php 7.0.22

I'm having some problems running the php bin/magento commands using PHP 7.0.22 on MAMP Pro, Mac, Magento 2.2.7 The commands was working about 2 hours ago when all of a sudden stopped working whereby ...
0
votes
0answers
35 views

How to add a new field in cart price rule form and link it with Coupon code and should save in DB

How to add a new field in cart price rule form and link it with Coupon code and able to save this field in DB in magento 2.2 and also want to get in Order Export file, when ever the Coupon Code is ...
0
votes
0answers
17 views

Implementing magento vault in a custom payment gateway

Do you have any good tutorial about implementing Magento Vault to a payment module. I am trying to add Vault to the payfort module by following the official doc https://devdocs.magento.com/guides/v2....
0
votes
0answers
14 views

magento 2.2 i wanted to add actions as ACL permissions

Magento 2.2 I want to add actions like create, edit and delete for customer-module need to be added in ACL permissions, Basically i need to restrict create new customer and edit customer for certain ...
0
votes
1answer
37 views

Please confirm returns logic

I'm very new on Magento 2 framework. Can anyone help me from this problem? I Don't know how it actually product returns work. Is there any standard Magento logic for returns or can you advise on ...
0
votes
0answers
26 views

Magento 2 images and videos in custom module

I've been following some instructions here: magento 2 how to upload images and videos in custom module I am facing a blank page with Add Video button see screen shoot: I am not sure what could be ...
3
votes
1answer
35 views

Mass Action: Bulk invoice - Shipping charges issue

I have created mass action in order grid to create bulk invoice. And after successfully creating invoice on multiple orders I am facing issue with shipping charges. i.e, for first order it is adding ...
0
votes
1answer
78 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 "...
0
votes
0answers
103 views

how to get the weight unit of the product from quote in magento 2

I wish to get the weight unit of the product from quote in magento 2. Please provide me a solution to get quote value.
0
votes
1answer
32 views

Unable to unserialize value error when customer data is not display on editing the details?

Getting error: Unable to unserialize value vendor/magento/framework/serialize/json.php
0
votes
1answer
59 views

Magento 2 customer CAPTCHA Login Not Showing Up

I have added all possible captcha forms in Stores->Configuration->Customers->Customer Configuration->CAPTCHA see screen shoot bellow: Clear cache,flush yet the login page doesn't show it. ...
0
votes
0answers
30 views

Magento 2.2.2 getting error on click registration button on order success page?

I am getting an error message when I am clicking on Registration link on order success page: SQLSTATE [23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key '...