Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

0
votes
0answers
16 views

ios Safari - Magento 2.2.2 Responsive Menu Subcategories not Expanding

ios Safari - Magento 2.2.3 Responsive Menu Subcategories not Expanding. Hello, We're finding an issue that occurs with iphone and tablets using Safari. It as a high occurrence rate: Steps> 1. Visit ...
0
votes
0answers
16 views

Magento 2 product collection getSelect Order by Case unException Unknown column 'name' in 'order clause'

I need to use ORDER BY CASE name which is product name Query: SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`, `stock_status_index`.`stock_status` AS `is_salable` FROM `...
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?
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
2
votes
1answer
31 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
49 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
0answers
4 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
18 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 ...
1
vote
2answers
39 views

Add Expire Headers Magento 2

there is a way to add Expire Headers for external static components? Magento 2.2.2 CE
1
vote
1answer
43 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: ...
1
vote
0answers
16 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 ...
2
votes
1answer
40 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
24 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 ...
0
votes
1answer
28 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>
0
votes
1answer
55 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
22 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 ...
1
vote
1answer
27 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...
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
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
79 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
24 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
32 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
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
16 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
26 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
44 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
44 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
25 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
204 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
45 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
22 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
72 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
36 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
38 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
2answers
116 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
31 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
85 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
41 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
75 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
279 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> ...
1
vote
0answers
109 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
76 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 ...
3
votes
0answers
78 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
294 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
26 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
48 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)".