Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

how to display custom amount in order summary in admin Magento 2?

I have added a custom fee in the order and displayed a custom fee in the checkout order summary. Similarly, the Custom fee displayed in the order emails in order total summary. Now I am trying to show ...
0
votes
1answer
17 views

Magento 2 Order View Exception occurred during order load

My Order detail page is not showing up its giving "Exception occurred during order load" when i checked in logs i got Exception occurred during CURL call Connection timed out after 30001 ...
0
votes
1answer
24 views

JavaScript Error (Uncaught TypeError: $.initNamespaceStorage is not a function)

We are running a Magento multi site and on ONE site only, I get this error Uncaught TypeError: $.initNamespaceStorage is not a function All sites use the same theme (just some differences between them....
0
votes
0answers
19 views

Magento 2 Exception occurred during order load

i am using magento2.3 and facing this issue when i want to order detail page. I checked my exception.log there is curl issue is [2021-05-04 07:50:14] main.CRITICAL: Connection timed out after 30001 ...
0
votes
1answer
20 views

Hide Ui column in grid on default load

I am trying to hide some column as it has very long list of column so it display vertical scrollbar and it don't look nice.So is there any way to hide it on default grid load. it should be visible in ...
0
votes
1answer
24 views

2.2.4 cloned, search not working

I've created a 2.2.4 magento website a few month ago. My client wanted to clone this website, in order to have 2 different databases but keep all the fonctionnalities. So I've cloned this website, ...
0
votes
0answers
11 views

Magento 2 - Order Hold from frontend

From the Magento admin panel, user can update the status of an order to On Hold. Is there a way out for authorized admins to mark the order as hold from frontend. if ($order->canHold()) { $...
0
votes
1answer
13 views

Custom Grid Date filter format problem on search

I'm trying to format the display and also the datepicker value when selecting the date in Filter for my custom grid. Now the display works fine the only problem is when I filter it, it doesn't work as ...
0
votes
0answers
13 views

Why Google can no longer find my homepage when I do a google search but in Google search console finds the URL and reports no issues

My website which is on a Magento 2.3 platform has ranked on the 1st page of Google around the number 4 position for several years so I know it functions well and is properly optimised. A week ago a ...
0
votes
1answer
28 views

Create product with custom option (Field type ) using rest api not saving

I am trying to create simple product with custom option(Field type) using rest api but custom option is not saving with product endpoint rest/V1/products. request body { "product": { ...
0
votes
1answer
35 views

Create product with custom option using rest api

I am trying to create simple product with custom option using rest api but custom option is not saving with product endpoint rest/V1/products. anything missing here Here is my request body { &...
0
votes
1answer
39 views

Product attribute create/update using rest api and assign it to attribute set

I am creating product attributes using rest API with the below request body. End point rest/V1/products/attributes/ { "attribute": { "is_wysiwyg_enabled": false, &...
0
votes
0answers
23 views

Magento 2.2 - 502 Bad Gateway nginx/1.12.2

i have used AWS shared hosting. i'm getting bellow error on multi-vendor products edit. 502 Bad Gateway nginx/1.12.2 please help me solve this, its urgent. i'm only getting this error on production ...
0
votes
1answer
51 views

Magento 2. How to send confirmation email for two emails at once?

How to programmatically send an order confirmation email for two customer email addresses at once? I created additional customer attribute for "contact email" field and need send ...
0
votes
2answers
42 views

How to change only a specific image size in magento 2?

I have changed the below section of my custom themes' view.xml <image id="product_page_main_image_default" type="image"> <width>1200</width> <height>...
0
votes
0answers
119 views

Argument 1 passed to Magento\Framework\View\Page\Config\Renderer::canTypeBeFont() must be of the type string

I'm getting this error while changing stylesheet. This is the only thing that shows up on the screen. How do I begin to debug this? Reverting doesn't do anything. I've tried cache flush and setup ...
0
votes
2answers
48 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?
0
votes
0answers
13 views

Class does not exist error after Mysql upgradation in Magento 2.2.4

Recently we have done Mysql upgradation from 5.6 to 5.7.31 in Magento EE 2.2.4, we have Android application, when logging in to new installed application it is giving error(given below) for first time ...
0
votes
0answers
10 views

How to extend customer rest api request and response

Here i want to modify the current request body and response body for customer rest api. How current rest api working is like here. Request Json. { "customer": { "email":&...
0
votes
0answers
55 views

How to create this type of popup in magento 2.4.?

add one button on PDP page like "Add comment" if click on that button popup should be open with textarea that user can insert comment user should be logged in then this button should be ...
0
votes
1answer
16 views

Payment Failed Emails M 2.3.5 - Not working for us

We are currently using Magento 2.3.5 From my understanding, payment failed emails are sent when a transaction fails. By fails I hope that this means it is declined or voided by the payment method. ...
0
votes
0answers
14 views

Display custom options on category page and allow add to cart

I want to display product's custom option on listing page and want to allow customer to add to cart from the category listing page. I have added Qty field and following code to display the custom ...
0
votes
0answers
11 views

Any alternative for this magento documentation?

I need an alternative for this documentation because I just can't open it here. It's almost impossible. I've been searching and I found this one but it doesn't have all I need... I found [another one]...
0
votes
0answers
20 views

M2.2 | Button that can add multiple individual products to the cart all at once?

In short, we are looking for the ability to have a customizable button (be it through js, small module or whatever) to where we can have a button that would infact add multiple individual products to ...
0
votes
1answer
124 views

Global Payments Realex 511 Redirect Issue Magento 2.2.2 HPP

I am using this module for Global Payments / Realex Payments for Magento 2.2.2 store form Magento Marketplace "name" : "realexpayments/hpp", "description" : "A ...
0
votes
1answer
118 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 ...
0
votes
0answers
21 views

API call issue in magento 2.2.0

we are working on api call module in magento 2.2.0 where main functionality is using API fetch data from other site and show data in grid. we created module for upper version (magento 2.3 and higher) ...
0
votes
0answers
20 views

Magento 2 - Mobile View Layered Navigation move to top

I have a magento 2 store which has over 100 products displayed with additional filters for the layered navigation. I just want to move these filters to the top on mobile as currently they are at the ...
0
votes
2answers
115 views

UK GB Post Code Zip Validation Magento 2 Space

I need some help with UK GB Post Code Zip Validation Magento 2 Space In that I want to force the user to enter spaces so its like this EC1A 1BB or W1A 0AX or M1 1AE so there must be space After the ...
0
votes
0answers
51 views

Magento 2 - Add captcha to before order place button

I'm developing a custom module to add captcha before place order button.
0
votes
0answers
26 views

create custom product image attribute in magento 2

I have to add the custom image attribute in product attribute. I referred this link: create product image attribute in magento2. but image saved in my temp directory after saving the image how can we ...
0
votes
0answers
21 views

Magento 2 Admin - Not Showing New Tab That I Have Created In Production

may be there is somebody who can help me with this matter - a Magento 2 question. The version of Magento that I am using is 2.2.2. I have created new module and the tab shows perfectly in admin at my ...
0
votes
1answer
215 views

Upgrading from 2.2.5 to 2.2.6: Fatal error: Interface 'Laminas\ServiceManager\AbstractFactoryInterface' not found

Im trying to upgrade a Magento 2 site from 2.2.2 to the latest 2.3. I've got up to 2.2.5 so far without issues. When moving from 2.2.5 to 2.2.6 I am getting a fatal error when running php bin/magento ...
0
votes
1answer
20 views

How to show Random products in category view page Magento2?

Here is my code - Code of di.xml file - <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
0answers
12 views

Magento 2 Place Order 400 Bad Request Error

I'm Designing Magento 2.2.11 theme and now I'm facing 400 error while click on place order button. kindly please suggest how can i resolve it.
0
votes
0answers
18 views

Checkout Page - Create New Account Checkbox

I want to add Create new Account (checkbox) under email on checkout page like as attached screenshot. How to I can add this ? anyone can help regarding this issue ? Thanks
0
votes
0answers
139 views

Magento 2: Invoice capture programmatically not working in magento 2.2

I am trying to capture payment online but it's not capturing. I am working with Magento 2.2. Not sure why this code does not work even the same code works with the latest version of Magento. public ...
1
vote
2answers
488 views

M2.2: Using REST API, Can Clear Cart but Mini-Cart Not Clearing

We are currently integrating another checkout portal to go on top of our existing Magento 2 platform. They are using the REST API to do most of their calls to Magento 2, including that of clearing the ...
0
votes
0answers
41 views

M2.2: Using REST API, Can Clear Cart but Mini-Cart Not Clearing

We are currently integrating another checkout portal to go on top of our existing Magento 2 platform. They are using the REST API to do most of their calls to Magento 2, including that of clearing the ...
0
votes
0answers
11 views

Magento 2.2.4 - checkout/cart get shipping rates via AJAX

Version 2.2.4 seems to have a buggy form post on checkout/cart to update shipping rates. I have other stores using 2.3.* that work fine. I am trying to run defaultProcessor.getRates() on a JavaScript ...
1
vote
1answer
72 views

M2: Using small PHP script in .html file (or) Changing .html file to .phtml

We are running into an issue where we need to run a little php script within a .html file in Magento 2, namely; /app/design/frontend/CleverSoft/core/Magento_Checkout/web/template/minicart/content.html ...
0
votes
0answers
25 views

Magento2 Authorize.net Module Issue

In magento 2.2.7, Authorize.net payment throwing below error while clicking place order, in live mode - Error getting valid response from api. Check log file for error details and in sandbox mode - ...
0
votes
0answers
42 views

How to extend magento 2 product rest api

I am trying to get the value of product searchCriteria in the custom module. By using that value I need to add some data in response API @return \Magento\Catalog\Api\Data\ProductInterface Now custom ...
0
votes
0answers
13 views

How to update all bundle products

How to add a new Bundle item to all products? Is there a way in Magento to update all of these products? I have not found a normal example at the moment
0
votes
0answers
11 views

Add new option for existing bundle products

Can't find an example for adding new Bundle Items to existing Bundle products. I'm looking for an implementation like Upgrade Script or something similar, but I found an implementation for magento 1 ...
0
votes
0answers
24 views

Cart Price Rule - Magento 2.4

I am using Magento 2.4, I am creating Cart Price Rule for conditional free shipping. I am not using any Tax in my website. I am just adding condition in Subtotal, If cart subtotal is greater than ...
0
votes
0answers
56 views

Magento 2.2.9. Sales Order Grid. Order & Filter by column not in database

I´m trying to create a new calculated colunm on sales order grid. This column must indicate if all the products in the order are in stock at the moment the grid is displayed. I managed to create the ...
0
votes
0answers
12 views

Update all bundle products add new options and add products to this option by id?

I have 50 bundle products. I need to add a new option to all products, and add products by id to it, how can I implement this programmatically? Magento 2.2.2
0
votes
1answer
63 views

How to add a Gift Card type product to the cart via REST API?

I can't work out the syntax for adding a Gift Card product to the cart using the POST /rest/V1/carts/mine/items REST API endpoint. What product options need setting? I gather that it needs giftcard ...
0
votes
1answer
42 views

Time to first Byte takes over 3 seconds on home page, Fully load time 14s - Magento 2

The site was working fine until recently, the loading speed has dramatically increase, visitor get Internal 500 from time to time. First i thought it was the recent extension I installed, Marisvit ...

1
2 3 4 5
49