Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
2
votes
1answer
290 views

Progressive Web APP (PWA) - Magento 2.2.2 Not working

I am using Magento 2.2.2. I have configured Progressive Web App PWA in my Magento Site. It is working fine in development server. Not working in Live Server. Both Servers having HTTPS. But, live ...
2
votes
1answer
438 views

Why root block render automatically content in Magento 2

In Magento 1 we have the possibility the add a block in a root block so it will not be displayed because root is not a core/text_list block type (structural block), it doesn't render automatically the ...
2
votes
1answer
632 views

If an order having multiple products, how can the shipment of each product be tracked in Magento 2?

For an Order there will be multiple products. It is not necessary that all the products will be received to the customer in a single day. So in such a situation how can the customer get to know their ...
2
votes
1answer
2k views

Return all JS functions via requirejs

In my exemple, i have just one function and I call it in phtml on passing the name function as param require(['jquery', 'module'], function($, hello) and it works fine. Now if i want to return 10 ...
2
votes
1answer
94 views

Need relevant .xml file in Magento 2?

I need relevant.xml file for <checkout_onepage_index> in Magento 1 to Magento 2?
2
votes
1answer
596 views

How to save additional column field in core table in magento 2

I have created custom module for product review. I have added additional coloumn in review_detail table in DB. I got all submitted values from form including my custom column value in Controller. But ...
2
votes
2answers
1k views

After upgrade magento 2.1.8 to 2.2.2 getting error : Unable to unserialize value [duplicate]

After upgrade magento 2.1.8 to 2.2.2 getting error : Unable to unserialize value. Exception #0 (InvalidArgumentException): Unable to unserialize value. Unable to unserialize value. {"...
2
votes
1answer
58 views

Error during setup

version Magento 2.2.2 Class Magento\Catalog\Model\View\Asset\Image not found in line 8 the following file namespace Vnecoms\Vendors\Model\View\Asset; use Magento\Catalog\Model\Product\Media\...
2
votes
2answers
188 views

Related Products, Up-Sells, and Cross-Sells modal panel error

After moving to Magento ver. 2.2.2 from Magento var. 2.1.9 the Related Products, Up-Sells, and Cross-Sells modal panel from catalog product edit doesn't show anymore. I can see these error in the ...
2
votes
0answers
106 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
127 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
199 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
0answers
143 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
182 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
68 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
89 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
1answer
60 views

Adding new regions won't persist

I followed an example and created a custom extension that would add some regions to the directory_country_region & directory_country_region_name tables. I want to make sure that the data I write ...
2
votes
0answers
303 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
29 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
34 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
50 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
136 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
154 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
294 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
203 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
156 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
2answers
3k views

How to get the child product ids from a product id in magento 2

How to get the child products id from a product id in magento 2. I am saving the products with its custom attributes. And it saved successfully. But I wish to check what type of product i have using ...
2
votes
1answer
31 views

Product Image Uploader to Preview Product M2.2.2

My goal is to have the same functionality as the "Image and Video" uploader to preview my products in a block I created. As of right now, this is what my module looks like. If you need any more ...
2
votes
1answer
133 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
64 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
2answers
480 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
503 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
138 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
53 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
787 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
88 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
50 views

How Magento 2.2.2 creditmemo create and save functionality work [closed]

While working on custom creditmemo functionalities, I created this flow diagram to show a high level view, how Magento 2.2.2 performs creditmemo create/save operation from admin area.
2
votes
0answers
112 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
275 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
503 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
414 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 ...
2
votes
1answer
191 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
3answers
5k views

Magento 2 Admin Page Error: Your current session has been expired

Fresh Install of Magento 2.2.2 on Centos (Plesk) with Apache 2.4, php 7.0.2 + all modules, mariaDb 10.1. Magento Installation was done via browser wizard -> readyness check-> everything was ok. When ...
1
vote
4answers
2k views

IN STOCK FILTER FOR Magento 2 Product collection

i am trying to filter inStock product in Magento 2 Using I am trying to filter inStock product in Magento 2 Using \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory,...
1
vote
2answers
89 views

Magento 2 setTemplate and add content to phtml template

How to add bare HTML to a block e.g: $block = $result->getLayout()->getBlock('category.description'); $block->setTemplate('Vendor_Module::myTemplate/blank.phtml') ->toHtml('<p>My ...
1
vote
2answers
3k views

How to update or rename the attribute code of the attribute in magento 2

How to update the attribute code of the attribute in magento 2. I have refered below link https://stackoverflow.com/questions/5198266/how-do-i-rename-an-attribute-code-in-magento
1
vote
1answer
959 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....
1
vote
2answers
955 views

Add js to module via requirejs doesn't work?

Does someone knows why it doesn't work ? app/code/Vendor/Module/view/frontend/requirejs-config.js var config = { map: { '*': { module: 'Vendor_module/js/go', } } }...

1 2
3
4 5
13