Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

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

Error when adding a user

When I try to create a user, I get this error: "Rolled back transaction has not been completed correctly." In system log I get: main.INFO: Broken reference: the 'notification.messages' tries to ...
0
votes
1answer
345 views

Magento 2.2 Make fewer HTTP requests

I Checked my website in the gtmetrix and i got one of the following suggestion This page has 95 external Javascript scripts. Try combining them into one. This page has 6 external stylesheets....
0
votes
2answers
40 views

How to load collection only with specific attributes?

I try to load collection with specific attributes this way: $collection = $this->productCollectionFactory->create(); $collection->addAttributeToSelect('entity_id')->...
0
votes
0answers
31 views

How to add checkbox to custom grid via Renderer\AbstractRenderer or Renderer\Checkbox?

I have to add a column checkbox based on a column from DB. Checkbox column is appearing in the grid, but I can't change(grid doesn't change after save) the value of the checkbox and it always stays ...
0
votes
0answers
544 views

Magento 2.2.6 : How to solve this error “ Validate class not found from basename 'Magento\Framework\Validator\EmailAddress' ”

How to solve this error ? "Validate class not found from basename 'Magento\Framework\Validator\EmailAddress'"
0
votes
1answer
47 views

Magento 2 tier price is not showing with tax

<?php if($_product->getTierPrice()){ foreach ($tierPrice as $key => $value) { $qty = (int)$value['price_qty']; $price = $value['price']; $formattedTierPrice = $...
0
votes
1answer
484 views

magento2, category products position in catalog product list widget

I have added positions to the products in category in the backend. This position is working in Category page in Frontend. But this position of product is not working in Product list widget inside a ...
1
vote
0answers
20 views

magento 2 Newsletter subscription Success or Failure message not getting displayed

Hi Here I called magento newsletter subscription block in to my phtml file. but after hitting submit its redirected to same page but no any messages are showing. how to add success or failure message. ...
0
votes
0answers
41 views

Magento2 - More than 80 product cant able to import

I have total 1280 proudcts in my csv file in my csv only qty and sku column is there and I try with that in my live server at a time 80 products are imported successfully but more than 80 products is ...
0
votes
1answer
45 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
109 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
1answer
940 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
2answers
317 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
514 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
60 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
915 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
793 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 <?...
2
votes
1answer
177 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
138 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
47 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
45 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
2answers
350 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
149 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
36 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
20 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
31 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
1answer
66 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
759 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
266 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
1k 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
1k 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
28 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 ...
1
vote
0answers
89 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
236 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="...
1
vote
0answers
23 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 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
1
vote
1answer
73 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
38 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
24 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
26 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
474 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
447 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
17 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
2answers
2k 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
346 views

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

How to create simple example of React JS Module?
1
vote
1answer
411 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
27 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
113 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
537 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