Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

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

Integrity constraint violation 1062 duplicate entry - Magento 2.3.0

I'm facing this error in during when i run this setup:upgrade command. Can you help me regarding this issue, how to i'll fix this error ? Thanks
0
votes
1answer
25 views

Magento 2.2.2 Plugin how to add custom field in request api

I've create a plugin to listen to api POST /V1/order/:orderId/refund and I would like to receive custom field. I've added a field for testing like: name:['test'] Body E.G: { "items": [ ...
0
votes
1answer
11 views

Magento 2.2.2 Custom Api

I have created a custom api and add some getters and setter, I'm looking to find out if it's possible to pass key pair values in the post without having to set the setters. When I call the api I get ...
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
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
17 views

Wrong with processing the default view and we have restored the filter to its original state

Anyone can help me regarding this issue? why this error is occurring in Magento 2.3.0. I transferred my website from localhost to live server, On the live server, I'm facing this issue in under ...
0
votes
0answers
27 views

Rebuild Customer grid index not working - Getting Error

anyone can help me about this issues, i'm getting this error. I'm trying to fix it, But i could not found any solution. {"0":"Notice: Undefined index: PK_CUSTOMER_ENTITY in /vendor/magento/module-...
0
votes
0answers
22 views

Magento2.2.2 admin URL shows 404 at local server

I have setup a Magento2.2.2 store from LIVE to LOCAL. Now frontend is working but admin login URL shows 404 Not Found error. Not Found The requested URL was not found on this server. What I have ...
0
votes
0answers
13 views

M2.2.2, Fatal Error after returning to order confirmation page from Paypal during checkout

M2.2.2, Fatal Error after returning to order confirmation page from Paypal during checkout. I have recently began experiencing an error during checkout in Magento 2.2.2; when you proceed to checkout ...
1
vote
0answers
12 views

Magento 2.2.2 order refund REST API Before Plugin get item order to refund

Vendor\Module\Plugin\Order\Plugin.php: namespace Vendor\Module\Plugin\Order; class Refund { /** * Create refund for invoice * * @param int $invoiceId * @param \Magento\Sales\...
1
vote
1answer
35 views

Magento 2 credit memo API observer/plugin

I'm interested to know if an observer or plugin will be trigger if a credit memo is created via API rest example: POST /V1/creditmemo/refund OR POST /V1/invoice/{invoiceId}/refund ref:https://devdocs....
1
vote
1answer
71 views

Notice: Undefined index: default in vendor/magento/module-catalog/…BatchSizeCalculator.php

I got this error when try to reindex catalog_product_price php bin/magento indexer:reindex catalog_product_price Notice: Undefined index: default in /public_html/vendor/magento/module-catalog/...
1
vote
0answers
17 views

Default store as empty value in customer creation page

I would like to set default store value to empty value or 0 in stores dropdown list near field "Send Welcome Email From", in customer creation page. I like also to receive an error when user keeps ...
1
vote
0answers
25 views

Cart showing minimum order amount error

My cart has a total order amount greater than $1.00 still it shows an error Minimum order amount is $1.00 As the cart has an order total of $2.62 even after applying a discount which is greater than ...
0
votes
1answer
34 views

Call store Switcher in phtml file directly in Magento 2

I want to call Store Switcher in phtml file directly. I tried to call directly but its not working. Kindly review. $this->getLayout() ->createBlock('Magento\Store\Block\Switcher') ...
0
votes
0answers
34 views

Magento 2.2.2 - Authorize.net Direct Post order place issue

The order is placed using an Authorize.net Direct Post order but did not take a credit card. Anyone face this type of issue?
0
votes
1answer
24 views

Create a attribute set and add an attribute to it

How to create an attribute set set of the set attribute inherited from default and add a simple attribute to it that will be in the 'Content' group of the product Use UpgradeData because magento 2.2....
0
votes
1answer
45 views

I am getting Uncaught ReferenceError: wysiwygSetup is not defined

Please anyone can help me here, I am getting the require undefined in js, below is my code. Thank you My code: <script> require([ "jquery", "mage/...
0
votes
1answer
65 views

Magento 2 custom module ui component admin form add fieldset within a field

Can one have a Fieldset within a field ?. E.G: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
0answers
11 views

Magento 2 export/import table column as timestamp but populated as datetime 1:5: conversion failed: “” to datetime

Not sure if anyone has faced this issue before where you exported a table then import back but if fails due to created_at and updated_at is populated as datetime where they have been specified as ...
0
votes
1answer
30 views

Magento 2 category image 404 with store code in url

I have a phtml file in my theme that is added to category page via XML updates tab. I read image in phtml like so: $this->getUrl('media/catalog/category/').$_category->getImageUrl() My theme ...
0
votes
1answer
38 views

Magento 2 get Block Toolbar custom module gives Error

In catalog_category_view.xml <referenceContainer name="content"> <block class="Magento\Catalog\Block\Product\ProductList\Toolbar" name="my-block-name" template="Vendor_Module::...
0
votes
0answers
9 views

Filter Date Issue occurs when default language to French

I am working with Magento 2.2.3.I have an issue on changing the Local Interface. When I change Account Language of a admin user from English to French and search by date. The date will be auto ...
0
votes
0answers
18 views

magento 2 image upload not keeping the size it should from view.xml Luma theme

I have upload one image size width=700 AND height=900 Luma path is: ../vendor/magento/theme-frontend-luma/etc/view.xml I can see the bellow : ... <image id="product_page_image_medium" type="...
0
votes
1answer
37 views

Magento2 - Cron readiness check failure

Cron is not working properly showing error in /var/www/domain.com/var/log/update.log [2019-09-25 07:07:02] update-cron.ERROR: Cron readiness check failure! Found non-writable paths: /var/www/...
0
votes
1answer
42 views

Magento 2 how to listen to event fotorama fullscreenenter

I am not able to listen to event fotorama:fullscreenenter what I've tried: <script type="text/javascript"> require(['jquery', 'mage/gallery/gallery'], function($, gallery){ $('[...
0
votes
2answers
111 views

Upgrade magento 2.2.2 to 2.3.2 getting error

We are trying to upgrade a Magento 2.2.2 site to Magento 2.3.2, when executing **php bin/magento indexer:reindex** we get the error... Design Config Grid index has been rebuilt successfully in 00:00:...
2
votes
1answer
16 views

How to set email logo as it is Sales email Magento2?

I have created custom email template in which i include header but i get the by default Luma logo instead of which i upload the logo from the backend side how can i got the Uploaded logo in my custom ...
1
vote
1answer
93 views

Magneto 2.2.2 upgrade to 2.3.2 Getting Error

We are trying to upgrade a Magento 2.2.2 site to Magento 2.3.2, when executing php bin/magento setup:di:compile we get the error... Repositories code generation... 1/7 [====>-----------------------]...
1
vote
1answer
104 views

Magento 2.2.2 to Magento 2.3.2 - setup:upgrade error

After being able to update magento to 2.3.2 Which is in current state when I try to run the command bin/magento setup:upgrade: get the below error root@---:/var/www/html# bin/magento setup:upgrade ...
0
votes
1answer
32 views

Magneto 2.1.9 upgrade to 2.2.2 Getting Error

We are trying to upgrade a Magento 2.1.9 site to Magento 2.2.2 Getting Error .. " Can anyone help me " Upgrade Commands - composer require magento/product-community-edition 2.2.2 --no-update Then ...
1
vote
1answer
49 views

Magento 2: Remove “active” class of search-bar on-click of mini cart?

My problem is when I click on search button search bar open but when I click on mini cart search bar is still open, How to close search bar when I click on the mini cart, please help me.
0
votes
0answers
21 views

Magento 2 system config get frequency full value

in magento system config xml one can use: <field id="frequency" translate="label" type="select" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Frequency<...
0
votes
1answer
49 views

Magento 2 Reset Modify FROM select query

How can one modify the FROM in select query without losing the left joins innerJoin etc... ? as I have tried: $collection->getSelect()->reset(\Zend_Db_Select::FROM)->from('table_2') but then ...
0
votes
1answer
54 views

Magento2:I can't the send email to admin after Customer Register

I have create the observer when the customer is register to get notification to admin <event name="customer_register_success"> <observer name="sendmail_toadmin" instance="Namespace\...
0
votes
0answers
6 views

How to set default custom attibute value 0 to show in customer grid magento2

I have created wholesaler form by default values gone to 0 and it should display no in customer grid as column of Approve account magento2
0
votes
1answer
28 views

Magento 2.2.5 Unable to get orderGrandTotal() in success.phtml

I'm trying to get access to the grand total of the order but for some reason am unable to access this variable. I have tried multiple solutions by creation modules but nothing seems to be working. ...
0
votes
0answers
38 views

Magento 2 System Config Plugin

I have created a custom tab in system config and added 1 field Module Enable Yes/No and 1 Dynamic fields which is depends on Module Enable. When Module Enable is set Yes I created various dynamic ...
0
votes
1answer
37 views

Magento 2 : How to validate confirm password

Password confirmation not working, code is given below <div id="password-div" style="display:none"> <div class="field password required"> ...
1
vote
0answers
24 views

Magento 2 Get Core Config Data columns

How do one get the column scope_id from core_config_data via given path E.G: $this->_config->getValue(self::MY_PATH, ScopeInterface::SCOPE_STORE); The above returns the column value I need ...
0
votes
0answers
17 views

Magento 2 check whether value retuned from SCOPE_STORE Config is default(0)

I have this: $data = $this->_config->getValue(self::MY_CONFIG_PATH, ScopeInterface::SCOPE_STORE); $data will contain the my data whether it's a string or [] for the simplicity lets say it ...
0
votes
0answers
25 views

Magento 2 system config Concatenate data to existing field with plugin beforeSave or aroundSave

I have a drop down field containing fruits where I would like to concatenate some data e.G: Using a Plugin save the data like so: Bananas are high in potassium Where are high in potassium is the ...
0
votes
0answers
309 views

Magento 2 Add extension attributes in Quote Item

I want to add custom attribute in quote items Magento\Quote\Api\Data\CartItemExtensionInterface <extension_attributes for="Magento\Quote\Api\Data\CartItemExtensionInterface"> <attribute ...
0
votes
1answer
50 views

Magento 2 Dynamically Add file uploader in system config

How to add a file uploader render in a dynamically added rows? something like: But in dynamically added Like: Let say before or after drop down and the input text field? Best!
0
votes
1answer
67 views

Creating a dynamic row file upload and drop down option in system config

I've checked the example here: https://devdocs.magento.com/guides/v2.3/ext-best-practices/tutorials/dynamic-row-system-config.html Which add text inputs, But how to add other types of input such as ...
0
votes
1answer
28 views

Magento 2 require blocking all links

All links in my Magento 2 store just suddenly stopped working. If I remove the top require, it works: var require = { "baseUrl": "https://2f44f.mojostratus.io/static/version1564697154/...
1
vote
2answers
73 views

Magento 2 setTemplate and add content to phtml template

How to add bare HTML to a block e.g: $block = $result->getLayout()->getBlock('category.description'); $block->setTemplate('Vendor_Module::myTemplate/blank.phtml') ->toHtml('<p>My ...
1
vote
2answers
51 views

Magento2: redirection problem from observer or Logging Out from two application at same time from observer

I am trying to logout from two applications I have a logout observer, where I am trying to logout from external application and also from Magento. Here Problem is when I am logged out from the ...
1
vote
0answers
40 views

Magento2.22 In sitemap.xml inside more than product url getting like this “catalog/product/view/id/51”

I am using Magento2.2.2 and I used third-party module for URL regenerate this Iazel_RegenProductUrl and I apply command line through change URL for example apply this /usr/local/php71/bin/php-cli ...
0
votes
0answers
22 views

Magento 2 custom module select query doesn't work

I have the following query: SELECT `main_table`.*, `secondTable`.* FROM `table_one` AS `main_table` LEFT JOIN `table_two` AS `secondTable` ON main_table.blog_id = secondTable.blog_id WHERE (...