Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
0
votes
2answers
29 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:...
0
votes
0answers
21 views

Why Load Setting and Test Now Button is not working or disabled of Mageplaza SMTP Extension? [on hold]

I have installed Mageplaza SMTP Extension in our store.In SMTP Configuration, Load Setting and Test Now Button is disabled or Not working in magento-2.2.2. Please Help me to solve it.
1
vote
1answer
651 views

Magento 2 get catalog rule product details in final_price.phtml

I will try keep simple and short. e.g I have set a rule in catalogrule table and I am interested in 2 fields value: simple_action: by_percent discount_amount: 40.0000 and in catalogrule_product ...
0
votes
4answers
711 views

Magento 2 Customer Account Navigation Add Css Class to link not working

XML: <referenceBlock name="customer_account_navigation"> <block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-account-link"> <...
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
56 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
78 views

How to override definition.xml file in Magento 2?

I am developing an extension to add another export format option in order toolbar in export button dropdown. What I found yet is that there are two options here (Sales Order Toolbar) right now: a) ...
1
vote
1answer
31 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 ...
2
votes
2answers
277 views

Not able to translate OK and cancel buttons in confirmation popup minicart

After adding an item into cart if we goto mini cart and click on remove item a confirmation popup with Ok and Cancel option will appear. I am not able to translate the Ok and Cancel buttons. Please ...
0
votes
1answer
26 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
35 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<...
1
vote
1answer
910 views

Magento 2.2.2 Store and Admin not loading

OS Windows Server 2008 Magento 2.2.2 XAMPP 3.2.2 PHP 7.1.13 I was working on a local install of Magento 2.2.2 (I installed it when it was 2.2 and then when the 2.2.2 version came it auto-updated ...
0
votes
1answer
20 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 ...
1
vote
3answers
483 views

Frontend show message “Merge for content type” when Upgrade magento 2.1.8 to version 2.2.2 :

Frontend show message "Merge for content type" when Upgrade magento 2.1.8 to version 2.2.2 : 1 exception(s): Exception #0 (InvalidArgumentException): Merge for content type '' is not supported....
1
vote
4answers
752 views

Static files - 500 error

I installed fresh Magento but there are no styles or js. Files are in pub folder , but if open in browser I'm getting Internal Server Error. Please help. This is localhost, wamp. Thank you! (I tried ...
0
votes
2answers
540 views

How to add “read more” to category description in product listing page in Magento 2.2.4?

I don't know how to implement this task. I have used in smart wave and Porto theme. I want to add read more in the category description. Can you please help me?
1
vote
1answer
244 views

Magento 2 Command line throw errors in developer mode

In production mode, my website is working fine. But as soon as I enable developer mode, I can not use command line any more. In developer mode, if I use for example php bin/magento cache:flush, I'll ...
0
votes
1answer
30 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!
3
votes
1answer
6k views

Varnish - Error 503 Backend fetch failed

I getting this error how can i do? i try to editing many time but still not work. Error 503 Backend fetch failed Backend fetch failed Guru Meditation: XID: 35 Varnish cache server My ...
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
2answers
278 views

Magento-2 order is not created after Successful Payment - PayPal

In my Magento website, Customer has placed an Order, PayPal received the amount with the Magento Order ID. But still, Customer didn't get to reach the Success page. Also that Order not listing at the ...
2
votes
1answer
1k views

Magento 2.2.2, Unable to unserialize value, magento_umask and edting Json.php did not help

After upgrade I'm getting below error in my local : Exception #0 (InvalidArgumentException): Unable to unserialize value. #0 myPath/vendor/magento/module-theme/Controller/Result/MessagePlugin.php(...
0
votes
3answers
971 views

IN STOCK FILTER FOR Magento 2 Product collection

i am trying to filter inStock product in Magento 2 Using \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $collectionFactory, by $collection = $this->_collectionFactory->...
1
vote
1answer
593 views

Magento2.2.2: UI Component Grid Filter Issue

In my custom module, my Grid Records are deleting perfect without applying filter. When i apply filter on grid records and try to delete only filtered records, it not only delete filtered records but ...
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. ...
2
votes
3answers
1k views

Magento 2 : setOrder not working in collection

In my custom collection $career_collection->setOrder('career_id','ASC'); not working. My function is below public function getAllCareers(){ $Careers = $this->_careersFactory->create(); ...
1
vote
2answers
1k views

Static files version folders not found hence design collapsed and getting 404 for all css and js

I was trying to rectify some ACL issues in my application I removed the static folder inside pub and I run di:compile and static-content:deploy and I gave 777 permission to var and generated folders, ...
0
votes
0answers
55 views

Magento 2 product page price rounding up on new store view

I've created 2 store view under 1 wesbites->stores store view 1 = default has Euro currency. store view 2 = Swiss has Swiss franc currency. I've added a product on both store view now ...
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
167 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....
0
votes
1answer
20 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
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
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
23 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
38 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 ...
1
vote
1answer
428 views

How Do I create Backend form in magento 2 without using ui-component

I have created grid using ui-component, Now I want to create form without using ui-component. So please provide me a solution
0
votes
1answer
31 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 ...
1
vote
1answer
681 views

Magento 2: Image not uploading in grid "Attention: File was not uploaded”

Created a custom module using Ui_Component,facing problem during image upload. Error (On alert) : Attention: File was not uploaded Ui_Component Form Code for Upload: <field name="icon"&...
0
votes
2answers
604 views

Magento2: How to add a small Icon image on product image in product view page in magento 2

I wish to add small icon image on the product image in magento 2. From which template the product image is loaded in product view page. Please provide me a solution.
0
votes
1answer
26 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/...
0
votes
1answer
696 views

Magento 2: Cookies expiration time is not extended for customer

I have increase cookies lifetime for the customer but it not working. After customer login, 1 to 2-hour customer stay login if he/she close browser then again start browser at that time customer need ...
1
vote
2answers
49 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 ...
2
votes
0answers
48 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 ...
3
votes
5answers
6k views

Get database connection in magento 2

I wish to have code equivalent in Magento 2. The below one is Magento 1 $resource = Mage::getSingleton('core/resource'); $connection = $resource->getConnection('core_read'); I need the above ...
0
votes
1answer
620 views

magento 2 custom component at checkout-step-shipping as shipping address child

I trying to add a custom template @ checkout between form customer login and shipping address inside div id="checkout-step-shipping" there are 2 forms : I've tried a few thing like 'before-form' etc....
1
vote
2answers
44 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
34 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 ...
4
votes
4answers
2k views

How to get additionnal options product from quote item

I have some Vitrual product with options, I need to get his options but I can just get the info_buyRequest instead of additional_options Here is my code: $objectManager = \Magento\Framework\App\...