Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

Magento 2.2.2 Store and Admin not loading

OS Windows Server 2008 Magento 2.2.2 XAMPP 3.2.2 PHP 7.1.13 I was working on a local install of Magento 2.2.2 (I installed it when it was 2.2 and then when the 2.2.2 version came it auto-updated ...
3
votes
1answer
2k 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 "...
0
votes
6answers
2k 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"> <...
1
vote
2answers
4k views

Magento 2: Cookies expiration time is not extended for customer

I have increase cookies lifetime for the customer but it not working. After customer login, 1 to 2-hour customer stay login if he/she close browser then again start browser at that time customer need ...
1
vote
1answer
2k views

Magento 2: Image not uploading in grid "Attention: File was not uploaded”

Created a custom module using Ui_Component,facing problem during image upload. Error (On alert) : Attention: File was not uploaded Ui_Component Form Code for Upload: <field name="icon"&...
0
votes
2answers
1k views

Magento 2 js not working

On one of my websites, sometimes some of my customs js not working, I have embedded them on a template file. I have checked the console of the browser it shows an error, also sometimes CSS or some ...
0
votes
1answer
1k views

Magento 2 customer CAPTCHA Login Not Showing Up

I have added all possible captcha forms in Stores->Configuration->Customers->Customer Configuration->CAPTCHA see screen shoot bellow: Clear cache,flush yet the login page doesn't show it. ...
1
vote
1answer
1k views

Customizable options not showing in cart or order

Magento 2.2.2, when an item is added to the cart, any customizable options selected when adding a product to the cart are not displayed in the cart or order. In testing, I have found that the Sku ...
0
votes
2answers
1k views

Magento 2.2.2 return only 3 items from wishlist

When inspecting the bellow console.log(JSON.parse(localStorage.getItem('mage-cache-storage')).wishlist); I get the count of 7 but items only returns 3 : How Can one get all items ? in my case 7 ?...
2
votes
1answer
1k 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/...
0
votes
1answer
888 views

magento 2 custom component at checkout-step-shipping as shipping address child

I trying to add a custom template @ checkout between form customer login and shipping address inside div id="checkout-step-shipping" there are 2 forms : I've tried a few thing like 'before-form' etc....
0
votes
3answers
1k views

Magento 2.2 css override is not working

I am new to Magento 2 development and am stuck on changing the .header .content CSS class. I have tried by creating a _theme. less file inside my local theme but the CSS is not overriding. Can you ...
0
votes
2answers
15 views

Magento 2.2 How to trigger billing address form validation programatically

I created a custom credit card payment method and I want to trigger the validation of billing address fields when "Place order" button is clicked.
5
votes
4answers
1k 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
1answer
4k views

Magento 2 - How to add,save,display custom Field in Product Edit form using UiComponent?

Hi I want to add a custom field in Product add/Edit form using UiComponent and want to save its value and displayed back to form as well I have read a couple of threads for this - but not getting the ...
3
votes
4answers
2k views

Magento 2 - Track order button not work

I have Magento 2.2 and the Track Order button is not working, when I open any order and I press Track Order button I have this error: Shipment #000000013 Fatal error: Uncaught Error: Call to ...
0
votes
1answer
1k views

Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration

I am getting this error when attempting to install Magento locally: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration. When running "...
0
votes
1answer
2k 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.
0
votes
1answer
1k views

Failed to call function "on click" in magento 2

I have created the add button using the below block file. On button click I have called return FilterControl.addItem() from my template file seo.phtml. But it shows error like below Uncaught ...
0
votes
1answer
17 views

Magento website backups

Sorry for the low level of this question; I'm a beginner, and I'm kinda unaware of the extent of my own ignorance at this point. I need to back up my Magento 2.2.2 website before upgrading to v2.4. So ...
0
votes
1answer
934 views

Magento 2 Check if url returns 404

I have ann Array of urls $arr = Array( 'http://magento2.com/url-exist', 'http://magento2.com/url-does-not-exist', 'http://magento2.com/url-does-not-exist', 'http://...
4
votes
4answers
9k views

Magento 2: How to reload Order Summary Section?

I have some custom discount applied through custom ajax after ajax completion, I want to reload Order summary section on checkout page. mysite.com/rest/default/V1/carts/mine/shipping-information ...
0
votes
2answers
933 views

Magento 2.2 - Need same images for different products

I need to make a configurable product with 4 Products ( A, B, C, D) of different colors. All the products have 4 photos but 3 of the photos are exactly the same in every product. They have exactly the ...
1
vote
1answer
918 views

Magento 2 how to refresh/reload shipping-method-item.html

I would like to reload the shipping methods information on a click of button for example. When the country change it does an ajax to http://magento2/rest/default/V1/guest-carts/...
0
votes
2answers
19 views

magento 2 error - "Fatal Error: 'Uncaught Error: Cannot instantiate interface

I have a custom module to expose an API to get the best selling products & most viewed products separately. This module is working fine in my localhost and staging server. When i moved the same ...
5
votes
2answers
8k views

Magento 2 not minifying JS, CSS or HTML in Production Mode

I am running a magento 2.2.5 CE in production mode with two storefronts setup. The settings in admin are as follows: Minify Html: Yes Merge JavaScript Files: Yes Enable JavaScript Bundling: Yes ...
1
vote
2answers
3k views

Magento 2.2.2 getting error unable to process binding if: function(){return getCartParam('summary_count') }

I am getting an error like unable to process binding if: function(){return getCartParam('summary_count') } in magento 2.2.2 I tried below commands php bin/magento setup:upgrade && php -...
6
votes
3answers
2k views

Magento 2.2: Custom Theme Deployment Breaks at 95%

Just updated from Magento 2.1.10 to 2.2.2, and keep receiving the following when I deploy static content. Any insights on what the errors signify? #0 /app/web/vendor/magento/framework/App/View/Asset/...
0
votes
1answer
2k views

Magento 2 Custom Module Controller getLayout , createBlock, getBlock , append Fatal error:

namespace My\Module\Controller\Index; use Magento\Framework\App\Action\Context; class Index extends \Magento\Framework\App\Action\Action { protected $_resultPageFactory; public function ...
0
votes
1answer
32 views

How to get ordered products withing a date range in magento 2 programmatically?

I want to get the products ordered within a date range for a report. As the result, I need like, product, product type, product Qty. I tried to load all orders and get the sum of products, it want ...
0
votes
2answers
3k views

Magento 2 Blank Screen Product Detail page

I added one product from Magento admin panel (Magento 2.2.2) Cleared cache and indexing, Product appears in search and listing page and you can even add to cart from Listing page. But when you click ...
0
votes
1answer
1k views

How to change the attribute set of the product via programatically in magento 2

I have created custom attributes for the attribute sets namely set1 and set2. I have created the products via script with attribute set name as set1. The products are saved successfully. But Now I ...
1
vote
2answers
4k views

Magento 2 JS Translation Not Working

Is this a magento bug or is something I am doing it working I had created my translation file in my module i18n. For testing purpose I just modified few text. app/code/Vendor/Namespace/i18n/en_US....
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:
0
votes
1answer
2k views

How can i add custom category description block?

i want to add another category description section after the product listing on category view page. Is it possible without coding in Magento 2.2? If not how can i put it?
2
votes
2answers
3k 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
3k views

Magento 2 knockout Select options not returning the value

I have Created custom component with select drop down when I select an option and alert the select option it spits out : function observable() { if (arguments.length > 0) { ...
0
votes
1answer
2k views

Magento 2.2.2: problem with php bin/magento setup:di:compile

when I try to compile after setup:upgrade It displays for me blank page with error in log file: main.INFO: Broken reference: the 'logger' element cannot be added as child to 'after.body.start', ...
0
votes
3answers
287 views

How to remove or edit "Grand Total to be Charged" in order email in magento 2

As I mentioned in the headline I need to alter the Grand Total to be Charged section in the order email. My store is running in LKR as Base currency and AUD as another currency. If I place an order in ...
0
votes
1answer
2k views

Magento 2 : Payment Method is Hidden in Admin When Creating Manual Order

Recently I upgraded to Magento 2.2.2 and tried to create a test order on my site via admin. All goes fine until selecting the payment method. I've enabled Purchase Order as a payment method, and ...
2
votes
3answers
3k 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, ...
1
vote
1answer
5k views

How to export all the attribute and its options in magento 2

I wish to export all the attribute and its options in magento 2 via script. Please provide me a solution, How to export attributes and its options
1
vote
3answers
3k views

Magento 2 get Product Url in Foreach

In Magento 2, I trying to get the Product URL using this code $_product->getProductUrl (). But it is having only the first product's url to all the products. How to fix it. Used the Following Code:...
0
votes
0answers
13 views

Requested store is not found in magento 2 website loading

I have my Magento 2 website. If I type the URL like https://emerald.lk it's working fine. If I add the www to the URL website is not loading and giving the following error. There has been an error ...
10
votes
3answers
11k views

Magento 2: how to delete orders from the database

How can I delete the test orders created in my store? I have opened the database but I couldn't find the order table. Please help me to delete the orders. I'm using the later version of Magento 2.
3
votes
3answers
4k 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
15
votes
5answers
24k views

Magento 2 Please update innodb_buffer_pool_size or decrease batch size value

After installing Magento 2.2.2 when I check my error log I get this warning. Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update ...
0
votes
1answer
2k views

Magento 2 Overwrites Topmenu.php In Module But Menu Nav Disappears

My di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <...
6
votes
2answers
8k views

Magento Business Intelligence service. Retry Synchronization

I am using Magento 2.2.2. In the past, I used to get the message below in every time I log in as an admin: Failed to synchronize data to the Magento Business Intelligence service. Retry ...
1
vote
2answers
2k views

Magento 2 : How to add Custom link product Attribute in Custom product link grid

I have added new custom product link type and it working fine. I want to add some custom attribute to it grid and in grid i want to give text box option for enter custom attribute value and when ...

1
2 3 4 5
13