Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
11
votes
4answers
5k views

Shipping address custom attribute value not display in address box in magento2.2.2

I have added the drop-down custom field on checkout page with custom values. It's working fine also save attribute values in the database but not display in order shipping address.any idea how to show ...
0
votes
3answers
2k views

How to solve the error : “Could not save product ”20072“ with position 0 to category 7” in magento 2 [duplicate]

While unasign the product from multiple categories to single category and trying to save the product, it thorow the error like below Could not save product "20072" with position 0 to category 7 I ...
5
votes
3answers
2k views

Magento 2.2 move review tab below description with all product reviews

I have added the following code to 'Magento_Review/layout/catalog_product_view.xml': <move element="reviews.tab" destination="content" after="product.info.details" /> The above code moved the ...
5
votes
1answer
1k views

Magento 2 Reindex Fail `Unknown column 'entity_value.value'` in 'field list'

I am having this error when running php bin/magento indexer:reindex also failing when loading the product: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'entity_value.value' in 'field list',...
2
votes
1answer
2k views

How to add save and continue button in ui-form in Magento 2?

I have created admin grid and form using ui component. Now I need to add save and continue button, How do I add it? Please provide me a solution
2
votes
1answer
2k views

Array to string conversion in Magento 2

Notice: Array to string conversion in /home/pacifi48/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 2999 Magento 2 Version 2.2.2 How to solve???
0
votes
1answer
93 views

SOLVED - Moving Magento 2.2.2 development environment to production environment

I'm trying create and manage my Magento project with 2 domain on my webserver. I'm using Magento 2.2.2. 1. dev.test.com => for development. 2. test.com => for production. My idea is using github repo ...
14
votes
4answers
19k views

500 Internal Server Error when installing magento2.2.2

I am trying to install Magento 2.2.2 on my local Windows environment with WAMP. But it gives me a 500 Internal Server Error. When I replace the previous version of htaccess file it does work. Would ...
9
votes
2answers
7k views

Magento 2 Please update innodb_buffer_pool_size or decrease batch size value

After installing Magento 2.2.2 when I check my error log I get this warning. Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. Please update ...
7
votes
2answers
315 views

Disable cart sharing between different Stores of website in Magento 2?

My website is with Three different Stores and I'd like to disable the cart sharing feature between stores. So when I switch from one store to the other store, the product in my cart shouldn't be valid ...
5
votes
1answer
1k views

Ui-component form (Adding drop down field)in magento 2

I need to create backend admin form which contains two dropdown fields.But One is dependent on other. One dropdown contains attributes like brand,color etc.. The second one contains associate options ...
4
votes
5answers
2k views

Magento 2.2.2 remove other shipping methods and enable only free shipping if consumer total more than 100

We are using Magento 2.2.2, We have more then 5 shipping methods enabled in our site. We needs to remove other shipping methods and enable only free shipping if the cost of their order totals to ...
3
votes
5answers
5k 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 ...
1
vote
2answers
1k views

No such entity with id = 0 for CategoryRepository

I am new to magento2. Have worked enough on magento 1 but this is my first project with magento 2.2 and i ran into issue. I have magento 2.2 setup and installed template monster theme. Everything was ...
0
votes
1answer
494 views

Magento 2 Observer customer_register_success

I have a new field in customer register form named referral_code i just want to get this field data in my UpdateCustomerMeta observer how can i get the value of the field "referral_code" in observer ...
3
votes
1answer
1k views

Which file hold this layout {{layout handle=“sales_email_order_items” order=$order area=“frontend”}}

Is there anyone knows how or where to update the file for the email order notification template. {{layout handle="sales_email_order_items" order=$order area="frontend"}} Thank you, JM
2
votes
1answer
808 views

Magento 2 : Image Validation is not working in back end form

I have a custom module which manage to upload the banners. Everything working fine except image validation. Below is my code for the image in app/code/E25media/Bannersmanager/Block/Adminhtml/...
2
votes
1answer
2k views

Magento 2 Change Reset Password email template

In Magento 2, when editing a customer in the backend you have the option to Reset Password for the customer, when click on Reset Password, customer will get an email with a link to reset the password. ...
2
votes
1answer
1k views

Return all JS functions via requirejs

In my exemple, i have just one function and I call it in phtml on passing the name function as param require(['jquery', 'module'], function($, hello) and it works fine. Now if i want to return 10 ...
2
votes
1answer
249 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 ...
1
vote
1answer
1k views

Custom js fie not working Magento 2

Currently I am working in magento2 theme part. And I have a main.js file which I have added via default_head_blocks.xml . But its having jquery conflict. I removed jquery conflict using noConflict. ...
1
vote
2answers
917 views

Add template file in admin edit form

I want to add phtml file in Grid\Edit which is contain image or other html part Following Form.php file <?php namespace Vandor\Namespace\Block\Adminhtml\Grid\Edit; use Magento\Backend\Block\...
1
vote
3answers
3k views

Magento 2.2.2 how to check if current page is a CMS page in .phtml file?

I am using the following code to check if the current page is Product detail page: $objectManagerCms = \Magento\Framework\App\ObjectManager::getInstance(); $registry = $objectManagerCms->get('...
1
vote
0answers
86 views

Reviews Grid Listing, Reviews Edit Form and Reviews New Form are not showing in admin Magento2.2.2

After logged in admin I can't see reviews listing. Also in product edit page in admin review listing not showing. Any one know what is the solution? Log File Showing Error Below [2018-07-24 ...
1
vote
2answers
974 views

After upgrade magento 2.1.8 to 2.2.2 getting error : Unable to unserialize value [duplicate]

After upgrade magento 2.1.8 to 2.2.2 getting error : Unable to unserialize value. Exception #0 (InvalidArgumentException): Unable to unserialize value. Unable to unserialize value. {"...
1
vote
3answers
3k views

Magento 2 Admin Page Error: Your current session has been expired

Fresh Install of Magento 2.2.2 on Centos (Plesk) with Apache 2.4, php 7.0.2 + all modules, mariaDb 10.1. Magento Installation was done via browser wizard -> readyness check-> everything was ok. When ...
1
vote
2answers
564 views

How to add filter to the collection of attributes in magento 2

magento 1 code to get all the attributes collection public function getAttributes() { $collection = Mage::getResourceModel('catalog/product_attribute_collection')->addVisibleFilter()-&...
0
votes
1answer
1k views

how to create a grid without using ui component in magento 2

I need to create grid(inside the tab) without using ui component. Please provide me a solution. this is a controller I have created to load grid but it is failed to load public function execute() ...
0
votes
1answer
440 views

General Question regarding the data migration tool of Magento

I know Magento recommends Data migration in below order: Settings Data Changes http://devdocs.magento.com/guides/v2.0/migration/migration-migrate.html First, we need to migrate the settings, then ...
0
votes
0answers
123 views

How to unset the selected payment method in magento 2

I have created custom icon in checkout page, after clicking that icon, I have refreshed the payment section using below link Magento 2: How to refresh payment method on some condition But before ...
0
votes
1answer
743 views

Magento 2.2.2 :Error with read-only folder while setup:upgrade and with a module while :di.compile [duplicate]

I have been following a guide for creating a custom form in Magento V-2.x and at the end, I ought to : I am on windows server php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/...
0
votes
1answer
444 views

Magento 2 Add custom attribute on order PDF Print All action Drop down

In admin orders how to include custom attribute on pdf print all action? It spits out PDF with Products SKU Price Qty Tax Subtotal I need to add another which is warehouse_location I know to add ...
0
votes
2answers
457 views

How to get All Active Categories in Custom Module Admin Form(UI-component) Dropdown in Magento 2?

I need to get all categories in a dropdown in admin ui form. So Please provide me a solution Form.xml <field name="category_name" sortOrder="10" formElement="select"> <argument ...
0
votes
0answers
69 views

How to add a new field in cart price rule form and link it with Coupon code and should save in DB

How to add a new field in cart price rule form and link it with Coupon code and able to save this field in DB in magento 2.2 and also want to get in Order Export file, when ever the Coupon Code is ...
0
votes
1answer
1k views

Magento 2.2.2: problem with php bin/magento setup:di:compile

when I try to compile after setup:upgrade It displays for me blank page with error in log file: main.INFO: Broken reference: the 'logger' element cannot be added as child to 'after.body.start', ...
0
votes
1answer
487 views

Store -> Configuration Unable to unserialize value backend

After i upgraded from 2.1.7 to 2.2.2 this issue shows when try to open Store -> configuration 1 exception(s): Exception #0 (InvalidArgumentException): Unable to unserialize value. Exception #0 (...
0
votes
1answer
36 views

Unable to unserialize value error when customer data is not display on editing the details?

Getting error: Unable to unserialize value vendor/magento/framework/serialize/json.php