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 [component]

Here in magento component means Extension

0
votes
0answers
11 views

Display conflicting component dependencies

I have a magento 2.3 instance and I'm trying to update it to 2.3.1, and I have the error: Check Component Dependency We found conflicting component dependencies. How do I find out what the ...
0
votes
1answer
32 views

Click event on checkout component

If I add in checkout inside the component's template something like this: <a href="#" data-bind="click: myFunction()"></a> with a console.log('myFunction executed') in component's ...
1
vote
0answers
54 views

Magento 2 Knockout Component after initialize hook or method

In the knockout component I have initialize: function () { this._super(); var self = this; ....some code.... } I want to move the ....some code.... part into afterInitilize() method, ...
2
votes
1answer
469 views

Failed Check Component Dependency 2.2.5

How do I get Fix this Error? Check Component Dependency We found conflicting component dependencies. Hide detail Command "update" failed: Loading composer repositories with package information [...
0
votes
1answer
85 views

Fresh Magento 2.1.14, Readiness Check fail with conflicting component dependencies

My Magento is 2.1.14, fresh new. I am trying to install my first extension (Stripe payment extension), and this error occur. =========================================== Check Component Dependency We ...
0
votes
0answers
95 views

Failed to load the “Magento_Ui/js/grid/tree-massactions” component

I have just installed a fresh Magento 2.2.5 on my localhost (Windows 10 + WAMP, PHP 7.1) with all the demo data. When entering the back-office and going to pages such as "All customers" or "Catalog"->"...
0
votes
1answer
28 views

Magento 2 : Form Component changes through component are ignored

I think there is a "changed" event somewhere that needs to be called, but I don't know what element or component, here is my code: requirejs(['jquery', 'uiRegistry', 'underscore'], function($, ...
0
votes
2answers
149 views

Magento 2 custom Model in Component not Working

Ive created a custom component with a template in Magento_Checkout summary : this is my modal-custom.html: <div id="modal-content">TEST</div> <button id="example-modal-button" data-...
2
votes
2answers
280 views

Possible of error : Magento 2.0.4 to 2.1.0 Upgrade Check Component Dependency Error

From magento 2.0.4 to 2.1.0 Component Dependency Error, how can i solve below error,
1
vote
0answers
173 views

Magento 2: Override city on Checkout

Problem: Cannot override city component (current is input-text), want to change to select. Current Status Already tried to set custom component using javascript: The script is triggered when ...
2
votes
2answers
4k views

Magento 2 : Pass argument/variable in component js

I am using Magento2.2 . I want to pass variable in component JS from phtml file on frontend but don't know how ? I am using following code <div id="product-custom-info" data-bind="scope: 'custom-...
0
votes
1answer
69 views

Component Manager Readiness Check Errors

When trying to install any extension in component manager, I end up with a bunch of errors during the readiness check. My biggest issue is:"Your PHP version is . The required PHP version is ." My php ...
2
votes
1answer
76 views

How to add 2 input fields in one row using UI component

I want to add 2 inputs field in one row using the UI component in my custom module. The field is about telephone so I want to have 2 textboxes, 1 asking for country code and another asking for a ...
5
votes
2answers
401 views

What is the difference between web/template and web/templates

I've noticed in the core both web/template and web/templates are used: vendor/magento/module-ui/view/frontend/web/templates/group/group.html vendor/magento/module-ui/view/frontend/web/template/...
1
vote
1answer
135 views

M2 Can't add new Checkout Step

I'm following the Magento dev docs Add a new checkout step how to guide. But I get the following error in my browser console once I go to the checkout... GET http://example.test/checkout/...
4
votes
2answers
2k views

Magento 2: How can I use ifconfig or something similar to layout component

I created a boolean option (Yes / No) in Store -> Configuration, with which I can display or not the checkout sidebar. The configuration path is: vendorname_sidebar/display/enabled. Below is a part ...
1
vote
2answers
2k views

Magento 2 : Readiness Check Fail

I have site which is running on Magento 2.1.7 CE. When I tried to upgrade site from admin using System -> Tools -> Web Setup Wizard it stop on Step 2: Readiness Check and showing error in ...
0
votes
1answer
622 views

Component Manager keeps on loading after System Upgrade

I did system upgrade from Magento ver. 2.0.7 to Magento ver. 2.1.6 by admin panel. I clean the cache but the component manager keeps on loading. There's an error on my console: Failed to /setup/...
15
votes
4answers
1k views

How to use ComponentRegistrar::LIBRARY in Magento 2

We have 4 types of components in Magento 2, as I have been using three of them, but my question is how to use const LIBRARY = 'library'; component. As name implies, this is something to include third ...
4
votes
1answer
475 views

Magento 2 - GitHub credentials on component grid

I installed a plugin for Magento 2.1.3 from GitHub ( to be more specific, its the PayPal Plus from iways ) after successfully installing and activating it my websetup wizard stops working when i want ...
4
votes
1answer
100 views

Using _extend in a grandchild theme

I have a question regarding how Magento 2 Less handles _extend. According to the documentation http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-guide/css_quick_guide_approach.html I can ...
2
votes
1answer
163 views

Undefined Component - Stack Trace Debugging?

I'm fairly new to magento2 and trying to fix a broken extension. I'm having a lot of trouble with stack traces, I'm not sure if it's just the way magento is or if it's because of reflection making it ...
1
vote
1answer
802 views

Error “Cannot read property 'indexedOptions' ” when removing Company field (Remove checkout field)

I need to remove Company field from checkout page. I am trying to follow this tutorials "Remove a component". But I am getting next Error: Uncaught TypeError: Cannot read property 'indexedOptions' of ...
3
votes
1answer
240 views

Error in “Remove a component” plugin tutorial

I am trying to follow this tutorials "Remove a component" But getting next Error: "Uncaught Error: Cannot use object of type Magento\Checkout\Block\Checkout\LayoutProcessor\Interceptor as array in". ...
1
vote
2answers
596 views

registration.php and enable custom module

I am new to Magento and PHP, and I am using Magento 2.1.2. I tried to create a new module as explained in http://magentoexplorer.com/how-to-build-hello-world-magento-2-module-from-scratch. After ...
1
vote
0answers
442 views

Ajax Update Cart Summary Magento 2 [duplicate]

In shoping cart (checkout_cart_index). When I use bullet to increase qty then i use ajax to update cart. After call ajax how to update cart summary.
3
votes
1answer
570 views

Magento 2: When registration.php is called?

When we built/install new module it should have registration.php as per Magento Standard. When we run php bin/magento setup:upgrade. Module will be installed. How actually this command check for my ...
1
vote
2answers
142 views

Backend doesn't work after uploading registration.php

I want to build my first theme for Magento but get stuck at the setup. I made a directory in the app -> design -> frontend -> called myfirsttheme and in this folder I made one called ...
2
votes
2answers
2k views

Magento 2 js error appears after adding new custom component to checkout_index_index.xml

js error at checkout page: collection.js:53 Uncaught TypeError: elem.initContainer is not a function new component: Magento 2 How to add onKeyUp to a text field in customer checkout address form?...
3
votes
7answers
6k views

Magento 2 module not registering and causing CLI to fail

I am in the early stages of test developing a Magento 2 extension - and I am having problems with registration of the module. The confusing thing is (I think) I am following the same method that ...
9
votes
3answers
1k views

Correct, Supported way to Add CLI Commands to Magento 2

Is there a correct, and officially supported way, to add your CLI commands to a Magento 2 module? From what I've gathered your options are Add your command class to the commands argument of Magento\...
5
votes
1answer
189 views

Magento 2: What is the `component_paths` property in `magento/magento2-base`

In Magento 2, the magento/magento2-base package has the following component_paths section in its composer.json file. "extra": { "component_paths": { "trentrichardson/jquery-timepicker-...
0
votes
1answer
319 views

Magento 2.0 Moving Added Tab UI Code From Catalog Component To My Own Component

I recently chanced upon a tutorial in datasheat[dot]com to add a custom tab into the Product edit/create form. I was able to make it work, but the issue I found is that the code has been added to the ...
0
votes
1answer
697 views

How do i can extend or re-use Gallery Js Component of module Catalog in right way

This component is located in Magento_Catalog/js/product-gallery map: { '*': { categoryForm: 'Magento_Catalog/catalog/category/form', newCategoryDialog: 'Magento_Catalog/js/...
5
votes
1answer
747 views

What is a “Javascript Component” in Magento 2

In the Magento 2 documentation, they state In Magento 2, there are two ways to initialize a JS component However, they never really explain what a JS component is, and it's not clear from the ...
15
votes
2answers
3k views

Why registration.php added in magento-2.0.0-RC?

Recently magento-2.0.0-RC was launched and they added registration.php in every module root folder? So I just want to know is there any reason for that? Can someone put light on this?