Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

326 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
342 views

How to add a star rating in custom form in magento 2

I have created the feedback form in list page. Now I wish to add custom star rating as a new form field. Please suggest any solution to add rating field in my form.
4
votes
0answers
107 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?
4
votes
0answers
137 views

Knockout.js in magento2

How to change the jquery into ko? define([ 'jquery' ], function ($) { "use strict"; $.widget('xxx.homePage', { options: { bindSubmit: true, ...
4
votes
1answer
166 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
184 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.
3
votes
0answers
152 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
1k 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:
3
votes
0answers
120 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
802 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
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
1answer
49 views

I want relevant block and template in Magento 2?

I need relevant Block and Templates for Magento 1 to Magento 2? Blcok -> checkout/cart_totals Template -> 1. checkout/onepage/review/totals.phtml 2. checkout/cart/totals.phtml $this->getLayout(...
3
votes
0answers
1k 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 "...
3
votes
1answer
582 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 ...
3
votes
0answers
277 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
22 views

Reset admin password via REST API

How can reset admin password using rest api. I want to reset admin password using rest api in Magento 2
2
votes
1answer
828 views

Notice: Undefined index: default in vendor/magento/module-catalog/…BatchSizeCalculator.php

I got this error when try to reindex catalog_product_price php bin/magento indexer:reindex catalog_product_price Notice: Undefined index: default in /public_html/vendor/magento/module-catalog/...
2
votes
0answers
125 views

Full calendar integration in Magento 2.2.2

I am trying to integrate the full calendar in Magento 2.2.2 with event management extension(custom). I have follows all steps as suggested But still, it is not working. Please help me to execute ...
2
votes
1answer
251 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</...
2
votes
1answer
239 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
2
votes
2answers
351 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 ...
2
votes
0answers
165 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
217 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
84 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
98 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
319 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,B) ...
2
votes
0answers
30 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
43 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
55 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
165 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: ...
2
votes
0answers
174 views

Placeholder image not resized in Backend in magento 2

I have uploaded place holder images in backend, while I am trying to edit the configurable product in backend. Under configuration section It displays the place holder image at larger size for each ...
2
votes
0answers
306 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
230 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
177 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
1answer
190 views

How do I edit KO template in magento 2

I wish to edit /var/www/html/xxx/vendor/magento/module-checkout/view/frontend/web/template/payment-methods/list.html Exactly in below line, Because which is the responsible file to render the ...
2
votes
0answers
66 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
456 views

How to turn off browser auto-fill Magento2

I'm looking to turn off browser autofill feature on checkout, the solution is added autocomplete="false" in the form tag. e.g) <form autocomplete="false"> In Magento 2 using UI components, I ...
2
votes
2answers
599 views

Exclude breadcrumbs from cache on product page

I need to exclude a breadcrumbs block from cache on product page. But I can't use cacheable="false" construction because the whole page will be excluded from cache. Also I can't use ...
2
votes
1answer
541 views

is there a way to add custom variables to product description (using the editor) in magento 2?

I am using magento 2.2.2 and I want to add custom variables to the products description. for now, I can do that with the pages but not for the products (in the page editor there's a button called "...
2
votes
0answers
1k views

Authentication method unknown to the client in Magento 2.2.2

Current php version 7.0.25 with which mysql version compatibility issue: 3 exception(s): Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2054] The server requested authentication method ...
2
votes
0answers
150 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
69 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
862 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
1answer
92 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
127 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: ...
2
votes
0answers
284 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 '...
2
votes
2answers
2k 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(...
2
votes
1answer
548 views

Prevent child block from cache (cacheable false) but not parent block (cacheable true) in magento 2.2.2

I am working on a custom module template where I need to show some random string only in some part of a page and string should be generate randomly on every time page reload also the rest of the ...
2
votes
3answers
2k views

Static files version folders not found hence design collapsed and getting 404 for all css and js

I was trying to rectify some ACL issues in my application I removed the static folder inside pub and I run di:compile and static-content:deploy and I gave 777 permission to var and generated folders, ...
2
votes
1answer
214 views

M2: Is it safe to remove customer entities straight from customer_entity table?

I have tons of spam accounts in my store (M2.2.2) and I'm curious - is it safe to remove them with well-tested pattern straight from customer_entity table? Since Magento 2 has triggers and it will do ...
1
vote
1answer
27 views

Magento2.2.2 Order email confirmation after switched back on sends old order confirmation email

Order email Communications has been switched Off for long period of time as the emails was being sent outside of magento. However I notice while testing that if switched back On Old order emails ...

1
2 3 4 5
7