Magento

Magento 전자 상거래 플랫폼 사용자를위한 Q & A

3
UI 구성 요소 파일의 "소스"항목
Magento 2의 UI 양식 구성 요소 구성 파일에는 종종 - item와 동일한 속성이 표시 됩니다.source<item name="source" xsi:type="string">block</item> #File: vendor/magento/module-cms/view/adminhtml/ui_component/cms_block_form.xml <field name="title"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="dataType" xsi:type="string">text</item> <item name="label" xsi:type="string" translate="true">Block Title</item> <item name="formElement" xsi:type="string">input</item> <item name="source" xsi:type="string">block</item> <item name="sortOrder" xsi:type="number">20</item> <item name="dataScope" xsi:type="string">title</item> <item name="validation" xsi:type="array"> …

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 …

3
기본 URL 변경 마 젠토 2.1
Magento 2.1에서 Base url을 변경했지만 작동하지 않습니다. 설치하는 동안 기본 URL을로 설정했습니다 www.domain1.net. 로 변경해야합니다 www.domain2.net. 내가 시도한 것 : 에서 baseurl 업데이트 core_config_data: UPDATE core_config_data SET value = 'http://www.domain2.net/' WHERE path IN ('web/secure/base_url', 'web/unsecure/base_url'); 바꾸다 design/head/includes/ UPDATE core_config_data SET value = REPLACE(value, 'http://www.domain1.net/', 'http://www.domain2.net/') WHERE path = 'design/head/includes'; 그런 …


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 내 자바 …

4
현재 스킨 URL
현재 테마의 스킨 URL을 가져오고 싶습니다. 현재 저는 Magento "rwd"테마로 작업하고 있습니다. 그리고 피부 URL을 얻기 위해 아래 코드를 사용하고 있습니다. Mage::getDesign()->getSkinUrl(); 이것은 URL http : // localhost / magento / skin / frontend / default / default /를 반환합니다 . 하지만 다음과 같은 URL이 필요합니다. http : // localhost …
17 magento-1  theme  skin 

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 …

5
Magento 위치에 따라 적절한 현지화 표시
사용자의 기본 언어 및 위치를 인식하고 해당 언어로 사이트를 표시하고 현지화 할 수 있도록 Magento 사이트를 구성하고 싶습니다. 예를 들면 다음과 같습니다. 러시아어를 기본으로 사용하는 러시아 사용자는 루블을 기본 통화 및 가격으로 사용하여 러시아어 웹 사이트로 직접 이동합니다. 이것이 가능한가? 그렇다면 어떻게?

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 …

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