Magento

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

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 

2
하위 제품 속성별로 제품 콜렉션 필터링
하위 상품에 할당되는 2 속성과 같은 상황이 있습니다 1) person_height_from과 2) person_height_to이있는 드롭 다운 형 특성 하위 제품에만 할당되고 상위 제품에는 할당되지 않습니다. 이 속성을 사용하여 카테고리 페이지에서 제품 콜렉션을 필터링하고 싶습니다. 처럼 length = 175 $collection->addAttributeToFilter('person_height_from', array('lteq' => $length)); $collection->addAttributeToFilter('person_height_to', array('gteq' => $length)); 하위 제품이 값보다 높은 카테고리 페이지의 …

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
Magento 2는 미니 카트에 특별 가격으로 정상 가격을 보여줍니다.
코어 파일에 커스텀 기능을 넣으면서 특별 가격 과 함께 통상 가격 을 설정할 수 있습니다 vendor/magento/module-weee/Block/Item/Price/Renderer.php public function getUnitItemPriceExclTax() { $priceExclTax = $this->getItem()->getProduct()->getPrice(); return $priceExclTax; } 이 함수를 코어 파일로 호출하면 vendor/magento/module-weee/view/frontend/templates/checkout/cart/item/price/sidebar.phtml 두 가지 가격을 모두 정확하게 얻었지만 그 값을 무시하고 싶습니다. vendor/magento/module-weee/Block/Item/Price/Renderer.php 내 맞춤 모듈을 차단하십시오. 아래 코드로 di.xml을 …




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