Questions tagged [magento2.2.2]

It should be used for questions about Magento 2.2.2

Filter by
Sorted by
Tagged with
1
vote
1answer
212 views

Magento redirects from virtualhost to localhost [closed]

In hosts: 127.0.0.1 www.demomage.com In httpd-vhosts.conf <VirtualHost *:80> ServerName demomage ServerAlias www.demomage.com DocumentRoot C:/wamp/www/mage <Directory "/"> Options +...
1
vote
1answer
1k views

Magento 2 : How to add Custom link product Attribute in Custom product link grid

I have added new custom product link type and it working fine. I want to add some custom attribute to it grid and in grid i want to give text box option for enter custom attribute value and when ...
1
vote
1answer
79 views

Magento 2 How to get/group orders by shipping addresses

Seems like Magento doesn't have a way to get all orders by shipping addresses. This is obviously because of the following: Magento doesn't store addresses as unique entities, this means every time ...
1
vote
1answer
544 views

Magento 2.2 Not Loading theme and blocks

I have created a magento 2.2 application using composer. Everything working fine with Luma Theme. Next Step I need to extend the template. app / design / frontend /< Vendor name> / < Theme ...
1
vote
2answers
3k views

How To Download Magento 2.2.2 with Sample data using Composer?

I know how to install Magento 2 using composer. Magento latest release of version Magento 2.2.2. I don't know how to download or Installation with sample data Using Composer. I try to run direct "...
1
vote
0answers
26 views

Magento 2 add new checkout step under Shipping Step

How to add new step under shipping step not new step progress bar, the same as Shipping Method step is under Shipping Step progress bar? like the screen shoots: Magento Doc tells you how to add new ...
1
vote
0answers
27 views

Magento 2.2.2 order refund REST API Before Plugin get item order to refund

Vendor\Module\Plugin\Order\Plugin.php: namespace Vendor\Module\Plugin\Order; class Refund { /** * Create refund for invoice * * @param int $invoiceId * @param \Magento\Sales\...
1
vote
1answer
175 views

Magento 2 credit memo API observer/plugin

I'm interested to know if an observer or plugin will be trigger if a credit memo is created via API rest example: POST /V1/creditmemo/refund OR POST /V1/invoice/{invoiceId}/refund ref:https://devdocs....
1
vote
1answer
313 views

Notice: Undefined index: default in vendor/magento/module-catalog/…BatchSizeCalculator.php

I got this error when try to reindex catalog_product_price php bin/magento indexer:reindex catalog_product_price Notice: Undefined index: default in /public_html/vendor/magento/module-catalog/...
1
vote
0answers
31 views

Default store as empty value in customer creation page

I would like to set default store value to empty value or 0 in stores dropdown list near field "Send Welcome Email From", in customer creation page. I like also to receive an error when user keeps ...
1
vote
0answers
38 views

Cart showing minimum order amount error

My cart has a total order amount greater than $1.00 still it shows an error Minimum order amount is $1.00 As the cart has an order total of $2.62 even after applying a discount which is greater than ...
1
vote
1answer
110 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
0answers
24 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 ...
1
vote
0answers
46 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 ...
1
vote
1answer
32 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
42 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 ...
1
vote
0answers
104 views

Magento 2 ui form component switcherConfig value expression

Doe anyone know at all if possible to have expression to evaluate a value in rules E.G : <switcherConfig> <rules> <rule name="0"> <value>EXPRESSION HERE</...
1
vote
0answers
9 views

Different Product Pages Displayed when I Change URL Key From admin panel

I am using Magento 2.2.2 and facing an issue and trying to resolve it,While creating a new product or editing already added product when i change URL key of the Product from SEO block i get two ...
1
vote
1answer
115 views

Uncaught Error: Call to a member function dispatch() on null View\Element\AbstractBlock.php on line 652

help needed i am creating a factory in block and get data from model it give result in block but when i return this factory and use this block function in phtml file it give error " Fatal error: ...
1
vote
0answers
19 views

cms pages and block is not loading in backend

CMS pages and blocks won't load in the backend. It keeps loading and loading without not showing any pages or blocks. I reindex, compile, clear cache... But nothing changed. Any help would be much ...
1
vote
1answer
256 views

Magento 2 how to create Single Time Picker

I know magento provides functionality like Single Time Picker: How to do it? I found how to create date picker and date-time picker. But for my task, i should to create single time picker...
1
vote
0answers
27 views

How to get the order details of a customer using the access token of other customer?

In my project there the two types of users: manager and captain. The manager should be able to view the orders placed by captain so i need to use the access token of manager to get the order list of ...
1
vote
0answers
22 views

How to show the different contents to the customer and admin in the new order email?

Please help. I need to do this for only one website as I have multiwebsite functionality in my project.
1
vote
1answer
34 views

Magento 2 ui form multiselect field not checked not in $_POST

I have multiselectin my form displaying all store view available one is selected when I save only one show in the post array: <field name="store"> <argument name="data" xsi:type="array"&...
1
vote
0answers
83 views

Magento 2.2.2 GetCacheKeyInfo() Error getId() on Null

Fatal error: Uncaught Error: Call to a member function getId() on null in .../htdocs/vendor/magento/module-backend/Block/Menu.php:233 Stack trace: #0 .../htdocs/generated/code/Magento/Backend/Block/...
1
vote
0answers
20 views

Magento 2 add body class into as per current page using toolbar.php plugin for category and search results page

I have created plugin for toolbar.php \Magento\Catalog\Block\Product\ProductList\Toolbar protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Category Page')); ...
1
vote
1answer
165 views

Where is the original price set in sales order item table?

In quote_item table we don't have a column original_price. So when and how sales_order_item table get the original_price value. Post order we are seeing original_price as 0 in admin sales order view ...
1
vote
0answers
181 views

Magento2 error while extension installation in create backup step

In my magento2 store I want to install the extension. I have tried this via composer as well as admin extension manager. Every time the process failed in Backup stage after generating the 4Gb of data ...
1
vote
0answers
39 views

Before Clearing cart I want to show Popup for confirmation

I have added popup it show but not clearing item from cart just reloaded on same page. Please someone look in this. Below is the my script. <script type="text/javascript"> require([ '...
1
vote
0answers
39 views

Issue in pragmatically create orders in magento 2

I want to create orders pragmatically by getting the data from xml. Reading data from xml part is done. when creating order steps i am getting this error. Parse error: syntax error, unexpected '$...
1
vote
0answers
32 views

“Shop by Brand” extesion of “mazeplaza” not showing frontend pages

I am using "shop by brand" extension of "Mazeplaza". But it is not working and slow down my website from frontend and backend. None of the pages regarding brands loading in frontend. I have more than ...
1
vote
0answers
57 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 ...
1
vote
1answer
220 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
287 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 ...
1
vote
1answer
1k 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"&...
1
vote
1answer
468 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-...
1
vote
1answer
127 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/...
1
vote
5answers
851 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
255 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 ...
1
vote
1answer
316 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
0answers
26 views

Admin grid in magento2

How to set date format for ui component grid and how to set the default '--' symbol for date. Thanks.
1
vote
2answers
629 views

Magento 2.2.6 Change 'From' field of magento contact form email to the sender

Currently, when customer submit a contact form through our website, the "sent from" email address we received is our support@example.com. I would like to change the "send from" email address to be the ...
1
vote
3answers
198 views

Magento 2: Product Custom Tab with Attribute WYSWYG shows broken image

I am running Magento CE 2.2.2 and I need to create another TAB in the product information page near the details and review tabs. I created a new Attribute, named it "Tab". In the attribute, options ...
1
vote
1answer
146 views

Magento 2: How can I do an integration with magento 2 and sap business one?

i want to create a integration with magento 2 and SAP B1, I created a web application in magento 2 I gave it a name and I gave it permission to API and it was saved then create a new role, assign the ...
1
vote
1answer
420 views

Magento 2 Message Manager not working in custom module Front end Controller

My controller without try catch: class View extends Action { protected $resultPageFactory; protected $productRepository; protected $_messageManager; public function __construct( ...
1
vote
0answers
51 views

How to display shipping and billing forms at same time on checkout page? [duplicate]

So I need for my shipping and billing form on checkout to display both at the same time. Right now only the shipping address is being shown and the billing address has a checkmark where it says "my ...
1
vote
0answers
210 views

Magento 2 Error - Failed to load resource: the server responded with a status of 403 (Forbidden)

I am overriding magento configurable.js to my theme and adding some function.i am getting an error of 403 forbidden url.any one can you please help me to short it out. _specifictionContent:function (...
1
vote
2answers
267 views

How to use some function in configurable.js in custom phtml in magento 2

I want to use the _getSimpleProductId function of configurable.js in my custom phtml file. What i want to achieve is get the product id according to the customer select the configurable options. I ...
1
vote
1answer
32 views

Minify js in magento2

I have added script in phtml file for faq (cms page). <script> require([ 'jquery', ], function ($) { $(".faqs-question").click(function () {console....
1
vote
0answers
30 views

Upgrade from 2.2.2 to 2.2.5

how can I upgrade my Magento 2.2.2, when composer is not available? Upgrade in backand also not possible. PHP Limit. It is a hosting provider and I have no composer or backend update. Only SSH, FTP ...

1
3 4
5
6 7
13