From 5f0b30717b6cdea8a45da546fb4eef587eec14b0 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Thu, 14 Nov 2019 19:47:49 +0600 Subject: [PATCH] 1.0.9 --- Block/Frontend/MagexSync.php | 2 +- Block/Frontend/Success.php | 2 +- Block/System/Config/Form/Button.php | 4 ++-- Controller/Response/Catalog.php | 2 +- Controller/Response/Orders.php | 2 +- Model/Config/Mylist.php | 2 +- Settings.php | 3 +++ Setup/InstallData.php | 2 +- composer.json | 4 ++-- etc/adminhtml/system.xml | 4 ++-- etc/frontend/di.xml | 10 ---------- .../frontend/layout/checkout_onepage_success.xml | 2 +- view/frontend/layout/default.xml | 2 +- view/frontend/templates/embed.phtml | 16 +++++++++------- view/frontend/templates/magexsync.phtml | 4 ++-- view/frontend/templates/order/success.phtml | 4 ++-- 16 files changed, 30 insertions(+), 35 deletions(-) create mode 100644 Settings.php delete mode 100644 etc/frontend/di.xml diff --git a/Block/Frontend/MagexSync.php b/Block/Frontend/MagexSync.php index 5fd21fc..07ea327 100644 --- a/Block/Frontend/MagexSync.php +++ b/Block/Frontend/MagexSync.php @@ -1,5 +1,5 @@ 'justuno_token_button', /** * 2019-10-245 Dmitry Fedyuk https://www.upwork.com/fl/mage2pro - * «Call to undefined function Justuno\Jumagext\Block\System\Config\Form\_() + * «Call to undefined function Justuno\M2\Block\System\Config\Form\_() * in vendor/justuno.com/m2/Block/System/Config/Form/Button.php:48»: * https://github.com/justuno-com/m2/issues/2 */ diff --git a/Controller/Response/Catalog.php b/Controller/Response/Catalog.php index ae4f994..72fd59d 100644 --- a/Controller/Response/Catalog.php +++ b/Controller/Response/Catalog.php @@ -1,5 +1,5 @@ =5.4.4"} - ,"autoload": {"files": ["registration.php"], "psr-4": {"Justuno\\Jumagext\\": ""}} + ,"autoload": {"files": ["registration.php"], "psr-4": {"Justuno\\M2\\": ""}} ,"keywords": ["Magento 2"] } \ No newline at end of file diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 2462b13..e3323fe 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -25,7 +25,7 @@ - Justuno\Jumagext\Model\Config\Mylist + Justuno\M2\Model\Config\Mylist @@ -36,7 +36,7 @@ - Justuno\Jumagext\Block\System\Config\Form\Button + Justuno\M2\Block\System\Config\Form\Button diff --git a/etc/frontend/di.xml b/etc/frontend/di.xml deleted file mode 100644 index 303ba64..0000000 --- a/etc/frontend/di.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - \ No newline at end of file diff --git a/view/frontend/layout/checkout_onepage_success.xml b/view/frontend/layout/checkout_onepage_success.xml index ef4bd97..7f7363f 100644 --- a/view/frontend/layout/checkout_onepage_success.xml +++ b/view/frontend/layout/checkout_onepage_success.xml @@ -1,7 +1,7 @@ - diff --git a/view/frontend/layout/default.xml b/view/frontend/layout/default.xml index 763d104..bdfbcf6 100644 --- a/view/frontend/layout/default.xml +++ b/view/frontend/layout/default.xml @@ -6,7 +6,7 @@ - + \ No newline at end of file diff --git a/view/frontend/templates/embed.phtml b/view/frontend/templates/embed.phtml index 6fc5578..093699b 100644 --- a/view/frontend/templates/embed.phtml +++ b/view/frontend/templates/embed.phtml @@ -1,13 +1,15 @@ - - - "ju_num loaded ({$block->escapeHtml(substr($merchantId, -6))})"]) ?> + + + sprintf( + 'ju_num loaded (%s)', substr($id, -6 + ))])) ?>