Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
0
votes
1answer
20 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
8 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
23 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
13 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
13 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
31 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
21 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
46 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:...
1
vote
1answer
15 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 ...
0
votes
1answer
63 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
39 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
28 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
40 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
17 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
22 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
35 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
17 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
32 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
25 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"> ...
0
votes
0answers
16 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
24 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
42 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
32 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
42 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
55 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
47 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
35 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 (...
0
votes
0answers
24 views

Speed for the category page

Is there any solution to optimize the speed for the category page which is having more than 2.5 Lac products in Magento 2.2.2? I have tried to debug the code, I have just put only one attribute ...
0
votes
0answers
22 views

Magento update version 2.2.2 to 2.3.2 and cloudfare cache

I have upgraded Magento 2.2.2 to 2.3.2 successfully it works fine on a local server but when do the same thing on server, it creates an issue. the server has complete some different settings. On ...
0
votes
0answers
18 views

Magento Router getParams() duplication reach 100 iteration

Not sure why I am having this issue any help appreciated. When I check: $request->getModuleName(), it is already set and $request->getControllerName() is also already set, the only one that isn'...
3
votes
2answers
23 views

Magento 2 Set $_POST to an empty Array()

I can't seem to find a way to set $_POST to an empty array. I have a form in phtml action to self I can get $_POST values the following ways: $this->getRequest()->getPostValue('form_key'); $...
0
votes
1answer
23 views

Magento 2 system xml config get groups name programtically

I have a custom phtml file in system config and been added to 3 groups: group_1, group_2, group_3 in phtml I have: <input id="my_value" type="number" name="groups[group_1][groups][my_settings]...
0
votes
1answer
30 views

magento 2 system configuration with a custom .phtml template?

in system.xml: <field id="custom_field" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Custom Field</label> <...
2
votes
0answers
55 views

Full calendar integration in Magento 2.2.2

I am trying to integrate the full calendar in Magento 2.2.2 with event management extension(custom). I have follows all steps as suggested But still, it is not working. Please help me to execute ...
0
votes
1answer
43 views

Magento 2 set page title as html

How to set page title to have html on it E.G $this->pageConfig->getTitle()->set(__('Your'.html_entity_decode(' <span>Page</span>'). 'Title')); That's ain't working! Anyone know ...
1
vote
1answer
26 views

Multiple Images Select from Media storage from admin Panel

By Default magento when we select images from media storage it's select images One by One. Is their any way in which we can select multiple images at a time and assign images to product. Please see ...
1
vote
0answers
26 views

Magento 2 Model getData for field at specific store_id

In my Model I have a method getSummary() E.G: public function getSummary() { return $this->getData(BlogInterface::SUMMARY); } I have 3 stores: en_1,fr_2,de_3 I've only set summary in ...
0
votes
0answers
11 views

Magento 2 uicomponent form.xml set data

How do one populate data if form field is in Add New product E.G: I don't seem to find a way manipulate the fields from DataProvider If is New then: $this->_loadedData return Array() I've tried ...
0
votes
0answers
72 views

Magento 2 ui component admin field disabled/enable checkbox on userChanges event

Similar to native Magento URL Key Create Permanent Redirect for old URL: I have a custom module and wants to achieve same result: I have created a group exactly how category_form.xml in my_form.xml ....
0
votes
0answers
47 views

ios Safari - Magento 2.2.2 Responsive Menu Subcategories not Expanding

ios Safari - Magento 2.2.3 Responsive Menu Subcategories not Expanding. Hello, We're finding an issue that occurs with iphone and tablets using Safari. It as a high occurrence rate: Steps> 1. Visit ...
0
votes
0answers
28 views

Magento 2 product collection getSelect Order by Case unException Unknown column 'name' in 'order clause'

I need to use ORDER BY CASE name which is product name Query: SELECT `e`.*, `cat_index`.`position` AS `cat_index_position`, `stock_status_index`.`stock_status` AS `is_salable` FROM `...
0
votes
1answer
13 views

magento 2 Get Top Search Terms

Is there a way to get the 5 tops search terms like in the Dashboard as array without having to query database->table directly sorting them popularity limit 5?
0
votes
1answer
58 views

301 Redirect the Out of Stock Product Pages

Want to redirect for the products who are out of stock to custom url Had tried below url but it did not helped https://stackoverflow.com/questions/4824072/magento-out-of-stock-product-seo-problem
2
votes
1answer
109 views

Magento 2 extend $.mage.quickSearch Widget

I don't seem to be able to extend quick search module widget form-mini.js found in module/path: ../vendor/magento/module-search/view/frontend/web/form-mini.js How can I extend in my custom module $....
0
votes
1answer
216 views

Magento 2.2 - Uncaught TypeError: this.modal.zIndex is not a function

Am using Venus need theme, on mini cart's delete click and Checkout's Already have an account? Click here to login throws this issue. Uncaught TypeError: this.modal.zIndex is not a function modal....