Реализация Drupal 8 Commerce UPS/FedEx Shipping
Я нуждаюсь в указании относительно доставки Drupal 8 Commerce с UPS и FedEx. Документация Commerce2.x не предоставляет никакой информации о способе доставки. Когда я захожу на страницу модуля Commerce UPS, модуль еще не был депортирован в D8. Я нашел модуль разработки "commerce up 8.x-3.x-dev" и альфа-модуль для FedEx "commerce fedex 8.x-1.0-alpha4", но я еще не нашел учебник по реализации всего Процесс доставки для D8. Так что любое направление будет с благодарностью.
Кроме того, у меня возникают проблемы с модулем доставки "commerce shipping 8.x-2.0-beta5". При вводе метода доставки (я пытался внедрить единый тариф) я получил эту ошибку:
> Notice: Undefined index: display_label in
> Drupal\commerce\Element\Conditions::processConditions() (line 146 of
> modules/contrib/commerce/src/Element/Conditions.php).
>
> Drupal\commerce\Element\Conditions::processConditions(Array, Object,
> Array) call_user_func_array(Array, Array) (Line: 997)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 561)
> Drupal\Core\Form\FormBuilder->processForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 318)
> Drupal\Core\Form\FormBuilder->buildForm('commerce_shipping_method_add_form',
> Object) (Line: 93)
> Drupal\Core\Controller\FormController->getContentResult(Object,
> Object) call_user_func_array(Array, Array) (Line: 123)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
> (Line: 582)
> Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
> (Line: 124)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array,
> Array) (Line: 97)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
> (Line: 151) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object,
> 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object,
> 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object,
> 1, 1) (Line: 47)
> Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)
> (Line: 99) Drupal\page_cache\StackMiddleware\PageCache->pass(Object,
> 1, 1) (Line: 78)
> Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)
> (Line: 47)
> Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1,
> 1) (Line: 52)
> Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1,
> 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line:
> 665) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
>
> Notice: Undefined index: display_label in
> Drupal\commerce\Element\Conditions::processConditions() (line 146 of
> modules/contrib/commerce/src/Element/Conditions.php).
>
> Drupal\commerce\Element\Conditions::processConditions(Array, Object,
> Array) call_user_func_array(Array, Array) (Line: 997)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 561)
> Drupal\Core\Form\FormBuilder->processForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 318)
> Drupal\Core\Form\FormBuilder->buildForm('commerce_shipping_method_add_form',
> Object) (Line: 93)
> Drupal\Core\Controller\FormController->getContentResult(Object,
> Object) call_user_func_array(Array, Array) (Line: 123)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
> (Line: 582)
> Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
> (Line: 124)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array,
> Array) (Line: 97)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
> (Line: 151) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object,
> 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object,
> 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object,
> 1, 1) (Line: 47)
> Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)
> (Line: 99) Drupal\page_cache\StackMiddleware\PageCache->pass(Object,
> 1, 1) (Line: 78)
> Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)
> (Line: 47)
> Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1,
> 1) (Line: 52)
> Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1,
> 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line:
> 665) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
>
> Notice: Undefined index: display_label in
> Drupal\commerce\Element\Conditions::processConditions() (line 146 of
> modules/contrib/commerce/src/Element/Conditions.php).
>
> Drupal\commerce\Element\Conditions::processConditions(Array, Object,
> Array) call_user_func_array(Array, Array) (Line: 997)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 1060)
> Drupal\Core\Form\FormBuilder->doBuildForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 561)
> Drupal\Core\Form\FormBuilder->processForm('commerce_shipping_method_add_form',
> Array, Object) (Line: 318)
> Drupal\Core\Form\FormBuilder->buildForm('commerce_shipping_method_add_form',
> Object) (Line: 93)
> Drupal\Core\Controller\FormController->getContentResult(Object,
> Object) call_user_func_array(Array, Array) (Line: 123)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
> (Line: 582)
> Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
> (Line: 124)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array,
> Array) (Line: 97)
> Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
> (Line: 151) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object,
> 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object,
> 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object,
> 1, 1) (Line: 47)
> Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)
> (Line: 99) Drupal\page_cache\StackMiddleware\PageCache->pass(Object,
> 1, 1) (Line: 78)
> Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)
> (Line: 47)
> Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1,
> 1) (Line: 52)
> Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1,
> 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line:
> 665) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Любая помощь и / или руководство по решениям и реализации будет принята с благодарностью.
Я использую следующие версии:
Drupal 8.6.2
коммерция 8.х-2.5
коммерческие вариации 8.x-1.1
коммерция Paypal 8.x-1.0-бета2
коммерческая доставка 8.x-2.0-beta5