Skip to main content

Questions tagged [component]

Here in magento component means Extension

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Magento 2 : Widget and Components Created for a PDP page

I have created a widget which is intended to be used for add information as a best seller, this is a category with this name, which has subcategories and products added to these. To display the data I ...
Samuel Espinoza's user avatar
0 votes
1 answer
60 views

Connect Frontend and Backend in Venia PWA Setup

We have Magento PWA Venia Setup. Now We installed the Extension downloaded from Commerce Marketplace. The Extension installed fine and now we can see configuration in backend. Requirement Now How we ...
Baby in Magento's user avatar
1 vote
1 answer
389 views

How to move Review & Payments section below the Shipping section in magento 2

How to move Review & Payments section below the Shipping section in checkout page my requirement is to show both sections in one page ,one by one by default review&payment section come after ...
Kumaraswamy Malga's user avatar
3 votes
2 answers
542 views

Failed to load the "Magento_PageBuilder/js/form/element/wysiwyg" component in admin?

Magento 2.4.3 The pagebuilder in admin is not loading at all, I am getting Failed to load the "Magento_PageBuilder/js/form/element/wysiwyg" component as error in the browser console ...
user4095519's user avatar
0 votes
1 answer
2k views

Magento 2 - Use knockoutjs and html instead of phtml

How can I use html and knockoutjs on a custom site which is accessible from a custom controller? For example my controller route is threepartment/vault/index If I go to: www.example.com/threepartment/...
Black's user avatar
  • 3,390
2 votes
0 answers
381 views

Filter Grid with Comma Separated Values - Magento2

I'm working on a module where I need to filer store view which is stored as comma-separated values in a custom table. I tried solutions mentioned in Magento 2 -Admin Grid Select filter with comma ...
Nithin's user avatar
  • 23
0 votes
2 answers
927 views

How to create modal in Magento 2 admin?

I have a button in cms_page_listing.xml file, I expect opens a modal window with a slide effect, when clicked on it. what should i do, please help
THOR Hoang's user avatar
0 votes
1 answer
556 views

Magento 2 how to send information from Knockout Js to Js component?

I'm trying to send an array of data from a Knockout Js component to a JS file so I can do an ajax request there. Here is what I'm doing: phtml: <div class="container"> <div class=&...
Oscar Vazquez's user avatar
-1 votes
1 answer
249 views

Magento 2.3.5 PWA implement tab component

I am interested to learn more about how to implement the Tabs found here: https://magento.github.io/pwa-studio/pagebuilder/components/tabs/ One can use react bootstrap tab ref: https://react-bootstrap....
Juliano Vargas's user avatar
0 votes
1 answer
872 views

Magento 2 PWA overwrite Gallery component

I am able to overwrite modify the following components: Main, App, Footer, Header, Logo, Routes, CategoryTree by following Doc: ref:https://magento.github.io/pwa-studio/tutorials/pwa-studio-...
Juliano Vargas's user avatar
1 vote
1 answer
1k views

PWA Magento2.3.5 Overwrite Logo Component in Custom Project

Magento PWA Docs for overwrite a component such as Footer is found here:https://magento.github.io/pwa-studio/tutorials/pwa-studio-fundamentals/modify-site-footer/ So I'm assuming the same steps should ...
Juliano Vargas's user avatar
0 votes
1 answer
670 views

Add clear button in frontend calendar button panel

I am trying to add a clear button in the jquery datetimepicker widget using the below code. define([ 'jquery', 'ko', 'Magento_Ui/js/form/element/abstract' ], function ($, ko, ...
Zahirabbas's user avatar
  • 2,083
1 vote
3 answers
6k views

Magento 2.3.2 Failed to load the "Magento_Checkout/js/view/billing-address/list" component

I am using one-step checkout and getting an error in checkout console. and also page redirects to /noroute/ 404 page. [ERROR] Failed to load the "Magento_Checkout/js/view/billing-address/list" ...
Chirag Patel's user avatar
  • 6,156
2 votes
1 answer
2k views

Magento 2 extend $.mage.quickSearch Widget

I don't seem to be able to extend quick search module widget form-mini.js found in module/path: ../vendor/magento/module-search/view/frontend/web/form-mini.js How can I extend in my custom module $....
Juliano Vargas's user avatar
0 votes
1 answer
597 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 ...
Daniel Ifrim's user avatar
  • 3,404
2 votes
0 answers
451 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, ...
Lachezar Raychev's user avatar
2 votes
1 answer
792 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 [...
PWL's user avatar
  • 21
0 votes
1 answer
145 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 ...
Doris Li's user avatar
0 votes
1 answer
153 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($, ...
Mac A.'s user avatar
  • 280
0 votes
2 answers
1k 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-...
Juliano Vargas's user avatar
2 votes
2 answers
509 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,
zus's user avatar
  • 175
1 vote
0 answers
335 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 ...
Crazenezz's user avatar
  • 111
4 votes
2 answers
15k 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-...
Amit Maurya's user avatar
  • 2,871
0 votes
1 answer
121 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 ...
Kyle's user avatar
  • 41
2 votes
1 answer
1k 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 ...
Yash Shah's user avatar
  • 2,503
6 votes
2 answers
1k 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/...
Ben Crook's user avatar
  • 15.7k
1 vote
1 answer
227 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/...
Holly's user avatar
  • 4,873
4 votes
2 answers
6k 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 ...
St3phan's user avatar
  • 2,907
1 vote
2 answers
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 ...
Dhiren Vasoya's user avatar
0 votes
1 answer
1k 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/...
Dean's user avatar
  • 125
15 votes
4 answers
3k 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 ...
Krishna ijjada's user avatar
3 votes
1 answer
633 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 ...
Marcel H.'s user avatar
  • 157
3 votes
1 answer
226 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 ...
Aaron's user avatar
  • 259
2 votes
1 answer
755 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 ...
Zachary Craig's user avatar
1 vote
1 answer
1k 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 ...
user3748173's user avatar
2 votes
1 answer
378 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". ...
user3748173's user avatar
1 vote
2 answers
898 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 ...
Xavier's user avatar
  • 33
1 vote
0 answers
498 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.
Trong Khoa's user avatar
4 votes
1 answer
1k 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 ...
Jackson's user avatar
  • 9,939
1 vote
2 answers
221 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 ...
Werner's user avatar
  • 11
2 votes
2 answers
3k 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?...
Ricky.C's user avatar
  • 2,182
3 votes
7 answers
11k 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 ...
Martin Smith's user avatar
9 votes
3 answers
3k 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\...
Alana Storm's user avatar
  • 44.4k
5 votes
1 answer
359 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-...
Alana Storm's user avatar
  • 44.4k
0 votes
1 answer
385 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 ...
Rahahaha's user avatar
  • 439
0 votes
1 answer
1k 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/...
mrtuvn's user avatar
  • 3,283
4 votes
1 answer
1k 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 ...
Alana Storm's user avatar
  • 44.4k
15 votes
2 answers
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?
Keyur Shah's user avatar
  • 18.1k