«magento2» 태그된 질문

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


2
마 젠토 2-번역 : js-translation.json은 어떻게 채워 집니까? 광산은 비어 있습니다!
커뮤니티 버전 2.1.3. 로캘이 en_GB (영어 영국)로 설정되어 있습니다. 루마 테마를 사용합니다. en_GB.csv 번역 파일이 설정되어 있고 내 번역이 있습니다. "장바구니에 품목이 없습니다.", "장바구니에 품목이 없습니다!" 장바구니 페이지로 이동하면 (비어 있음) 번역 내용을 볼 수 있습니다. 그러나 미니 카트 위에 마우스를 올려 놓으면 오버레이가 변환되지 않습니다. "장바구니에 상품이 없습니다."라고 계속 …
9 magento2 


3
마 젠토 2 체크 아웃-400 잘못된 요청
Magento 2 상점에서 결제 방법으로 현금 지불을 주문하는 중에 아래 오류가 발생했습니다. POST http://yoursite.com/rest/ae_en/V1/carts/mine/payment-information 400 (Bad Request) 같은 문제에 직면 한 사람이 있습니까?

2
마 젠토 2 :-카테고리에 속성 선택 추가
상점 소유자가 선택할 수 있도록 카테고리에 선택 / 드롭 다운 속성을 추가하고 백엔드에 표시하려고합니다. 몇 가지 연구를 한 후 다음과 같은 작업을 수행했습니다. 설정 스크립트를 통해 속성 생성 UI 컴포넌트 선언을 통해 포함 이것이 내가 한 일입니다. public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { /** @var $eavSetup \Magento\Eav\Setup\EavSetup */ $eavSetup …

4
Magento 2 update.log는 1 분마다 상당한 크기를 증가시킵니다.
최신 정보: 나는 점점 증가하는 로그 파일을 처리하기 위해 logrotate 유틸리티를 사용하게되었습니다. 또한 불필요한 임시 파일을 수시로 확인하는 크론 작업을 거의 설정하지 않았습니다. 표준 Magento 2 cron이 구성되어 실행 중입니다. 이틀 후 관리자 패널에서 일부 작업을 실행하는 동안 문제가 발생했습니다. 서버 로그를 확인했을 때 디스크 공간 문제라는 것을 알았습니다. 추가 …
9 magento2  cron  log 

2
Magento 2에서 관리자 양식에 맞춤 입력란을 추가하려면 어떻게해야하나요?
UI 구성 요소를 사용하여 관리자에서 양식을 만들었으므로 view/adminhtml/ui_component/[module]_[entity]_form.xml다음과 같은 내용이 있습니다. <field name="configuration"> <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">Configuration</item> <item name="formElement" xsi:type="string">textarea</item> <item name="source" xsi:type="string">form</item> <item name="sortOrder" xsi:type="number">30</item> <item name="dataScope" xsi:type="string">configuration</item> <item name="validation" xsi:type="array"> <item name="required-entry" xsi:type="boolean">true</item> </item> </item> </argument> </field> 이제이 값을 …

1
Magento 2는 cron 작업을 병렬로 실행합니까?
간단한 질문 : 5 분마다 실행되는 cron이 있고 작업 자체도 약 5 분 동안 실행됩니다. 다른 모든 cron 태스크는이 작업이 완료 될 때까지 대기합니까? 아니면 Magento 2가 크론을 병렬로 실행합니까?
9 magento2  cron 

4
상점을 전환 한 후 상점 언어를 변경하는 방법
하나는 영어이고 다른 하나는 프랑스어입니다. 영어 및 프랑스어로 제품 및 카테고리를 작성하지만 french에 대한 카테고리 또는 제품을 작성할 수 없습니다 . 도와주세요, 카테고리, 프랑스어 상점에서 프랑스어로 된 제품과 같은 콘텐츠를 어떻게 프랑스어로 만들 수 있습니까?

1
소비자는 Magento2 rest API에 대한 % resources에 액세스 할 권한이 없습니다
새 고객을 만들고 토큰을 완벽하게 얻었지만 다음과 같은 API에 액세스하려고 할 때 http://myhost.com/index.php/rest/V1/customers/me?Authorization=Bearerhy23vc01x9s1jd2t8gho47g58trllc0b 오류가 발생했습니다 <?xml version="1.0"?> <response> <message>Consumer is not authorized to access %resources</message> <parameters> <resources>self</resources> </parameters> <trace>#0 /var/www/myhost.com/public_html/vendor/magento/module-webapi/Controller/Rest/RequestValidator.php(70): Magento\Webapi\Controller\Rest\RequestValidator->checkPermissions() #1 /var/www/myhost.com/public_html/vendor/magento/module-webapi/Controller/Rest/InputParamsResolver.php(80): Magento\Webapi\Controller\Rest\RequestValidator->validate() #2 /var/www/myhost.com/public_html/vendor/magento/module-webapi/Controller/Rest.php(299): Magento\Webapi\Controller\Rest\InputParamsResolver->resolve() #3 /var/www/myhost.com/public_html/vendor/magento/module-webapi/Controller/Rest.php(216): Magento\Webapi\Controller\Rest->processApiRequest() #4 /var/www/myhost.com/public_html/var/generation/Magento/Webapi/Controller/Rest/Interceptor.php(24): Magento\Webapi\Controller\Rest->dispatch(Object(Magento\Framework\App\Request\Http)) #5 /var/www/myhost.com/public_html/vendor/magento/framework/App/Http.php(135): Magento\Webapi\Controller\Rest\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #6 /var/www/myhost.com/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch() #7 …
9 magento2 




1
ui_component XML을 통해 열을 추가 할 때 ui_bookmark 테이블 업데이트
Magento 2에서 ui_component기반 그리드를 사용하면 열 순서를 바꿀 수 있으며 Magento는 다음에 로그인 할 때 설정을 기억합니다. 이는 Magento가 데이터를 모델 객체 ui_bookmark를 통해 테이블에 저장하여 수행됩니다 Magento\Ui\Model\Bookmark. 이 기능은 깔끔하지만 확장 개발자 또는 시스템 통합자가 Magento ui_componentXML을 사용 하여 테이블에 열을 추가 할 때 문제가 발생할 수 있습니다 . …

1
마 젠토 2.1 : 블록에서 인수 및 / 또는 인수 항목을 제거하는 방법?
번들 제품 페이지에서 "부터"까지 가격을 제거해야합니다. 문제는 인수에서 항목을 제거하는 방법입니다. 블록 생성 magento2 / vendor / magento / module-bundle / view / base / layout / catalog_product_prices.xml <layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/layout_generic.xsd"> <referenceBlock name="render.product.prices"> <arguments> <argument name="bundle" xsi:type="array"> <item name="prices" xsi:type="array"> <item name="tier_price" xsi:type="array"> <item name="render_template" xsi:type="string">Magento_Bundle::product/price/tier_prices.phtml</item> </item> <!-- start: this …

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