Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Magento UI range filters missing in Magento 2.3.3

date range filters are missing in the My Quotes section after migrating magento from 2.2.10 to 2.3.3 <div class="quote-grid-filters-wrap" data-part="filter-form" visible="hasVisible()"> <...
0
votes
1answer
29 views

magento 2 how to set quantity 0 to 1 on listing page (category page)

<input type="number" name="qty" id="qty" maxlength="12" placeholder="1" value="<...
0
votes
1answer
50 views

Where and how is stored the value of “Use default value” checkboxes in Magento 2 database?

On my Magento 2 website, I have multiple stores. On the product page of each store, description is not shown because it's defined globally and each product has the "Use default value" checkbox ...
0
votes
0answers
280 views

Call to undefined method Magento\Customer\Api\Data\CustomerExtension::getIsSubscribed()

I'm getting an error Call to undefined method Magento\Customer\Api\Data\CustomerExtension::getIsSubscribed() when running integration tests on my local development environment. For some reason it ...
0
votes
1answer
43 views

How to add multiple videos on fotorama gallery in Magento2?

I have to add multiple videos for each product on fotorama gallery. I am using this code, and it is working fine for a single video. <script> require(['jquery'], function($) { $(document).on('...
0
votes
2answers
159 views

Magento 2 how to show background shadow while open menu?

** like this reference website https://www.colorland.com/uk/ when we click on menu its showing shadow background black on body. i have tried with custom JavaScript i have applied custom JavaScript for ...
1
vote
1answer
31 views

How do I create a confirmation pop-up before purchase?

I want a pop-up to show with a message after the user clicks PROCEED TO CHECKOUT. So the process goes like: User clicks PROCEED TO CHECKOUT Pop-up shows with the message with AGREE or DISAGREE ...
1
vote
1answer
221 views

How to overrite cart subtotal price in order summary block magento2

can any one know that i want to update the price of the checkout page order summary Cart subtotal line. how can i do that ? knowckout file is render is subtotal.html : <tr class="totals"> ...
0
votes
1answer
188 views

Magento 2 How to hide configuration field with a condition?

I have the following configuration field: I'm using a backend_model and frontend_model for rendering this field with two options. How can I disable it with a condition? What should I use?
0
votes
1answer
21 views

Important div tag commented out when on production mode

We noticed that some of our page layout has been broken. Did some debugging and found out that when in production mode there are some errors with the tags. Specifically: <!--?php <?php <?...
1
vote
1answer
80 views

Magento 2.3.x best practice to update the website in production mode

What are the best practices to update the website in production mode? For example, if I need to update the less files, images, js etc. what would be the best approach to update the website in ...
0
votes
1answer
63 views

Magento2 How to set pretty url for advance search

i need to change the url patter in advance search in magento2 like : catalogsearch/advanced/result/name/simple/ in default is gives the as query string but i need to change this. how can i do this ? ...
1
vote
2answers
36 views

QLSTATE[42S02]: Base table or view not found: 1146 Table 'mysite.vgroup_testimonial' doesn't exist, query was: DESCRIBE `vgroup_testimonial`

I have installed an extension for testimonial by V Group Inc. after the installation when i tried to add testimonies, the extension was giving me this error SQLSTATE[42S02]: Base table or view not ...
1
vote
0answers
38 views

Image Resize Command Issue in Magento 2.2.X

I have Magento 2.2.x running website which is having more than 50K products and each product has up to 27 additional Images. When we run resize command (bin/magento catalog:images:resize), it takes ...
0
votes
0answers
37 views

Top Search Not working in Menu Section in Magento 2?

I want to move my top.search to the menu that's why I added below the line in my default.xml file <move element="top.search" destination="catalog.topnav" /> After doing that tap cart ...
0
votes
2answers
83 views

magento2-how to use javascript inside knockout in magento2

i want to use the <script type="text/javascript"> require([ 'jquery' ], function(jQuery) { jQuery('input[name="telephone"]').keydown(function(event) { ...
0
votes
2answers
77 views

magento2 input type number accept “E”

Hello I'm facing the issue, when I change the input type text to number then it will allow the small and capital E latter rest of all letter will not able to type from keyboard but how can we prevent ...
0
votes
1answer
29 views

Magento 2.2.6 - Custom modue setup version for module is not specified

I try with this but my local system is working fine but the same module when I upgrade in live site then is not working it gives the exception please let me know what I have to do? Please see below ...
0
votes
0answers
16 views

Magento 2.3 - After adding product to cart - But Cart Page, Mini Cart and Chekout showing Empty

I'm facing this issue on my live server, when I'm adding product to cart the ajax requests from (1) to (0). I'm getting this message (Product added successfully) But mini cart, cart page, and checkout ...
0
votes
0answers
13 views

M2.2CE - Different weights when ordering different quantities

We have an issue where we have an item that is originally 3 pounds but goes inside an 8-pound box due to sizing. This is fine as we will then set the product to around 8 pounds and be done with it. ...
1
vote
0answers
28 views

language translation and migration

I've used the data migration tool to move from magento 1.6.2 into magento 2.2.7 I've some issues (mainly on backend) where it seems as if magento doesn't properly put text, instead it displays curly ...
0
votes
0answers
17 views

I tried to add new page fresh without system js & css code in Magento 2

I am trying to add a page with a custom layout, where only custom CSS & Javascript will present. But it does not remove the default merge CSS & js file there, and also other Magento 2 code ...
0
votes
0answers
6 views

M2.2.4 CE - Add custom fields to Sales Order REST API Order Export

We have an extension that allows our customer to fill in some custom fields within checkout. Once that is done, we ideally would like to include those fields within our REST api order export that we ...
0
votes
1answer
39 views

How to get summary count with cache enable on all pages footer?

I am unable to get summary count with php code when cache is enable. I used below code. <?php $helper = $this->helper('\Magento\Checkout\Helper\Cart'); echo $helper->getSummaryCount(); ?>...
1
vote
2answers
240 views

How to make the Video Autoplay in cms block? Magento 2.2

In Cms Block, I'm trying to add an embed Youtube video that would autoplay upon the page is loaded. However, the part that defines autoplay "?autoplay=1&loop=999999999999&playlist=_bkTXNozzzQ" ...
0
votes
0answers
8 views

Add Custom grid with filter in Admin catalog page

I need to show custom table data in Grid with filters in Magento 2 admin product Add/Edit Page. I used this below code in /app/code/Vendor/Module/view/adminhtml/ui_component/product_form.xml <?...
0
votes
0answers
104 views

Braintree 3D Secure 2 implementation on magento 2.2 Error Class League\ISO3166\ISO3166 does not exist

Has anyone from magento community upgraded the Braintree module to version 3.4.1 . i tried to install it through composer via the following command , composer require paypal/module-braintree:3.4.1 --...
5
votes
1answer
318 views

Magento 2 - How to add dynamic-row multiselect?

This image what I already have. I have to make second column as multiselect. How to achieve this? This should be configuration field.
3
votes
4answers
409 views

Error Upgrade from Magento 2.2.5 to Magento 2.3.3

I tried upgrading my Magento 2.2.5 using composer like this: php bin/magento deploy:mode:set developer php bin/magento cache:disable php bin/magento maintenance:enable composer require magento/...
0
votes
0answers
25 views

Internal Server Error 500 after upgrade Magento version from 2.2.6 to 2.2.10

After I upgrade the Magento version from 2.2.6 to version 2.2.10, I get Internal Server Error 500 when I try to access the website. I tried multiple solutions for example (a) removing var folder and ...
0
votes
0answers
23 views

Plesk Composer Error in Admin

Started getting this error when trying to create an online refund using the OnTap Mastercard Module. There are no errors when creating credit memos for offline refunds. Source class "\Plesk\...
1
vote
0answers
43 views

M 2.2 - Swagger UI gives undefined and Request does not match any route

Failed to load API definition. undefined https://www.example.com/rest/default/schema?services=all While inspecting further i can see that it gives me below error. {message: "Request does not match ...
1
vote
1answer
109 views

Magento 2: Ui form not loading after adding select field

I have a ui-form for adding new record to my table. But the form is not loading when I add a new select field into it. Here is the field component in the form.xml file, <field name="...
0
votes
0answers
13 views

Change Default Behavior of Clicking on any item in Pages, Blocks, Products, Etc, in Admin

I would like to the change the default behavior when you click on an item from any page that provides you with a list to edit that page. For example, when you go to Content > Pages, it populates a ...
1
vote
0answers
19 views

Unknown index “UsernamePasswordFormAuthenticve_index” in cron logfile - security issue?

Today i noticed a really strange index and code dump in cron.log: UsernamePasswordFormAuthenticve_index is successfully finished ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
0
votes
0answers
14 views

Magento 2: How to get product details which are updated with Cron

I want to get the product details from Magento which are updated with CRON job. I am able to get the product details if the products are updated from the admin panel and Importing from CSV using ...
1
vote
1answer
45 views

Magento 2: Unable to resize the swatch image

view.xml: <image id="swatch_image_base" type="swatch_image"> <width>500</width> <height>600</height> </image> <...
1
vote
1answer
28 views

Magento 2.2.9 product page won't load

I am having an issue that I don't fully understand why the product page won't load. I am on Magento 2.2.9 using VES Floristry theme from Land of Coder. I have a ticket in with them, but frankly, I'm a ...
1
vote
0answers
23 views

How to display price for out of stock products in magento2

How to display the price for out of stock product (configurable type) in magento2. I also refer to these links: Magento2: show price for out of stock configurable products. Magento 2 : How To Show ...
0
votes
1answer
23 views

How to hide product price for entire website in magento2 [duplicate]

I have used the below code its not working. di.xml file: < config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/...
4
votes
3answers
265 views

Magento 2 - Get product image url in API

I am creating custom API in magento 2 and I need to get image URL of product. I have used this code to get image URL: $imageUrl = $this->listProductBlock->getImage($product,"category_page_grid"...
6
votes
4answers
256 views

Sort by Best Seller on Category Page occur issue on Paging(Shows 1 item)

I have an issue from last three days.I make a sorting option by Best Seller on Category listing Page. Here You See three Products but item shows 1 which occurs issue on paging. I used ...
1
vote
0answers
16 views

How to table rate shipping charge apply with specific state?

I have Made one CSV for the table rate shipping method. When I import CSV in the table rate shipping rate method. Given this error We couldn't import this file because of these errors: Please correct ...
1
vote
1answer
623 views

Magento2 composer update get stuck and not proceeding further

I am upgrading Magento version from 2.1.9 to latest i.e. (2.3.3). Steps I followed are: composer require magento/product-enterprise-edition 2.3.3 --no-update composer require --dev allure-...
4
votes
1answer
160 views

Magento 2 : How to create simple example of React JS Module?

How to create simple example of React JS Module?
1
vote
1answer
141 views

Magento 2 how to pass if exist search criteria in rest api call

I need to filter getList records in my rest api call. I have following: searchCriteria[filter_groups][0][filters][0][field]=city_ref&searchCriteria[filter_groups][0][filters][0][condition_type]=...
0
votes
0answers
138 views

Issue with categories on Magento 2.2.10 Porto Theme demo 19

I have a very strange issue when I create a new subcategory inside the default category in Magento 2.2.10 Porto Theme demo 19. After I enable the "include in menu" button, it does not show on the ...
0
votes
0answers
22 views

No payment methods available after entering zip?

Magento 2.2.6 with standard checkout I have 3 available countries in my checkout. After switching between the countries, the available payment methods are shown or hidden accordingly, so that works ...
1
vote
0answers
77 views

Magento 2.2(checkout page): Uncaught SyntaxError: Unexpected end of JSON input

I have read other posts here in this forum but I am having a hard time finding the solution to my problem. On the checkout page, the shipping method does not show and is only loading forever. (we are ...
1
vote
2answers
350 views

Upgrade issue 2.2.3 to 2.2.10 Class argument is invalid: xxx\xxx\Ui\Component\DataProvider\DataProvider

I've got a store which has had a significant upgrade. Gone from 2.2.3 to 2.2.10. I've handled a lot of issues already. The frontend seems fine. Having a problem with backend. Getting errors when ...

1
2
3 4 5
49