Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

302 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
670 views

Magento 2: Facing Error -> Uncaught TypeError: data.some is not a function

I am using magento version 2.2.2. From yesterday I suddenly started getting error when I try to add a new product. Spinner continue to move on this page but having this error on console. Uncaught ...
Awais Khan's user avatar
1 vote
0 answers
20 views

Magento 2.2.2 Differet Store Category page was give 404 error

Magento 2.2.2 website Category Page Give 404 Error into Different Store , Into Default Store it is worked Fine . I have Reindex Many time and also i have cleared Cache Many Times But No any kind of ...
Hardik Makwana's user avatar
1 vote
0 answers
33 views

Colour swatch switching back to default randomly [Mage2]

For the past 2 days I've been monitoring my configurable products to see if there is an issue and not to my surprise, I see there is. Basically, I set up a test product with a colour, and checked ...
Jake Punton's user avatar
1 vote
1 answer
2k 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/...
Juliano Vargas's user avatar
1 vote
1 answer
737 views

Fetch website specific category URL based on store id in custom module

I am working on fetching category URL for stores which are part of two different websites on a multiwebsite setup i.e abc.com and abc.co.uk, Issue happens when I fetch URL for abc.co.uk it returns me ...
mp196's user avatar
  • 602
1 vote
0 answers
448 views

How to save configurable product with its attributes in magento 2

I wish to save product with its attributes. I have tried below code,It works fine while saving simple products. but if i gave configurable product sku in my csv file, then it shows an error as ...
Jaisa's user avatar
  • 2,606
1 vote
2 answers
4k 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 ...
Ash-b's user avatar
  • 126
1 vote
0 answers
214 views

Magento 2 - passing variable output to another variable in email template

I'm working on order confirmation email and I want to pass variable output: {{var order.getMyCustomItem().getSomething('key')}} To another variable. In my case it's an order model: {{var order....
Mateusz Sieprawski's user avatar
1 vote
0 answers
477 views

Magento 2 SOAP API Question

I am using Postman to test send data to different websites e.g I have 2 websites each has its own domain e.g onoe website one store and one store view per domain. e.g 1- http://test.com have: ...
Juliano Vargas's user avatar
1 vote
0 answers
462 views

Magento 2 - creating a Custom Attribute of type Boolean and assigning its default value to all the existing products in the DB

I have created a custom Attribute for the Product which if type Boolean and set the default value as Yes. When I try to fetch the newly created attribute through Rest API I am not able to get the ...
Anvesh M's user avatar
1 vote
0 answers
104 views

How to add new div section in ko template(Checkoutpage payment section) in magento 2

I wish to add one div section on the checkout page(payment section) to add a custom message. How do I add it in below KO template Magento/SalesRule/view/frontend/web/template/payment/discount.html. ...
Jaisa's user avatar
  • 2,606
1 vote
0 answers
1k views

Magento 2.2.2 - The configuration parameter "componentType" is a required for "" component

I have found one error when I try to add product from admin side. I have found some articles which have similar error but they have component name in my error it's not showing component name. The ...
Nilesh Patel's user avatar
1 vote
1 answer
784 views

Magento2.2.2: UI Component Grid Filter Issue

In my custom module, my Grid Records are deleting perfect without applying filter. When i apply filter on grid records and try to delete only filtered records, it not only delete filtered records but ...
KamranKhan's user avatar
1 vote
1 answer
3k 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 ...
SUPERDEVELOPER's user avatar
1 vote
0 answers
81 views

How can add an image for submenu(subcategory) in magento 2?

I am creating a new module but I want to add images for subcategory in magento2 2.2. Is there someone to show me how to customize it ? Thanks.
Barzinji's user avatar
1 vote
0 answers
116 views

Magento 2.2.2 On product page when i save product sometime get error like ''Invalid Form Key'

what is exactly issue and why only sometimes arrive? sometimes working fine. anyone have a permanent solution for that?
Akshay Thakkar's user avatar
1 vote
1 answer
796 views

Could not find package 2.2.3

When updating from 2.2.2 to 2.2.3 with composer require magento/product-community-edition 2.2.3 --no-update I get this error: [InvalidArgumentException] Could not find package magento/product-...
niceonelee's user avatar
1 vote
0 answers
2k views

System configuration:array serialization in magento 2

I have created system configuration for my custom module like below Group 1 It works fine for a group 1 and generates a unique id for each row. But while adding the second group, It adds the same ...
Jaisa's user avatar
  • 2,606
1 vote
1 answer
155 views

Top Nav Menu is not appearing in all pages?

Categories show in Menu When i install the Magento 2.2.2 v with sample data but when i install by custom theme the menu will disappear in luma default theme. Please help me.
Owais Iqbal's user avatar
1 vote
0 answers
138 views

ReferenceError: initializeFieldsetDataByDefault is not defined Upgrade issue Magento 2.2.2

I have upgraded website from 2.0.7 to Magento 2.2.2 but when i try to open product or category in admin than console showing me below error. ReferenceError: initializeFieldsetDataByDefault is not ...
Sanjay Jethva's user avatar
1 vote
0 answers
331 views

Cannot save any products

I have done a basic product import (sku, name, etc) but now when I go to add more details to the product page and then click save I get this error. I also keep getting this error randomly when ...
Carl Piper's user avatar
1 vote
0 answers
255 views

custom ajax call on billing address update magento 2

I am developing custom payment method, I need to call my js method renderer function when customer update billing address while checkout. I try to place this call in initialize but my method is not ...
Charlie's user avatar
  • 3,136
1 vote
0 answers
683 views

Not able to set Magento 2.2.2 to production mode

I am done with all the work of my website but now when I try to set it to production mode, it abruptly terminates in shell without giving any error details in log file. At least I was not able to ...
Devanshu's user avatar
1 vote
2 answers
126 views

How can i add custom css and js in magento 2.2.2

Please help me how can i add my custom abc.css and filename.js in magento 2.2.2 . default_header_html.xml file path app/design/frontend/custom-theme/my-first-theme/Magento_Theme/layout/...
Shiva Reddy's user avatar
1 vote
0 answers
463 views

How to configure magento 2 billing address different from shipping address with paypal

I'm trying to enable the customer to assign a different billing address from shipping address in the checkout process using Paypal payment and I can't find a way to do it. Thanks
Shay Zalman's user avatar
1 vote
1 answer
578 views

Magento 2 overriding Block Class Function

I just want to override vendor/magento/module-backend/Block/Dashboard/Orders/Grid.php I added this line $collection->addAttributeToFilter("status",["neq"=>"failed"]); Core overriding is ...
Oğuz Can Sertel's user avatar
1 vote
1 answer
269 views

Magento 2.2.2 does not load store properly and admin url through 404

Please help me with magento 2.2 installation issue.I have paid two days but no luck. following are my system specs: - - Magento : 2.2.2 PHP: 7.1.11-0ubuntu0.17.10.1 (cli) (built: Nov 1 2017 16:...
Jammy525's user avatar
1 vote
0 answers
61 views

Content Blocks Backend not loading

I'm not sure what caused this but out of nowhere my blocks in the backend of my Magento is not loading it sits there with a loading icon. https://imgur.com/a/9Osu2 I am also getting this error with ...
Jason Benson's user avatar
1 vote
0 answers
426 views

How to add owl carousel slider for recent view products in Magento 2.2.2 version with knockout js?

How to adding owl carousel slider for recent view products. I have successfully added it for related product, up-sell products etc. But I am not able to add it for recent view because in Magento 2.2.2 ...
Gaurav Khatri's user avatar
1 vote
1 answer
40 views

Magento-2.2 development with CSS only (no use of LESS)

I know Magento 2 uses LESS for styling but what if I'd like to build a site with CSS only? I don't want to use LESS in my custom theme. How can I achieve this?
Yogesh Agarwal's user avatar
1 vote
0 answers
1k views

How to override minicart content.html?

How can I override the following file for Magento-2.2.2 vendor/magento/module-checkout/view/frontend/web/template/minicart/content.html Is there something different between .html and .phtml ?? As I ...
Setlena's user avatar
  • 11
1 vote
2 answers
1k views

Magento 2.2.2 - InstallSchema.php - update multiple tables

While developing a new extension, I'm trying to update two tables at installation time by using Setup\InstallSchema.php. The tables are "admin_user" and "customer_entity", and I basically need the ...
Florin Popescu's user avatar
1 vote
1 answer
3k views

Magento 2 Add extension attributes in Quote Item

I want to add custom attribute in quote items Magento\Quote\Api\Data\CartItemExtensionInterface <extension_attributes for="Magento\Quote\Api\Data\CartItemExtensionInterface"> <attribute ...
Ketan Borada's user avatar
  • 2,603
1 vote
1 answer
503 views

magento 2 : event to capture the cart price rule coupon?

How to get the coupon code which customer enters in the checkout page and giving custom discounts to the customer according to the country code using observers. please help me out.
SUBBULAKSHMI G's user avatar
0 votes
1 answer
82 views

Use Custom Module collection in other custom Module magento 2

I want collection of one module in other module. I am doing it like use Test\CompanyAddresses\Model\CompanyAddressFactory; class ReformatTelephoneField implements DataPatchInterface { protected $...
Rashi Goyal's user avatar
0 votes
3 answers
602 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.
Eric Libay's user avatar
0 votes
1 answer
31 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 ...
G Y's user avatar
  • 1
0 votes
2 answers
2k 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 ...
Mujahidh's user avatar
  • 2,793
0 votes
1 answer
98 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 ...
Mujahidh's user avatar
  • 2,793
0 votes
1 answer
349 views

How to remove ?___from_store=default from other store code url of my magento 2 website?

I have 2 stores on my Magento 2 website. one for Srilanka & the other for Australia. I am redirecting my customers based on customer's IPs to relevant sores. Whenever I am redirecting the customer ...
Mujahidh's user avatar
  • 2,793
0 votes
2 answers
576 views

How many years Magento 2 certificate is valid?

How many years Magento 2 certificate is valid? How much time it will take to prepare for Magento 2 exam? If Magento upgraded to magento 3 4...then the certificate is acceptable or not?
Mahendra's user avatar
  • 716
0 votes
1 answer
1k views

Magento 2 Product Image are not showing on cart page and checkout page

Product Image are displaying fine on the category page or list page and product description page but it's not showing on cart page and checkout page. I have tried following command:- php bin/magento ...
Hemant Kumar's user avatar
0 votes
1 answer
178 views

How to change "You can create an account after checkout" label on checkout page?

How to change "You can create an account after checkout" label on checkout page?
Md Hridoy's user avatar
0 votes
0 answers
73 views

Stopwords not working in Magento 2.3 for ElasticSearch 6.0+

I want to implement stopwords functionality in Magento 2.3 but it is not working. I am overriding the file stopwords.csv using a custom module. Someone, please suggest the solution. Thanks, Rashi
Rashi Goyal's user avatar
0 votes
1 answer
386 views

Magento 2.2.8 and Paypal error 500

I have some problem since several month, with Google Chrome Browser, when someone want to make a checkout, paypal return us an error 500. The error given are "POST [lang]/paypal/transparent/...
Stéphane Baribeau's user avatar
0 votes
1 answer
298 views

Show Multiple Quantity + Product Price on Product Detail Page in Magento 2.3

How we can show quantity table + product prices as given below screenshot on product Detail Page. If someone have idea, Please guide me i want to implement like this. These prices should be change ...
Wajahat Bashir's user avatar
0 votes
1 answer
133 views

Magento2.2.2 SOAP API Create Partial Invoice

Partial invoice doesn't seem to be working correctly for SOAP requests when multiple item has been ordered. POST URL: http://dev.test.com/soap/all?services=salesInvoiceOrderV1 SOAP BODY: <?...
Juliano Vargas's user avatar
0 votes
1 answer
345 views

Magento 2 Payment Method Billing Address Country

Can one only show/allow specific countries in the billing address form in countries drop down ? See screen shot attached. I need only/available in E.G: United Kingdom
Juliano Vargas's user avatar
0 votes
1 answer
66 views

Magento 2 is not showing product in categroy pages

I use Magento 2.2.2 and since yesterday I can't see any products in category pages. products are available individually but not available in any category pages I've done these solutions but still, it'...
Ali Zeinalzadeh's user avatar
0 votes
0 answers
50 views

Delete Order associated Invoice, Shipments, Creditmemos

public function execute() { $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); echo "=========================<br/>"; $request = $objectManager->get('Magento\...
Danes's user avatar
  • 81

1 2
3
4 5
7