«magento2» 태그된 질문

부 버전에 국한되지 않은 Magento 2에 대한 일반적인 질문. 이 태그를 사용하여 Magento 1과 구별하십시오. 특정 버전에 문제가있는 경우 적절한 'Magento-2.x'태그를 대신 사용하십시오. Magento 2 부 버전의 기능은 다를 수 있습니다.

3
마 젠토 2 : % _entity 테이블에서 row_id와 entity_id의 차이점은 무엇입니까?
Magento 1 row_id에는 엔티티 테이블에서 호출 된 열 이 없었습니다 entity_id. CREATE TABLE `catalog_category_entity` ( `entity_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Entity ID', `entity_type_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Entity Type ID', `attribute_set_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Attriute Set ID', `parent_id` int(10) unsigned NOT …
17 magento2  database  eav 

1
SYSTEM VALUE 기본값은 어디에 있습니까? 마 젠토 2.1
URL 다시 쓰기 영역을 약간 변경하고 싶습니다.이 질문을 조금만 해보고 싶다고 생각했습니다. 기본값은 어디에 설정되어 있습니까? 예를 들어 URL을 다시 쓰려면 "시스템 값 사용"을 선택 취소하여 동작을 변경해야합니다. 이 "시스템 값"을 어디에서 변경할 수 있습니까? Use Categories Path for Product URLs Yes/No [x] Use system value Create Permanent Redirect for …


4
마 젠토 2 로그 데이터베이스 쿼리
magento 1.x에서는 n98-magerun도구를 사용하여 모든 DB 쿼리에 대한 로그 파일을 얻습니다. n98-magerun.phar dev:log:db [--on] [--off] Magento2에 데이터베이스 쿼리를 기록 할 수 있습니까?
17 magento2 


2
Magento 2의 view.xml 파일에서“exclude”태그는 무엇을합니까
Magento 2 "공백"테마에는 다음과 같은 태그 계층이 포함됩니다. <exclude> <item type="file">Lib::jquery/jquery-ui-1.9.2.js</item> <item type="file">Lib::jquery/jquery.ba-hashchange.min.js</item> <item type="file">Lib::jquery/jquery.details.js</item> <item type="file">Lib::jquery/jquery.details.min.js</item> <item type="file">Lib::jquery/jquery.hoverIntent.js</item> <item type="file">Lib::jquery/jquery.min.js</item> <item type="file">Lib::mage/captcha.js</item> <item type="file">Lib::mage/dropdown_old.js</item> <item type="file">Lib::mage/list.js</item> <item type="file">Lib::mage/loader_old.js</item> <item type="file">Lib::mage/webapi.js</item> <item type="file">Lib::moment.js</item> <item type="file">Lib::requirejs/require.js</item> <item type="file">Lib::date-format-normalizer.js</item> <item type="file">Lib::legacy-build.min.js</item> <item type="directory">Lib::modernizr</item> <item type="directory">Lib::tiny_mce</item> <item type="directory">Lib::varien</item> <item type="directory">Lib::jquery/editableMultiselect</item> <item type="directory">Lib::jquery/jstree</item> <item …
17 magento2  theme 

6
Magento2가 requirejs-config.js를 읽지 못합니다
안녕하세요, Magento2를 처음 사용하고 Magento에서 RequireJS가 어떻게 작동하는지 알아 내려고 노력했습니다. 내 상황은 다음과 같습니다. 다음 모듈이 있습니다. app/code/Mymodule/Test/view/frontend/requirejs-config.js 이 파일의 내용은 다음과 같습니다. var config = { map: { '*': { jQuery110: "Mymodule_Test/js/jquery-1.10.2", jqueryNoConflict: 'Mymodule_Test/js/jquery.no-conflict', flexslider: 'Mymodule_Test/js/jquery.flexslider-min', header: 'Mymodule_Test/js/store/header' } } }; 내 테마는이 위치에 있습니다. app/design/frontend/Mycompany/Basic 내 자바 …

2
mixins Magento 2.1.1로 위젯 기능을 다시 쓰는 방법
우리는 swatch-renderer.js 이 파일에는 몇 가지 위젯이 있습니다. .... $.widget('mage.SwatchRenderer', { .... /** * @private */ _init: function () { if (this.options.jsonConfig !== '' && this.options.jsonSwatchConfig !== '') { this._sortAttributes(); this._RenderControls(); } else { console.log('SwatchRenderer: No input data received'); } }, /** * @private */ _sortAttributes: function () { this.options.jsonConfig.attributes …

4
마 젠토 2 : 프록시 클래스 란 무엇인가?
그래서 저는 이론적으로 Magento 2의 프록시 클래스가 무엇인지 알고 있습니다 . 훌륭한 Alan Storm 기사를 읽었 으며 이러한 클래스가 어떻게 생성되는지 완전히 이해 했습니다 . 그러나 나는 영어가 모국어가 아니기 때문에 또는 Alan의 설명이 매우 추상적 인 비 핵심 클래스를 사용하고 있는지 여부를 알지 못하지만 작동 방식과 사용 시기를 이해하는 …


1
Magento2-jQuery 위젯을 확장하는 방법 (configurable.js)
기본 구성 가능한 옵션 레이블 'Choose an Option ...'을 속성 이름으로 바꾸는 확장을 만들고 있습니다 (예 : 'Choose a Color ...'). jQuery 위젯 configurable.js를 확장하고 재정의하지 않는 방법은 무엇입니까? 설명서에서 jQuery 위젯을 재정의 할 수 있다는 것을 알고 있으므로 다음과 같이했습니다. define([ 'jquery', 'jquery/ui', 'configurable' // usually widget can be …



2
Magento 2는 어떻게“mixins”을 구현합니까?
Magento 2의 RequireJS 기반 객체 시스템에는 "mixins"라는 기능이 있습니다. Magento 2 mixin은 소프트웨어 엔지니어가 일반적으로 mixin / trait 로 생각하는 것이 아닙니다 . 대신 Magento 2 믹스 인을 사용하면 메인 프로그램에서 해당 객체 / 값을 사용하기 전에 RequireJS 모듈이 반환 한 객체 / 값을 수정할 수 있습니다. 이와 같이 Magento …

3
Js 또는 html 파일에서 기본 URL 또는 동적 URL 가져 오기
간단히 정의 mage/url하고 다음 과 같이 사용할 수 있으면 프런트 엔드에서 동적 URL을 얻 습니다.url.build('<Modulename>/<controllername>/<action>/') 백엔드에 대해 동일한 것을 시도했을 때 예상 결과를 반환하지 않았습니다. 현재 URL을 제공하고 내가 지정한 경로를 추가합니다. 누구나 이것이 어떻게 작동하는지 설명 할 수 있습니까? baseUrl을 어딘가에 정의해야합니까?

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.