Stack Exchange Network

Stack Exchange network consists of 175 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.2]

It should be used for questions about Magento 2.2.2

1
vote
0answers
27 views

How to block ordering feature from backend when company/customer is set inactive in magento 2.2

How to block ordering from admin panel, when a company/customer status is blocked or inactive state. I am using B2B feature which has company module and version is magento 2.2.2 i am able to block ...
2
votes
0answers
49 views

Magento 2 : Simply want to change the text colour on my checkout page

Sorry for what is probably another daft question but after 2 hours of trying to work out how to make a simple change, I've admitted defeat! My proceed to checkout button is on a white background so ...
2
votes
1answer
217 views

I want hide Add New Customer button for specific admin roles

I want to hide "ADD NEW CUSTOMER" button on customer_grid page for certain admin roles, how to specify Specify ACL's for ui_components..?
0
votes
0answers
59 views

How to add filters(Filter Form ) in Grid( Custom Table Collection)?

I want to add Filter to Grid like Sku or name fillter in Manage Product here my code Grid.php class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { /** * @var \Magento\...
1
vote
1answer
46 views

How to override to remove/comment a line in customer_listing.xml in Magento 2

I want remove/comment this line <filterSearch name="fulltext"/> in customer_listing.xml located in vendor/magento/module-customer/view/adminhtml/ui_component/customer_listing.xml I want to ...
1
vote
1answer
144 views

Running php bin/magento commands returns nothing on 2.2.7 CLI php 7.0.22

I'm having some problems running the php bin/magento commands using PHP 7.0.22 on MAMP Pro, Mac, Magento 2.2.7 The commands was working about 2 hours ago when all of a sudden stopped working whereby ...
0
votes
0answers
58 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
0answers
24 views

Implementing magento vault in a custom payment gateway

Do you have any good tutorial about implementing Magento Vault to a payment module. I am trying to add Vault to the payfort module by following the official doc https://devdocs.magento.com/guides/v2....
0
votes
0answers
16 views

magento 2.2 i wanted to add actions as ACL permissions

Magento 2.2 I want to add actions like create, edit and delete for customer-module need to be added in ACL permissions, Basically i need to restrict create new customer and edit customer for certain ...
0
votes
1answer
37 views

Please confirm returns logic

I'm very new on Magento 2 framework. Can anyone help me from this problem? I Don't know how it actually product returns work. Is there any standard Magento logic for returns or can you advise on ...
0
votes
0answers
32 views

Magento 2 images and videos in custom module

I've been following some instructions here: magento 2 how to upload images and videos in custom module I am facing a blank page with Add Video button see screen shoot: I am not sure what could be ...
0
votes
1answer
147 views

Magento 2.2.2 error: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration

I am getting this error when attempting to install Magento locally: The configuration file has changed. Run app:config:import or setup:upgrade command to synchronize configuration. When running "...
0
votes
0answers
172 views

how to get the weight unit of the product from quote in magento 2

I wish to get the weight unit of the product from quote in magento 2. Please provide me a solution to get quote value.
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
0
votes
1answer
145 views

Magento 2 customer CAPTCHA Login Not Showing Up

I have added all possible captcha forms in Stores->Configuration->Customers->Customer Configuration->CAPTCHA see screen shoot bellow: Clear cache,flush yet the login page doesn't show it. ...
0
votes
0answers
40 views

Magento 2.2.2 getting error on click registration button on order success page?

I am getting an error message when I am clicking on Registration link on order success page: SQLSTATE [23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key '...
0
votes
1answer
131 views

Extending bundle product in custom type ends up without “add option” button

I need a custom product type to be able to use other transaction mail templates. For that purpose I am using an existing module which contains the following code: <vendor>/<module>/etc/...
0
votes
0answers
58 views

Error in reindexing after migration

I migrated database from Magento 1.9 to 2.2 When re-indexing I get the following error Category Products indexer process unknown error: SQLSTATE[42000]: Syntax error or access violation: 1064 ...
0
votes
0answers
62 views

Getting error when open any order Exception occurred during order load in Magento 2.2.2

I am facing issue when click on view order link in admin. Exception occurred during order load How can I fix the issue? I am working on Magento 2.2.2
0
votes
1answer
284 views

Magento 2 Overwrites Topmenu.php In Module But Menu Nav Disappears

My di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <...
0
votes
0answers
149 views

How to fetch product data into custom .phtml block on product view

I'm having trouble trying to fetch Product data such as price, SKU etc into a custom .phtml file referenced as a block within my catalog_product_view.xml file. Here's what I'm struggling with... I'm ...
0
votes
0answers
21 views

Add Custom Link Under Existing Categories

I would like to add some links under a specific categories, not subcategories ! Normally you would create a subcategory under a category and so on but, I need to add some filter link which in turn it ...
1
vote
1answer
441 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
1answer
17 views

System role “Magento_Braintree::get_client_token” not found - Magento 2.2.6

Below URL throws the permission issue https://host/admin/braintree/payment/getClientToken/key/c21228d08eaede792c0256b56e18c861d90c4598adae24e63f6fcc8ea8325e0d/?isAjax=true Sorry, you need ...
0
votes
1answer
234 views

Compilation from source on static-content deploy in magento 2.3.0 when upgraded from magento 2.2.2

Hello i had upgraded magento 2.2.2 to 2.3.0 and i am getting following error when i do setup:static-content:deploy Compilation from source: /home/xxxxxxxx/public_html/xxxx/xxxxxx/vendor/magento/theme-...
0
votes
0answers
36 views

In mftf, popup elements are not getting identified

In Test folder xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd"> <...
1
vote
1answer
49 views

why my routes.xml is not working in admin or on front end view both

I donot understand why my routes.xml is not working , see this and tell me if you get something wrong in it . thats the code snippet . <?xml version="1.0" ?> <config xmlns:xsi="http://...
1
vote
1answer
50 views

Set opened state to inactive for bundle items tab in product edit page magento 2

How can I set opened state to inactive for bundle items tab in product edit page Magento 2 so that the tab is loaded only on click, not on page load. For more information: https://stackoverflow.com/...
0
votes
0answers
44 views

Magento 2: Display widget on left sidebar product detail page for specific category whose product price is 0

Is there a way to add a custom widget that will handle on displaying CMS static block on the specific category which products is 0. It is like adding another option under Layout Updates when creating ...
0
votes
1answer
56 views

Magento CE 2.2.2: How to add images to my custom payment plugin module?

I am creating a custom payment plugin for Magento 2.2.2 For the plugin I need to add the payment icons and some other images. How can I add images for my custom payment plugin? I tried all the ...
0
votes
2answers
232 views

magento2 creating a lot of catalogrule_product_temp tables

Magento2.2.5 based multisite (multi store view)seems to be creating a lot of temporary tables such as catalogrule_product__temp9a310576 catalogrule_product__temp998786f4 etc... However I am not sure ...
1
vote
0answers
149 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 ...
2
votes
2answers
57 views

I cannot change from Products only to Static block and products in Display Settings of an existing category

Working with Magento ver. 2.2.2 I wish to change the design of category pages. Now certain categories are displaying only products, But I want to display a static block and products. I create the ...
0
votes
0answers
15 views

Magento 2 Adding non category Submenu

I have created a custom menu link using few examples one of them is:Adding a non-category link to the navigation links in magento 2 This is how I've added first level menu: ... $...
2
votes
0answers
61 views

Order purchase date filter range not showing expected results

Preconditions Magento 2.2.2, Nginx, Redis. Magento local timezone AEDT, server time AEDT mysql SELECT CURRENT_TIMESTAMP(); returns AEDT time SELECT @@global.time_zone, @@session.time_zone; returns ...
0
votes
1answer
27 views

Item Price being Ignored in Cart Price Rules

I'm trying to setup a promotion in Magento 2.2.2. and I'm really not getting the result that I want. I want it to be like: If you have at least 3 items in your Cart, and at least one (1) of the items ...
0
votes
1answer
71 views

Magento 2 sitemap wrong paths in sitemap index when running on cron

I am using Magento 2.2.2. Please see below the current settings of the sitemap. It works correctly when we create sitemap by hitting generate button in admin. But when it gets generated automatically ...
1
vote
1answer
1k views

Magento 2 not minifying JS, CSS or HTML in Production Mode

I am running a magento 2.2.5 CE in production mode with two storefronts setup. The settings in admin are as follows: Minify Html: Yes Merge JavaScript Files: Yes Enable JavaScript Bundling: Yes ...
0
votes
2answers
87 views

Magento 2 make new method available in list.phtml

If I need to create a method under Magento\Catalog\Test\Block\Product\ListProduct Class This class has methods such as: getProductItem,getProductNames,getProductsCount,getSortByValues I Would like ...
0
votes
2answers
62 views

Magento 2 js not working

On one of my website, sometimes some of my custom js not working, I have embeeded on template file. I have checked console of browser it shows error, also sometimes css or some portion like sign in/...
0
votes
0answers
45 views

Magento 2 in How to change password in programmatically without hash method in password? [duplicate]

I am trying below code but it is not working $customer = $this->_CustomerRepositoryInterface->getById($id); $customerSecure = $this->_customerRegistry->retrieveSecureData($customer->...
1
vote
2answers
287 views

For what there is the sales.xml file?

For what there is the sales.xml file? In the documentation, I can not find anything about this file.
0
votes
0answers
37 views

Magento 2 Custom JS Component detect/Observe changes from any form input in the DOM

I have ny Component as so: define(['uiComponent', 'jquery', 'ko', 'jquery/ui', 'mage/translate', 'Magento_Ui/js/modal/modal', '...
0
votes
2answers
278 views

Set date format in admin grid

I have create a ui-component grid in magento2 .I need to set the default symbol (if the end date is empty in that field) like -- for End column in grid <column name="date" class="Magento\Ui\...
0
votes
1answer
31 views

What is Repository in Magento2 and Why use? [duplicate]

What is Repository in Magento2? Why use this. I want to know more detail about Repository.
0
votes
1answer
228 views

Magento 2: Missing required argument $mainTable from Model\ResourceModel\Deal\Grid\Collection

Missing required argument $mainTable from Model\ResourceModel\Deal\Grid\Collection But I check my all file and all code working fine but this error show on dashboard.
1
vote
0answers
25 views

Admin grid in magento2

How to set date format for ui component grid and how to set the default '--' symbol for date. Thanks.
0
votes
0answers
96 views

Save same address twice in customer address table magento 2

From customer registration page i'm getting address entered by customer. I want to save this address twice in customer address table one for default shipping and one default billing. I'm extending ...
0
votes
0answers
160 views

Magento 2: InvalidArgumentException There are no commands defined in the “cache” namespace

I have facing issue while run command. I can't use any bin/cli commands in magento 2. I keep getting below generic error messages. Error: InvalidArgumentException There are no commands defined in ...
0
votes
0answers
91 views

How can I set both regular & special price on configurable products

Is there any way in configurable or I need to set this in associated products. Any help would be greatly appreciated! We are using the Magento version 2.2.2