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

1
vote
0answers
133 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 (...
5
votes
1answer
970 views

Magento 2 Reindex Fail `Unknown column 'entity_value.value'` in 'field list'

I am having this error when running php bin/magento indexer:reindex also failing when loading the product: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'entity_value.value' in 'field list',...
1
vote
2answers
117 views

How to use some function in configurable.js in custom phtml in magento 2

I want to use the _getSimpleProductId function of configurable.js in my custom phtml file. What i want to achieve is get the product id according to the customer select the configurable options. I ...
2
votes
3answers
312 views

Free shipping message bar for M2

I have tried so many times to create a simple way by creating CMS block to show the "Free Shipping Eligible Message for Adding Certain Amount in Cart" but I didn't get it yet. Could you please help ...
0
votes
0answers
49 views

Magento site keeps coming down on random days

The site goes down at least once a week and when it does I get this error message: "Object DOMDocument should be created." Can anyone help? How can I stop this from happening. After it goes down all ...
0
votes
1answer
236 views

How to assign different template to product detail page of specific category in Magento 2

I have created two category "wine" and "events". I added product to each category and now I want to apply different template/design to product view page according to category. Products in event ...
2
votes
1answer
46 views

How to show out of stock product next due date in Magento 2.2.2? [closed]

How to show out of stock products with next due date for Product availability on market. I am using Magento 2.2.2. I need free plugins and instructions only because I am not good with coding.
0
votes
0answers
29 views

Magento 2 - How to add a custom form in an custom shipping method?

I have created a Custom_shipping _method. It's working fine and save the shipping method in orders. I want to add some fields after clicking the Custom_shipping _method I have created. I want to ...
0
votes
1answer
208 views

requirejs ! bootstrap.min is not loading in Magento2

I am doing theme integretion. I have included the bootstrap.min.js file in requirejs-config.js in requirejs-config.js file var config = { map: { '*': { 'jqueryjs': 'India_Newtheme/js/...
0
votes
0answers
248 views

How to close the popup by clicking browser back button in magento 2

I wish to close the popup while clicking browser's back button, Please provide me a solution I have tried like below,but not works $(function () { if (window.history && window....
1
vote
2answers
420 views

Magento2: How to create custom API to get all product details of specific category?

Magento2 : I checked the list of Magento2 open source. I followed the below API: /V1/categories/:categoryId/products But this API giving only SKU, Position and Category ID of specific product. I want ...
0
votes
2answers
286 views

Magento 2.2 some JS files are not loading in production mode

In Magento 2.2.2 when setting website into production mode the following files are not loading, due to which my store switcher and other ui functions are not working in production mode: http://...
2
votes
3answers
616 views

How to call phtml of custom module in my custome theme layout Magento2?

Help me to get the content written in custom phtml of the custom module to my custom theme. I have custom theme Customtheme_Sample, which is having custom layout customhome.xml. And I have the ...
1
vote
1answer
28 views

Minify js in magento2

I have added script in phtml file for faq (cms page). <script> require([ 'jquery', ], function ($) { $(".faqs-question").click(function () {console....
0
votes
2answers
573 views

Magento 2 Customer Account Navigation Add Css Class to link not working

XML: <referenceBlock name="customer_account_navigation"> <block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-account-link"> <...
0
votes
0answers
267 views

Custom index not working after product save in magento 2

I create the custom index. It is showing in Magento 2 index management but when I try to save a product with changes in product attribute but not comes in executeRow() function. I also tried https://...
3
votes
0answers
92 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 ...
1
vote
0answers
29 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 ...
0
votes
0answers
43 views

Paypal After payment not return to website show 404 error

For my Magento website Version 2.2.2 I am using Paypal express checkout but from few days I am facing the issue customers makes the payment at moment it doesn’t return back to website instead it shows ...
0
votes
0answers
19 views

Magento : System Config page is not loading properly

Its recently installed Magento on localhost. System config page takes long time to load, and return partially loaded page Have tried to restart Apache and done setup:upgrade, but issue still there. ...
0
votes
0answers
89 views

Magento 2 admin is not working?

I am using magento 2.2.2 Frontend is working fine but admin is not working. I have tried to deploy, upgrade, cache, compile etc but the admin is not working. The admin url is strange: http://...
0
votes
1answer
11 views

Page gets blank randomly Magento 2

Site is built on version "2.2.2" and strangely page shows blank at random period untill we cleared the cache. Anyone has faced similar issue? Already checked https://github.com/magento/magento2/...
0
votes
0answers
29 views

Create a folder in magento2

I have created a folder in pub/media by refer this link Magento2 Creating a new directory But i can't insert any images in this folder How to insert the images in specific folder Thanks
0
votes
1answer
526 views

What is GD2 and ImageMagick in magento 2

Can any one explain what is the use of GD2 and ImageMagick while uploading images in backend in magento 2.
1
vote
1answer
422 views

Magento 2 : What is use of observableArray in JS file with knockout JS?

I have checked observableArray word declared in js file at top position. I have been seen this function like this items: ko.observableArray([]). Is this function related to AJAX while response is ...
0
votes
0answers
16 views

Composer.json in magento2 [duplicate]

I need to add third party module into vendor folder How to do this in magento2
0
votes
1answer
396 views

Custom price is not getting calculated on cart magento 2

I am setting up the custom price with some calculation during add to cart and update cart. I am using following code to add custom price $fPrice = 39.1467 // after calculation $qty = 24; $item-&...
0
votes
1answer
154 views

Magento 2.2 Theme Layout

Can anyone elaborate the theme structure of Magento 2.2. I already refer the Theme document for it. Also I want to change the category page layout so please guide me. Category description block is ...
0
votes
1answer
142 views

How to upload svg iamges in CMS pages in magento 2

I wish to add svg images in cms pages in backend. While uploading .svg images, it shows invalid file. Please provide me a solution to upload svg images in cms pages in magento 2
1
vote
0answers
112 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 ...
2
votes
0answers
209 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.
1
vote
1answer
140 views

Magento 2 Add Custom Dynamic Link in Customer Navigation

I can't figure it out how to add links dynamically to customer navigation. this is my xml: <referenceBlock name="customer_account_navigation"> <block class="Vendor\Module\Block\Custom\...
0
votes
0answers
24 views

How can I show Save & Edit Next and Save & Edit Previous link in Magento2 admin product edit section?

I want to show Save & Edit Next and Save & Edit Previous in Magento2 product edit section in admin side. That will edit Previous or Next product based on filter collection in products.
3
votes
2answers
520 views

Magento 2 - Maximum execution time of 300 seconds exceeded

I am upgrading a website from Magento 2.2 to 2.5 and running into an error. I read through a lot of threads and forums but nothing is working. This includes adding max_execution_time 60000, ...
0
votes
0answers
25 views

Does Magento EE provide any out of the box capability to create multivendor

I would like to have multivendor/supplier in Magento2 EE. So would like to know by default Magento2 has any capability to setup multivendor rather than depending upon any third party extension.
1
vote
1answer
59 views

Custom attribute creation in magento 2

While creating custom attribute in magento 2, what is the use of below 'backend' => '', 'frontend' => '' 'class' => '' 'source' => '' $eavSetup->addAttribute( \Magento\...
0
votes
0answers
57 views

Product addto cart in view page

I have to initialize js for a form in view page, Its working perfect in desktop. But in the mobile theme when I tried to add-to cart for the product, I'm able to get the js for product addtocart . ...
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 ...
4
votes
3answers
293 views

Magento 2 : CAPTCHA image display too much dots

I'm new in magento. I am working in custom module. I apply captcha in registration page and login page. But, there are too much dots and lines display in image. Sometimes, I can't read text properly. ...
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 ...
1
vote
1answer
139 views

How to override Email Header and Footer through module in Magento 2

I want to override magento email template file. app/design/frontend/Vendor/themename/Magento_Email/email/header.html app/design/frontend/Vendor/themename/Magento_Email/email/footer.html
0
votes
1answer
48 views

Magento 2 SOAP API setSpecialPrice

I am using Postman to post special-price but it's with REST API like so: Post URL: http://magento2/rest/V1/products/special-price Payload: { "prices": [ { "price": 50.00, "store_id": 0, "...
0
votes
1answer
47 views

Json response error in magento2

Resource interpreted as Document but transferred with MIME type application/json warning in Chrome Developer Tools How to fix this...
0
votes
1answer
304 views

Magento2: dependency injection issue in passing parameter to constructor

I have faced this issue many times, but unable to understand why? what is the (logic/concept/approach) behind injecting any object. i have injected few parameter to my save controller, before adding ...
0
votes
1answer
268 views

How can I get consumer authorization in Postman - Magento2?

I am trying to get result for the existing magento api service ex.customer details (or) product details by sku, I am facing issue like below, give solution "message": "Consumer is not ...
1
vote
0answers
223 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 ...
0
votes
1answer
264 views

Magento 2 Error - Custom created product attribute value not save in magento 2

I created a custom product attribute using installer script. Attribute was created successfully and i can view it in product adding page in admin. If i save the product the attribute value is not ...
2
votes
0answers
35 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
0
votes
0answers
31 views

How to pass a value to url using routes.xml in magento 2

I want to pass the stores in my url dynamically. My route is like this <route id="stores" frontName="stores"> <module name="FME_GoogleMapsStoreLocator" /> </route> In my ...