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

4
votes
0answers
97 views

Knockout.js in magento2

How to change the jquery into ko? define([ 'jquery' ], function ($) { "use strict"; $.widget('xxx.homePage', { options: { bindSubmit: true, ...
3
votes
0answers
50 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 ...
3
votes
0answers
327 views

Setting up Magento Cloud local development environment - Docker

I'm having issues when it comes to setting up a docker development environment for Magento Commerce Cloud. I followed steps described here: https://devdocs.magento.com/guides/v2.2/cloud/setup/...
3
votes
0answers
59 views

In Magento2 can we use PHP/JAVA Bridge?

I need to get content from JMS topic so Can someone let me know if it is possible to use PHP/JAVA bridge in magento2?
3
votes
0answers
89 views

Apply Cart Price Rule (Coupon) on empty cart

Is it possible to apply a Cart Price Rule using a Coupon to a customers cart when the cart is empty? The reason is the following: We’d like to apply a discount code (cart price rule) for customers ...
3
votes
0answers
37 views

Developed Module

I have 2 instance of magento store in your local system.instance Fresh Magento installation with sample date of Medium Profile and another with blank data. I want Sync all customer and customer ...
3
votes
0answers
76 views

Magento 2.2 Rest Api creating same url-key for different product names

has anyone already faced the problem in Magento 2.2, that you have two different product names and magento creates the same url-key for both? Like: name: Product Name 1 url-key: product-name-1 name: ...
3
votes
0answers
191 views

Magento2 Product add form custom form values not posting in observer

I am Creating custom product add form in magento2.2.2. I have added a new tab after product details & Loaded My custom phtml File into It, First To Post Data from product form to observer, i ...
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 ...
2
votes
0answers
52 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.
2
votes
0answers
62 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 ...
2
votes
0answers
48 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
0answers
51 views

Order purchase date filter range not showing expected results

Preconditions Magento 2.2.2, Nginx, Redis. Magento local timezone AEDT, server time AEDT mysql SELECT CURRENT_TIMESTAMP(); returns AEDT time SELECT @@global.time_zone, @@session.time_zone; returns ...
2
votes
0answers
40 views

Is it possible to change/replace the custom function argument in magento 2

I just want to change/replace the custom function arguments, not constructor arguments. This is third party module function, which have wrong argument. public function addAttachment(\Fooman\...
2
votes
0answers
38 views

Magento 2 Cart Price Rule Coupon Specific Coupon Does not Apply for some porducts in Admin Order

There is an issue which I am not sure if it's a bug and I hope someone can tell me, the bellow screen shoot were taken from an order: As you can see the product in red circled didn't apply the ...
2
votes
0answers
196 views

Strange behavior with the redirects in Store views, Cms pages, Cookies

Config : Front : I have Two store views 1:simple, 2:pro. Admin : 1Website->1StoreGroup->2Storeviews: simple and pro Cms Pages : I created different Cms pages, let's taking for example : 2 (A,...
2
votes
0answers
27 views

How the guest order is mapped with the customer who is registered in success page in magento 2

How the guest order details are mapped with the customer who is registered by clicking Create Account button in the success page in magento 2.
2
votes
0answers
22 views

T-Hub Shipping tracking number not pairing with order

I have Magento 2.2.2 and T-Hub for shipping. In version 1.9, T-Hub would send the shipping tracking number directly to the "Shipment" file. Both the product detail and the tracker would appear ...
2
votes
0answers
32 views

Magento 2.2.2 product images are not loading on product page

I am using Magento 2.2.2 in which product images loading on all other pages except product page. After solved bootstrap error
2
votes
0answers
159 views

Grid Serializer Magento 2.2 In product edit page - adminhtml

module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module....
2
votes
0answers
135 views

Magento 2 get catalog price rule Action applied and Discount Amount on product list page

I would like to display text for each product on product list page for a e.g on a category all product with discount but there are 4 options which consist of percentage or fixed : So if Apply is ...
2
votes
0answers
83 views

Magento 2: Minicart is not updated for certain storeviews when adding product for the first time

II have multiple websites and storeviews in my Magento 2.2.2 installation. I have experienced a weird issue, that for some storeviews, when adding a product to the shopping cart for the first time, ...
2
votes
0answers
61 views

Layered navigation is working in magento 2.1.7 but not working in magento 2.2.2

Hear is my layout file same code is working fine in magento 2.1.7 but not working in magento 2.2.2. I don't know why it's not working : <referenceContainer name="sidebar.main"> <...
2
votes
0answers
635 views

(Solved) Magento 2.2.2 - Update product price per website programmatically not working

I'm trying to import product prices from an XML file, which contains prices in two different currencies for the same product (EUR and DKK). I've created a website for each currency and set the "...
2
votes
0answers
114 views

Magento 2 how to skip shipping address and shipping methods step

I am trying to skip Shipping address & shipping methods step (i am trying to show checkout page as like downloadable product ) I commented below code in checkou_index_index.xml file, but payment ...
2
votes
0answers
34 views

Magento2 : Best way to handle Multi Device login using REST API Auth

I am creating an auth token for mobile customer using /V1/integration/customer/token When I use the same customer credentials in Second mobile device the first auth token is invalidated as the ...
2
votes
0answers
521 views

Lazy load Js not working in Magento2.2.0/1/2 Version

I have https://www.magebees.com/lazy-load-images-extension-for-magento-2.html this one extension, but not working properly- js errors like window undefined..
2
votes
0answers
67 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/...
2
votes
0answers
256 views

Homepage - blank screen, Admin - The page isn’t redirecting properly

After changing mode Magento homepage shows blank screen, and admin - The page isn’t redirecting properly There are no errors in reports or exception log. In system.log: Broken reference: the '...
1
vote
0answers
7 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
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
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 ...
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
0answers
39 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
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')); ...
1
vote
0answers
17 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
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([ '...
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 '$...
1
vote
0answers
87 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, ...
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
vote
0answers
22 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 ...
1
vote
0answers
120 views

How to create admin form using UI component in 2-column layout with tab in magento 2?

I have created a form using UI component and added tab in the form. I used the reference from /vendor/magento/module-customer/view/base/ui_component/customer_form.xml. I can see the tabs in left but ...
1
vote
0answers
25 views

Admin grid in magento2

How to set date format for ui component grid and how to set the default '--' symbol for date. Thanks.
1
vote
0answers
131 views

Magento 2 Error - Failed to load resource: the server responded with a status of 403 (Forbidden)

I am overriding magento configurable.js to my theme and adding some function.i am getting an error of 403 forbidden url.any one can you please help me to short it out. _specifictionContent:function (...
1
vote
0answers
27 views

Upgrade from 2.2.2 to 2.2.5

how can I upgrade my Magento 2.2.2, when composer is not available? Upgrade in backand also not possible. PHP Limit. It is a hosting provider and I have no composer or backend update. Only SSH, FTP ...
1
vote
0answers
109 views

Edit Data is not coming selected with Ui component grid

We have created one grid with UI component for our custom module. Add New, Delete and Mass delete functionality is working fine. I have also added Edit data functionality. I can get the data while ...
1
vote
0answers
219 views

Special characters are not working to get option id of an attribute in Magento 2

I am using Magento 2 for my eCommerce website.I am trying to get option id from option text(i.e. D & G).Somehow I am getting option id for normal option text (i.e. Sample) but when it comes to ...
1
vote
0answers
79 views

Reviews Grid Listing, Reviews Edit Form and Reviews New Form are not showing in admin Magento2.2.2

After logged in admin I can't see reviews listing. Also in product edit page in admin review listing not showing. Any one know what is the solution? Log File Showing Error Below [2018-07-24 ...
1
vote
0answers
58 views

Undefined index: sequence-2 - Magento 2.2.2 EE

I can't place the order, some of the specific bundle products, it throws the below error. [2018-07-19 11:52:58] report.CRITICAL: Report ID: webapi-5b507b9a64391; Message: Notice: Undefined index: ...
1
vote
0answers
184 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. ...