Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

Filter by
Sorted by
Tagged with
1
vote
1answer
19 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 ...
0
votes
0answers
11 views

How to migrate bluefoot content from 2.2.10 to page builder in Magento 2.3.3 directly?

Page builder migration kit supports only page builder version 1.0.0 and Magento 2.3.1, any work around needed for direct migration in Magento 2.3.3?
1
vote
1answer
25 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
33 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
19 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
24 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
24 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
26 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
33 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
22 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
40 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
26 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
27 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
15 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
26 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
5 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
29 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
55 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
6 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
19 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 --...
4
votes
1answer
73 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
140 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
21 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
13 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
9 views

What are the best practices to follow when migrating a custom module & theme from Magento 2.2.x to 2.3.x?

Looking for an best practices to follow for custom theme and modules when upgrading Magento 2.2.x to 2.3.x
1
vote
0answers
13 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
27 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
18 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
12 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
31 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
19 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
17 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
20 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
163 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"...
5
votes
4answers
171 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
14 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
91 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
63 views

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

How to create simple example of React JS Module?
1
vote
1answer
29 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
46 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
20 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
38 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
1answer
142 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 ...
0
votes
0answers
20 views

Change Zip/Postal Code field to drop down in Magento 2.2.x Checkout using custom module

I want to change the Zip/Postal Code input field to dropdown in magento 2 chckout page. Also I want to change its label. I want the above to be done using a custom module. This is what I did: I ...
0
votes
0answers
30 views

How to skip the payment method step in checkout process in Magento 2.3.2

I have magento Open Source 2.3.2 setup my client don't want any payment method now. How to remove payment method step in checkout process. I just want to place order without selection payment method. ...
1
vote
0answers
16 views

Implementation of attribute moving to the selected group, selected set attribute

Tell me how to implement attribute transfer to the desired group. I have attribute set $categorySetup = $this->categorySetupFactory->create(['setup' => $setup]); $...
0
votes
1answer
60 views

Magento 2.2 Can we use Object Manager in Controller or Block? [duplicate]

To get product data, I am using object manager in my controller, but I read in docs that we should not use it directly. <?php pubic function execute() { $objectManager = \Magento\Framework\...