Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

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

magento 2.2 free shipping is not showing, Show Method if Not Applicable (yes)

[magento 2 free shipping is not showing if show method yes in magento 2.2] **it is magento 2.2 core file issue** https://i.stack.imgur.com/mwJr0.png
0
votes
0answers
15 views

Magento 2.2.2 - Can't add a new website

I have one Magento 2.2.2 with 2 websites added there and everything work fine, when I try to add a 3rd new website, when I try to access it I have the following error: 1 exception(s): Exception #0 (...
0
votes
2answers
32 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
11 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
41 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
12 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
8 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
47 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
11 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
19 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
41 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
18 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
20 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
12 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
37 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
35 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
21 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
43 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
12 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
10 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
15 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
71 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
314 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
37 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
9 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
69 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
24 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
10 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
18 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
48 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
11 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
34 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
34 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 ...
2
votes
2answers
84 views

Success page redirection issue

$this->checkoutSession->getLastSuccessQuoteId() $this->checkoutSession->getLastQuoteId() $this->checkoutSession->getLastOrderId() These things always returns false after payment ...
0
votes
0answers
11 views

Remove Layered Navigation for specific category in Magento 2.2.11

My version of 2.2.11 has the new system for Custom Layout Updates where you upload the the layout in app/design/frontend/Theme_Vendor/Theme_Name/Magento_Catalog/layout I need to disable the display of ...
0
votes
0answers
8 views

Magento225 Default Shipping Methods Are not showing in frontend

i have unable magento225 default shipping method knows ans flatrate, but it is not showing on frontend. does anyone have idea ,how i can show ? below is the settings https://i.stack.imgur.com/VROSE....
0
votes
1answer
23 views

Insert shipping address to an existing order in Magento 2.2

I am trying to insert billing & shipping address for some existing orders. We had a product mistakenly set as virtual product and some customers purchased it. Now I need to manually insert their ...
0
votes
0answers
17 views

V1/customers/me rest endpoint returning same response for each request

I am working on magento2.2.6, Rest api endpoing V1/customers/me returning a single response for each token. I have generated tokens for different users, but it always return the same response, even ...
1
vote
1answer
147 views

Magento 2 - Catalog rules cronjob stuck at working with increased number of backlogs

Catalog Rule Product, it always shows as working and and 735 in backlog Tried these but didn't work for me: Reindexing Changed state to "Update on Save" then revert back to scheduled Wait ...
0
votes
2answers
109 views

Magento 2.2.11 - How to add attachment to an email, Call to undefined method Magento\Framework\Mail\Message\Interceptor::createAttachment() error

I have installed the pdf invoice Extension in Magento 2.2.11. I'm getting this error while placing the order, Call to undefined method Magento\Framework\Mail\Message\Interceptor::createAttachment() ...
0
votes
0answers
34 views

PHP Fatal error: Uncaught Error: Class 'Magento\Framework\Stdlib\Cookie\PublicCookieMetadata' not found

I am watching this error in my nginx(fpm-php7.1.web.log) file.Can anyone help me why this is error occurs and how we resolved it. The complete error is: [31-Aug-2020 04:21:05 UTC] PHP Fatal error: ...
0
votes
0answers
48 views

Magento 2: Add datepicker in massaction field in block grid

I am trying to show the date picker in the mass action field in the custom block grid. Here is my code: $this->getMassactionBlock()->addItem( 'update_eta', [ 'label' =>...
0
votes
0answers
29 views

Payment credit card fields not visible in safari browser in Magento 2.2.5

I'm working on a project in Magento-2.2.5 but on checkout the payment method add cards and other fields does not appear. This issue only occurs in safari browser, in other all browser it works fine. ...
-1
votes
1answer
33 views

Magento 2: Plugin is not working on server while it's working fine on localhost

Here I have created a plugin to stop the order mail notification for some specific payment. This plugin is working fine on my localhost but not working on server. My di.xml file codes: <?xml ...
0
votes
1answer
324 views

How can I disable customer emails when order create using rest api in Magento 2

Is there an API call or cart/quote setting I can use to turn off customer notifications just for the order confirmation? I create order using this api Method:PUT url: http://localhost/testproject/...

1
2 3 4 5
49