diff --git a/Block/Adminhtml/Form/Field/Checkouts.php b/Block/Adminhtml/Form/Field/Checkouts.php index ce943ab..a8eba32 100644 --- a/Block/Adminhtml/Form/Field/Checkouts.php +++ b/Block/Adminhtml/Form/Field/Checkouts.php @@ -4,7 +4,7 @@ namespace Elgentos\HyvaCheckoutABTest\Block\Adminhtml\Form\Field; -use Hyva\CheckoutCore\Block\Adminhtml\Element\FieldArray\TypeRenderer; +use Hyva\Checkout\Block\Adminhtml\Element\FieldArray\TypeRenderer; use Magento\Backend\Block\Template\Context; use \Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray; use Magento\Framework\View\Helper\SecureHtmlRenderer; @@ -12,12 +12,12 @@ class Checkouts extends AbstractFieldArray { private \Magento\Framework\View\Element\BlockFactory $blockFactory; - private \Hyva\CheckoutCore\Model\Config\Source\Checkout $checkoutSource; + private \Hyva\Checkout\Model\Config\Source\Checkout $checkoutSource; public function __construct( Context $context, \Magento\Framework\View\Element\BlockFactory $blockFactory, - \Hyva\CheckoutCore\Model\Config\Source\Checkout $checkoutSource, + \Hyva\Checkout\Model\Config\Source\Checkout $checkoutSource, array $data = [], ?SecureHtmlRenderer $secureRenderer = null ) { diff --git a/Plugin/PickRandomCheckout.php b/Plugin/PickRandomCheckout.php index 8de3bab..2d35f3f 100644 --- a/Plugin/PickRandomCheckout.php +++ b/Plugin/PickRandomCheckout.php @@ -3,8 +3,8 @@ namespace Elgentos\HyvaCheckoutABTest\Plugin; use Exception; -use Hyva\CheckoutCore\Model\CheckoutInformation\Luma; -use Hyva\CheckoutCore\Model\Config; +use Hyva\Checkout\Model\CheckoutInformation\Luma; +use Hyva\Checkout\Model\Config; use Magento\Checkout\Model\Session as CheckoutSession; use Magento\Framework\App\Config\ScopeConfigInterface; use Magento\Framework\App\State; diff --git a/composer.json b/composer.json index 2491bd3..76664c9 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "require": { "php": "^8.1", "magento/framework": "*", - "hyva-themes/checkout-core": "*" + "hyva-themes/magento2-hyva-checkout": "*" }, "suggest": { "degdigital/magento2-customreports": "Useful to check A/B test results in the Magento admin" diff --git a/etc/frontend/di.xml b/etc/frontend/di.xml index 43e9a6c..054950c 100644 --- a/etc/frontend/di.xml +++ b/etc/frontend/di.xml @@ -1,6 +1,6 @@ - + diff --git a/etc/module.xml b/etc/module.xml index d5ebbc5..37e09df 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -2,7 +2,7 @@ - +