Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento2.2]

General questions about the Magento 2.2.x versions

0
votes
0answers
9 views

Magento 2 data migration how can i migrate customer custom attribute value

How can i migrate customer custom attribute value, i just gone through document but i did't find the proper solution.
1
vote
1answer
11 views

`upgradeData` to add a custom customer attribute is not working in `Magento2`

I've created few customer attribute using upgradeData.php. The content of the upgradeData.php is as below, <?php namespace Ucs\CustomerAttribute\Setup; use Magento\Customer\Model\Customer; use ...
0
votes
1answer
10 views

Magento 2.2 IWD Onepage Checkout Thumbnail in Summary

Looking to add product thumbnail to the list in summary of the cart. Unsure if this is easly done or not.
0
votes
0answers
7 views

Magento 2.2 backend POST 403 forbidden error

I have a vanilla installation where i previously used softaculous to install and now installed by uploading magento2.2 to the server and installed it there. For both of the installation method the ...
0
votes
1answer
18 views

Magento 2 fails to deploy production mode

Theme installed on magento is Porto. I made change in development environment and now i am deploying production mode and view of my website goes weird. I am running following command. I tried to ...
1
vote
2answers
24 views

How much traffic a Magento 2.2 can handle on VPS with 2 GB RAM with! CPU core? [on hold]

To run properly for few users or development and testing shared hosting is enough for Magento 2.2. But if go further and run Magento 2.2 on VPS. How much traffic magento 2.2 can handle on VPS with ...
0
votes
0answers
4 views

magento 2 in select all products in update attributes not working?

i have try to select all products in admin panel side catalog but its not working? selet all products and update attributes. its come to some of issues ?
0
votes
0answers
17 views

Magento 2, How to call front controller from admin page?

Using magento 2, front and admin, I need to access controller in print button on sale order page to print invoice which generate pdf in front view controller. Plz.
0
votes
0answers
19 views

Magento 2.2.5 Error in Exception Log Every Night

I'm getting an error in exception.log every night. Error is main.CRITICAL: Directory "/tmp/analytics/tmp" cannot be created {"exception":"[object] (Magento\Framework\Exception\FileSystemException(...
0
votes
0answers
13 views

Magento 2 in admin panel side attributes drop down values not be save and delete?

Attributes dropdown values not be save and delete in admin panel side I have change the php.ini files max_input_vars=100000 but its not working? Please give me any solutions..?
1
vote
0answers
19 views

How to create admin form using UI component in 2-column layout with tab in magento 2?

I have created a form using UI component and added tab in the form. I used the reference from /vendor/magento/module-customer/view/base/ui_component/customer_form.xml. I can see the tabs in left but ...
0
votes
0answers
11 views

Magento 2 URL Rewrite not taking to correct category

Ever since the Magento 2.2.7 update one particularly category tree has been messing up for me. Take the following category structure (this just lists URLs) category-example-one subcatone sub-sub-...
0
votes
0answers
15 views

Magento 2 in import products attributes sku errors?

We can't find required columns: sku. Column names: "sku product_name swt_package_quantity swt_diameter swt_package_weight swt_length swt_width swt_material swt_for_use_with ...
2
votes
0answers
16 views

Magento CE 2.2.x - Unable to set attribute set for new product

I've created a CSV for all the attributes and sets that need to be added and a script to import them. After doing so I'm unable to load the attribute sets in the admin while creating a new product. ...
0
votes
0answers
14 views

Magento 2.2 Detect Product Inventory Change

Is it possible to detect Inventory change of a Simple Product from a custom module? Basically if the Value displayed in a Simple Product's 'Quantity' field ( as seen in the Admin product detail page....
3
votes
0answers
38 views

Slow transaction on /customer/section/load Magento v2.2.5 CE

I was recently seeing slow response times on our Magento 2.2.5 CE installation, so we installed NewRelic to monitor some site metrics. One thing that instantly stood out to me was the /customer/...
0
votes
1answer
39 views

Magento 2 Update cart automatically on carty quantity update gives error “Mismatched anonymous define() module”

I have done everything mentioned in this post, however, it gives me an error in console: require.js:166 Uncaught Error: Mismatched anonymous define() module: function ($, getTotalsAction, ...
1
vote
1answer
24 views

Magento 2 : Custom Report with Two Table Join issue

I am facing issue with a custom report with multiple table join. I have created a custom collection into _initSelect function. While I am print this query and run manually on a database server its ...
1
vote
0answers
13 views

Magento 2 - how to change the product name in a configurable product

We have allot of custom products that we sell witch means we need to be able to ad those custom products to shopping carts for our customers. Right now we are solving this with a configurable product ...
0
votes
0answers
4 views

Is there any way to replace first name and last name with full name in magento 2 checkout form?

how to replace the first name and last name with Full name field in checkout form. i couldn't find any extensions, code for solving this.
0
votes
2answers
28 views

Magento 2 in how to add the attributes extra more then values in bulk import ? what is th csv formats?

drop down box values not working in admin panel side using bulk import..! products attributes values not working in bulk import in csv files ?
0
votes
0answers
6 views

Magento2 Functional Testing Framework (MFTF) - URL not redirecting properly

I want to redirect below page - <amOnPage url="admin/system_config/edit/section/adminconf/" stepKey="navigateToIncommCartTimeout"/> But it is redirecting only admin/system_config/edit/...
1
vote
0answers
35 views

magento 2 in how to products value will be imported?

I have three csv files 1).products attributes. 2).products details files. 3).products attributes values files . first 2 files will be imported but attributes csv files not imported. Error: ...
1
vote
0answers
22 views

Magento 2 Hide price and add to cart button for specific product

I want to hide the Prices and add to cart button on the specific product places e.g bags,shoes etc. I have hide the price for all stores but I am not able to hide price on the specific products.
0
votes
0answers
17 views

Proper way to programmatically create or associate simple products with a configurable product in Magento 2

I am creating my simple products and my configurable product the proper way using the productRepository. Therefore I call below classes in my constructor. \Magento\Catalog\Api\...
0
votes
0answers
10 views

How can I add a UI component to a renderer of a payment method?

The task is simple: I want to add a select UI Component to a renderer for a payment method. Rather than copy/pasting HTML code into my own html-template, I want to use the built-in UI components ...
0
votes
0answers
32 views

How to add input field in check money order payment method in magento 2?

I want to add custom input field in check money order payment method . when this field is empty and you have to click on place order button then this fields is required.when after fill required field ...
2
votes
1answer
62 views

Remove trigger creation when changing an indexer mode

I've disabled the Magento_Bundle module because I don't need it. But now when I try to set the catalogsearch_fulltext index to schedule via cli: php bin/magento indexer:set-mode schedule ...
0
votes
1answer
8 views

Facing issue “The last status can't be unassigned from its current state” When we try to unassign a custom status from Order status grid

When we try to unassign a status from a state in the sales status grid we are facing the following issue The last status can't be unassigned from its current state https://www.screencast.com/t/...
1
vote
1answer
20 views

Magento 2 in how to add all products website id in main website?

i will try to database table values in website id in main website but not working.? how to bulk change the all products website id change?
0
votes
1answer
33 views

magento 2 extension composer update error - Please update your modules: Run “composer install” from the Magento root directory

My Siteground shared hosting plan does not allow me to use composer (memory limit). How can I fix this issue? is there a way to manually update it without composer? or how can I disable this module? ...
0
votes
0answers
16 views

Restoring database triggers

There's been a known issue with Magento's backup/rollback process for a while, which was marked as resolved in 2.2.x & 2.3.x where taking a backup removed the mysql triggers: (see: https://github....
0
votes
0answers
11 views

Magento 2.2.0 Shopping Cart Rule for Free shipping over $500 not working .Please help me

In magenta 2.2.0 free shipping for orders over $ amount but not working In admin side enter image description here In frondend
1
vote
0answers
11 views

“mcrypt_module_open is deprecated” exception in cron in Magento 2.2.6 on PHP7.1 ?

The method is silenced in core still cron throws exception if debbug mode is enabled. mcrypt_module_open is deprecated // @codingStandardsIgnoreStart $this->_handle = @mcrypt_module_open($...
0
votes
0answers
16 views

Rest API update router

I need to update rest API url, Instead of having "rest" keyowrd in url I need to replace it with"api" Current Url http://magento2.test/index.php/rest/V1/customers/1 Need to update to http://...
0
votes
0answers
15 views

Free Shipping for Orders Over $Amount set in magento 2.2.0 but not working

In magenta 2.2.0 free shipping for orders over $ amount but not working
1
vote
2answers
54 views

$this->_checkoutSession->getQuote()->getAllItems() returning an empty array

I am trying to get a collection of all items in the cart for current session but the array is returning [0]. My block: <?php namespace GGG\PaymentMethodsManagment\Block; class GetProductsInCart ...
0
votes
1answer
30 views

Magento 2 in how to splited in bulk import child categories using(,)?

how to split in child categories in bulk import categories using (,)? Default Category/Tools,Default Category/Tools/Electrical Supplies,Default Category/Tools/Electrical Supplies/Boxes,Switches,...
0
votes
0answers
13 views

Magento2 + Fishpig Wordpress Integration - Wordpress RSS Feed Not Working

I am using Magento2 + Fishpig Wordpress Integration. WordPress Rss feed not working in my project. Please help me how to solve this issue.
2
votes
1answer
24 views

Magenot 2 Custom Report grid is not working

Is anyone has created custom Report grid in Magento 2 Admin panel? We have started to create a report but we are facing an issue with display data and while we click on "Refresh" button entire page ...
0
votes
0answers
13 views

How change const list_product_order to order when sorting product list magento 2

In magento 1 url when sorting is: http://demo.magentocommerce.com/men/shirts.html?dir=asc&order=price But magento 2 when sorting is http://demo.magentocommerce.com/men/shirts.html?product_list_dir=...
0
votes
3answers
40 views

Magento 2 Add block before another block using XML

I want to move minicart block to top.links block. This did the trick for me: <move element="minicart" destination="top.links" /> Now, I added a custom block with custom .phtml file to the top....
0
votes
0answers
18 views

Assign two customer groups product prices to one customer

From what I know, a customer can be allocated to one customer group. By default there are two customer groups; "Not Logged in" and "General". I am using customer groups for my wholesale customers to ...
0
votes
1answer
28 views

Magento 2 products bulk import is should come to child categories is same or not?

magento 2 in using producs bulk import if child categories same or not? I have below attached my excel files IRW4205 SW Flat Bits simple Default Category/Tools,Default Category/Tools/Drill ...
0
votes
0answers
10 views

M2.2.5 missing meta title tag and doesn't show product name if meta title is empty

I imported my products through CSV file. So probably the meta tile for products is empty. Supposedly the product name will be set as meta title but unfortunately title tag is empty. Thanks, JM
0
votes
0answers
15 views

Magento 2: How to truncate customers and order tables - Error#1701 cannot truncate a table referenced in a foreign key contstraint

I tried to follow this solution Magento 2: How to truncate customers, products, reviews and orders table to truncate the customer tables and order tables using the following commands, but i'm getting ...
0
votes
0answers
8 views

What is the best way to buy a Product individually

In Magento 2.2 I want a specific product(say PRO_01) to be bought individually, if PRO_01 is added to cart other product get removed and if other product added to cart PRO_01 gets removed. When login ...
0
votes
1answer
33 views

Magento 2: Show disabled/out-of-stock products in foreach loop

I am using \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory class to fetch the product collection. Magento version: 2.2.6 I am trying to fetch both enabled & disabled products ...
0
votes
0answers
22 views

How to add an image upload field to the custom widget option in magento 2

I am working on a magento 2 store and I am new to magento. The client want to have easy admin options to add and edit content. One of the requirement is to show a list of USPs of the store.I am ...
0
votes
1answer
17 views

magento with nginx not found page show as defualt one with one magento html

when i type any invlaid url it shows like below instead i want to show my website page current setting of nginx.conf (in magento root folder) root $MAGE_ROOT/pub; index index.php; autoindex off; ...