«magento2» 태그된 질문

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

1
마 젠토 2-장소 주문 버튼으로 검토 및 결제 섹션 후 추가 결제 단계를 추가하는 방법
'검토 및 결제'섹션 다음에 추가 결제 단계를 추가하려고합니다. 요구 사항은 지불을 분할하고 별도의 단계로 검토하는 것입니다. 결제 방법을 선택한 후에는 모든 주문 정보를 "주문 주문"버튼과 함께 표시해야하는 최종 단계 "검토"로 이동해야합니다. 지금까지 아래 링크를 따라 지불 단계 후에 사용자 정의 단계를 추가했습니다. http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_new_step.html 그러나 여기서 문제는 "주문하기"버튼이 지불 단계와 바인딩되어 …



3
Magento2 REST API 오류 '클래스가 없습니다'
Alan의 블로그 ( http://alankent.me/2015/07/24/creating-a-new-rest-web-service-in-magento-2/)를 기반으로 테스트 Magento 2.0.2 REST 웹 서비스를 만들었습니다. Postman을 사용하여 사용자 정의 웹 서비스를 호출하고 다음 오류가 발생합니다. "message": "Class does not exist", "code": -1, "trace": "#0 P:\\wwwroot\\Magento202_com_loc\\Web\\vendor\\magento\\framework\\Webapi\\ServiceInputProcessor.php(128): ReflectionClass->__construct('')\n#1 P:\\wwwroot\\Magento202_com_loc\\Web\\vendor\\magento\\framework\\Webapi\\ServiceInputProcessor.php(262): Magento\\Framework\\Webapi\\ServiceInputProcessor->_createFromArray(NULL, '30')\n#2 P:\\wwwroot\\Magento202_com_loc\\Web\\vendor\\magento\\framework\\Webapi\\ServiceInputProcessor.php(99): Magento\\Framework\\Webapi\\ServiceInputProcessor->convertValue('30', NULL)\n#3 P:\\wwwroot\\Magento202_com_loc\\Web\\vendor\\magento\\module-webapi\\Controller\\Rest.php(262): Magento\\Framework\\Webapi\\ServiceInputProcessor->process('Test\\\\Calculator...', 'add', Array)\n#4 P:\\wwwroot\\Magento202_com_loc\\Web\\vendor\\magento\\module-webapi\\Controller\\Rest.php(160): Magento\\Webapi\\Controller\\Rest->processApiRequest()\n#5 P:\\wwwroot\\Magento202_com_loc\\Web\\var\\generation\\Magento\\Webapi\\Controller\\Rest\\Interceptor.php(24): Magento\\Webapi\\Controller\\Rest->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#6 P:\\wwwroot\\Magento202_com_loc\\Web\\vendor\\magento\\framework\\App\\Http.php(115): Magento\\Webapi\\Controller\\Rest\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#7 P:\\wwwroot\\Magento202_com_loc\\Web\\vendor\\magento\\framework\\App\\Bootstrap.php(258): …



4
Magento2에서 그리드에 기본 필터를 추가하려면?
관리 그리드에서 제목 및 상태 필드 속성을 가진 하나의 사용자 정의 모듈을 만들었습니다. module_test_grid_block.xml의 그리드 컬렉션 <arguments> <argument name="id" xsi:type="string">testGrid</argument> <argument name="dataSource" xsi:type="object">Namespace\Module\Model\ResourceModel\test\Collection</argument> <argument name="default_sort" xsi:type="string">id</argument> <argument name="default_dir" xsi:type="string">desc</argument> <argument name="grid_url" xsi:type="url" path="*/*/grid"><param name="_current">1</param></argument> </arguments> 활성화 된 데이터를 보여주고 싶습니다. 관리 표 컬렉션에 기본 필터를 추가 하는 옵션 이 있습니까? …



6
암호화 된 구성 값을 어떻게 해독 할 수 있습니까?
protected $_paymentData; protected $_scopeConfig; protected $logger; public function __construct( \Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory, \Magento\Framework\Api\AttributeValueFactory $customAttributeFactory, \Magento\Payment\Helper\Data $paymentData, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Payment\Model\Method\Logger $logger, \Magento\Framework\Module\ModuleListInterface $moduleList, \Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, \Magento\Directory\Model\CountryFactory $countryFactory, \Stripe\Stripe $stripe, \Inchoo\Stripe\Model\StripeFactory $stripeFactory, array $data = array() ) { parent::__construct( $context, $registry, $extensionFactory, $customAttributeFactory, $paymentData, $scopeConfig, $logger, $moduleList, $localeDate, null, …

2
Magento 2에서 구성 값을 설정하는 방법
이전에는 (Magento 1에서) 사이트 설정을 포함하는 Setup이라는 모듈을 만들었습니다. 업그레이드 스크립트는 다음과 같습니다. $installer = $this; $installer->startSetup(); $installer->setConfigData("fastsimpleimport/general/partial_indexing", 1); $installer->setConfigData("fastsimpleimport/product/disable_preprocess_images", 1); $installer->setConfigData('general/country/default', 'GB'); $installer->setConfigData('general/locale/firstday', 1); $installer->setConfigData('general/locale/timezone', 'Europe/London'); $installer->setConfigData('general/store_information/merchant_country', 'GB'); $installer->setConfigData('design/header/welcome', 'Enter your value'); $installer->setConfigData('design/head/title_suffix', 'Enter your value'); $installer->setConfigData('currency/options/base', 'GBP'); $installer->setConfigData('currency/options/default', 'GBP'); // ... M2에서 위의 작업을 수행하는 방법을 알 수 …

2
Magento 2에서 녹아웃 JS를 사용하는 방법
내 문제: Magento 2 내에서 작은 녹아웃 JS 앱을 작성하려고 시도 중입니다. 앱을 사용할 때 ko.applyBindings(AppViewModel, document.getElementById("koTest"));Magento에서 사용하는 녹아웃을 중단 하고이 오류가 발생하는 것처럼 앱을 초기화하는 데 어려움을 겪고 있습니다 . Uncaught Error: You cannot apply bindings multiple times to the same element. 나는 그것이 다음과 같은 이유로 의심합니다. 나는 …



2
인덱서 상태 "정지 된"을 해결하는 방법 (백 로그에서 n)
스케줄에 따라 업데이트되도록 구성된 인덱서 중 하나가 "일시 중단"상태로 잠기고 더 이상 업데이트되지 않습니다. 출력 bin/magento indexer:status +----------------------------+------------------+-----------+-------------------------------+---------------------+ | Title | Status | Update On | Schedule Status | Schedule Updated | +----------------------------+------------------+-----------+-------------------------------+---------------------+ | ... | | | | | | IntegerNet_Solr | Reindex required | Schedule | suspended (101028 …

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