From 55008aa852d810ace52569255e5c11651e6729fe Mon Sep 17 00:00:00 2001 From: Oli J Date: Tue, 5 Dec 2023 16:56:41 +0700 Subject: [PATCH] Initial commit --- Block/QuickAction.php | 40 ++++ Helper/Config.php | 43 ++++ Helper/Data.php | 124 +++++++++++ LICENSE | 21 ++ Magewire/QuickAction.php | 141 ++++++++++++ .../Model/Inline/CacheManagerPlugin.php | 50 +++++ README.md | 209 ++++++++++++++++++ composer.json | 27 +++ etc/adminhtml/system.xml | 18 ++ etc/config.xml | 11 + etc/di.xml | 7 + etc/jajuma_powertoys.xml | 15 ++ etc/module.xml | 8 + registration.php | 14 ++ view/adminhtml/templates/quick_action.phtml | 67 ++++++ view/frontend/templates/quick_action.phtml | 86 +++++++ 16 files changed, 881 insertions(+) create mode 100644 Block/QuickAction.php create mode 100755 Helper/Config.php create mode 100755 Helper/Data.php create mode 100644 LICENSE create mode 100644 Magewire/QuickAction.php create mode 100644 Plugin/Magento/Translation/Model/Inline/CacheManagerPlugin.php create mode 100644 README.md create mode 100644 composer.json create mode 100644 etc/adminhtml/system.xml create mode 100644 etc/config.xml create mode 100644 etc/di.xml create mode 100644 etc/jajuma_powertoys.xml create mode 100644 etc/module.xml create mode 100644 registration.php create mode 100644 view/adminhtml/templates/quick_action.phtml create mode 100644 view/frontend/templates/quick_action.phtml diff --git a/Block/QuickAction.php b/Block/QuickAction.php new file mode 100644 index 0000000..bc6729d --- /dev/null +++ b/Block/QuickAction.php @@ -0,0 +1,40 @@ +helperConfig = $helperConfig; + } + + /** + * Is enable + * + * @return bool + */ + public function isEnable(): bool + { + return $this->helperConfig->isEnable(); + } +} diff --git a/Helper/Config.php b/Helper/Config.php new file mode 100755 index 0000000..9d97a55 --- /dev/null +++ b/Helper/Config.php @@ -0,0 +1,43 @@ +scopeConfig->isSetFlag(self::XML_PATH_ENABLE); + } + + /** + * Auto flush translate cache + * + * @return bool + */ + public function isAutoFlushTranslateCache(): bool + { + return $this->scopeConfig->isSetFlag(self::XML_PATH_AUTO_FLUSH_TRANSLATE_CACHE); + } +} diff --git a/Helper/Data.php b/Helper/Data.php new file mode 100755 index 0000000..23a97ca --- /dev/null +++ b/Helper/Data.php @@ -0,0 +1,124 @@ +writer = $writer; + $this->typeList = $typeList; + } + + /** + * Get translate inline config + * + * @return mixed + */ + public function getTranslateInlineConfig($isHyvaTranslation = false) + { + $translateInlineActive = $this->scopeConfig->getValue(self::XML_PATH_DEV_TRANSLATE_INLINE_ACTIVE); + if ($isHyvaTranslation) { + $hyvaTranslationEnabled = $this->scopeConfig->getValue(self::XML_PATH_JAJUMA_TRANSLATE_IS_ENABLED); + $hyvaTranslationInlineActive = $this->scopeConfig->getValue(self::XML_PATH_JAJUMA_TRANSLATE_INLINE_ACTIVE); + return $translateInlineActive && $hyvaTranslationEnabled && $hyvaTranslationInlineActive; + } + return $translateInlineActive; + } + + /** + * Get translate inline config backend + * + * @return mixed + */ + public function getTranslateInlineConfigBackend() + { + return $this->scopeConfig->getValue(self::XML_PATH_DEV_TRANSLATE_INLINE_ACTIVE_ADMIN); + } + + /** + * Set translate inline config + * + * @param $value + * @param bool $isHyvaTranslation + * @return void + */ + public function setTranslateInlineConfig($value, bool $isHyvaTranslation = false) + { + if ($isHyvaTranslation) { + $this->writer->save(self::XML_PATH_JAJUMA_TRANSLATE_IS_ENABLED, $value); + $this->writer->save(self::XML_PATH_JAJUMA_TRANSLATE_INLINE_ACTIVE, $value); + } + $this->writer->save(self::XML_PATH_DEV_TRANSLATE_INLINE_ACTIVE, $value); + + $types = array_keys($this->typeList->getTypes()); + foreach ($types as $type) { + $this->typeList->cleanType($type); + } + } + + /** + * Set translate inline config backend + * + * @param $value + * @return void + */ + public function setTranslateInlineConfigBackend($value) + { + $this->writer->save(self::XML_PATH_DEV_TRANSLATE_INLINE_ACTIVE_ADMIN, $value); + $this->typeList->cleanType('config'); + $this->typeList->cleanType('block_html'); + } + + /** + * Set translate allow ips + * + * @param $value + * @param bool $isHyvaTranslation + * @return void + */ + public function setTranslateAllowIps($value, bool $isHyvaTranslation = false) + { + if ($isHyvaTranslation) { + $this->writer->save(self::XML_PATH_JAJUMA_RESTRICT_ALLOW_IPS, $value); + } + $this->writer->save(self::XML_PATH_DEV_RESTRICT_ALLOW_IPS, $value); + } +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..10892ac --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 JaJuMa + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Magewire/QuickAction.php b/Magewire/QuickAction.php new file mode 100644 index 0000000..bbccb31 --- /dev/null +++ b/Magewire/QuickAction.php @@ -0,0 +1,141 @@ +helper = $helper; + $this->remoteAddress = $remoteAddress; + $this->design = $design; + $this->moduleManager = $moduleManager; + } + + /** + * Save coupon + * + * @return void + */ + public function execute() + { + if (!$this->validateHyvaTranslation()) { + $message = 'Please enable Jajuma_HyvaTranslation extension'; + $this->dispatchBrowserEvent('finish-quick-translation', ['message' => $message]); + return; + } + + $value = '1'; + $currentIp = $this->remoteAddress->getRemoteAddress(); + if ($this->helper->getTranslateInlineConfig() == '1') { + $value = '0'; + } + $isHyvaTranslation = $this->moduleManager->isEnabled('Jajuma_HyvaTranslation'); + $this->helper->setTranslateAllowIps($currentIp, $isHyvaTranslation); + $this->helper->setTranslateInlineConfig($value, $isHyvaTranslation); + $this->status = $value; + $this->dispatchBrowserEvent('finish-quick-translation', ['status' => $value]); + } + + /** + * Backend execute + * + * @return void + */ + public function backendExecute() + { + $value = '1'; + $currentIp = $this->remoteAddress->getRemoteAddress(); + if ($this->helper->getTranslateInlineConfigBackend() == '1') { + $value = '0'; + } + + $this->helper->setTranslateAllowIps($currentIp); + $this->helper->setTranslateInlineConfigBackend($value); + $this->dispatchBrowserEvent('finish-quick-translation'); + } + + /** + * Get current status + * + * @return bool|mixed + */ + public function getCurrentStatus() + { + if ($this->status !== '') { + return $this->status; + } + + $isHyvaTranslation = $this->moduleManager->isEnabled('Jajuma_HyvaTranslation'); + return $this->helper->getTranslateInlineConfig($isHyvaTranslation); + } + + /** + * Get current status backend + * + * @return mixed + */ + public function getCurrentStatusBackend() + { + return $this->helper->getTranslateInlineConfigBackend(); + } + + /** + * Validate hyva translation + * + * @return bool + */ + protected function validateHyvaTranslation(): bool + { + $theme = $this->design->getDesignTheme(); + while ($theme) { + if (strpos($theme->getCode(), 'Hyva/') === 0) { + return $this->moduleManager->isEnabled('Jajuma_HyvaTranslation'); + } + $theme = $theme->getParentTheme(); + } + + return true; + } +} diff --git a/Plugin/Magento/Translation/Model/Inline/CacheManagerPlugin.php b/Plugin/Magento/Translation/Model/Inline/CacheManagerPlugin.php new file mode 100644 index 0000000..005edc0 --- /dev/null +++ b/Plugin/Magento/Translation/Model/Inline/CacheManagerPlugin.php @@ -0,0 +1,50 @@ +configHelper = $configHelper; + $this->typeList = $typeList; + } + + /** + * After update and get translations + * + * @param CacheManager $subject + * @param $result + * @return void + */ + public function afterUpdateAndGetTranslations( + CacheManager $subject, + $result + ) { + if ($this->configHelper->isAutoFlushTranslateCache()) { + $this->typeList->cleanType('translate'); + } + + return $result; + } +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..5c39961 --- /dev/null +++ b/README.md @@ -0,0 +1,209 @@ +# :arrows_clockwise: Quick Translation Power Toy for Magento 2 by [JaJuMa](https://www.jajuma.de/) + + + +Quick Translation Power Toy for Magento 2 by [JaJuMa](https://www.jajuma.de/en) is a Quick Action toy +to quickly enable and disable inline translation function in your Magento store. + +Compatible with + +
+ + + + + + + + + + + +
Hyvä ThemesMage-OSMagento
+
+ +## Features + +This Quick Action Toy provides: +* Status indicator: + * grey circle: Inline Translation is disabled + * green circle: Inline Translation is enabled +* Enable Inline Translation with a single click, incl. setting your IP as allowed IP +* Disable Inline Translation with a single click + +## Screenshots + + + + + + + + + + + +
Quick Translation Toy
Dark Mode
Quick Translation Toy
Light Mode
+ + +## Requirements + +
+ + + + + +
:bangbang: This module requires Power Toys for Magento 2
:bangbang: by JaJuMa
+
+ +* Magento Power Toys v1.0.0+ +* Magento v2.4.5+ OR + Mage-OS v1.0.0+ +* Magewire v1.10+ +* Magewire-requirejs v1.1+ + +## Further Info, Extension Description & Manual + +* [Extension Website EN](https://www.jajuma.de/en/jajuma-develop/extensions/power-toys-for-magento-2) +* [Extension Website DE](https://www.jajuma.de/de/jajuma-develop/extensions/power-toys-fuer-magento-2) + +## Demos + +* [Magento Power Toys Demo on Luma Theme](https://www.jajuma.de/en/jajuma-shop/demo-shop-with-magento-2) +* [Magento Power Toys Demo on Hyvä Theme](https://www.jajuma.de/en/jajuma-shop/demo-shop-with-magento-2-and-hyva-themes) +* [Magento Power Toys Demo on Mage-OS](https://www.jajuma.de/en/jajuma-shop/demo-shop-with-mage-os-and-hyva-themes) + +## Installation + +Install via composer as any other Magento extension from Github: +``` +composer require jajuma/pot-quick-translation +``` + +## Using Quick Translation Power Toy For Magento + +After installing this module: +Go to +**JaJuMa -> Power Toys -> Configuration** +and enable & configure Quick Translation Toy. + +After enabling, see the floating button at left/right edge of your screen +in your Backend & Frontend (while logged in as Admin). +When click on this button, the Power Toys Panel will open +displaying the Quick Translation Toy. +A click on Quick Translation Toy will enable/disable Inline Translation function. + +* [See Manual for more details](https://www.jajuma.de/media/wysiwyg/jajuma-develop/power-toys-magento/manuals/JaJuMa_Quick_Translation_Power_Toy_Manual_v001.pdf) + + +## License + +The code is licensed under the [MIT License (MIT)](https://github.com/JaJuMa/pot-quick-translation/blob/master/LICENSE) + +## :heart: Powered by + +Developing the Power Toys module and the toys was a lot easier and more fun thanks to [Magewire](https://github.com/magewirephp/magewire). +A big shout and Thank You to [Willem Poortman](https://github.com/wpoortman) for creating Magewire + +## Other [Magento 2 Extensions](ttps://www.jajuma.de/en/jajuma-develop/magento-extensions) by [JaJuMa](https://www.jajuma.de/) + +* :framed_picture: Performance & UX:
[Ultimate Image Optimizer for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/ultimate-image-optimizer-extension-for-magento-2)
+ AVIF & WebP Images, Lazy Loading, High-Resolution / Retina images + +* :framed_picture: Performance & UX:
[WebP Optimized Images for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/webp-optimized-images-extension-for-magento-2#portfolio-content)
+ The #1 WebP Images Solution for Magento 2 + +* :see_no_evil: SEO:
[PRG Pattern Link Masking for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/prg-pattern-link-masking-for-magento-2)
+ Link Masking for Layered Navigation + +* :cop: User Experience:
[Shariff Social Share for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/shariff-social-share-buttons-extension-for-magento-2)
+ GDPR compliant and customizable Sharing Buttons + +* :movie_camera: Content Management:
[Video Widget for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/video-widget-gdpr-extension-for-magento-2)
+ Embedding YouTube videos, GDPR compliant with auto preview image & fully responsive + +* :rocket: Performance & UX:
[Page Preload for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/page-preload-extension-for-magento-2)
+ Faster page transitions and subsequent page-loads by preloading / prefetching + +* :chart_with_upwards_trend: Marketing:
[Matomo Analytics for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/honey-spam-anti-spam-extension-for-magento-2)
+ Web Analytics - GDPR Compliant + +* :honey_pot: Site Optimization:
[Honey Spam Anti-Spam for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/honey-spam-anti-spam-extension-for-magento-2)
+ Spam Protection - Reliable & GDPR Compliant + +* :bell: Marketing:
[Customer Registration Reminder & Cleanup for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/customer-registration-reminder-and-cleanup-extension-for-magento-2)
+ Increase Your Customer Engangement & Cleanup your Customer Account Data Automatically + +* :mega: UX & Marketing:
[Category Grid Callouts for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/category-grid-callouts-extension-for-magento-2)
+ Enrich Your Category Grids With Eye-Catching Callouts + +* :thought_balloon: UX & Marketing:
[Customer Satisfaction Feedback for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/category-grid-callouts-extension-for-magento-2)
+ Collect Valuable Feedback From Your Customers & Understand How To Satisfy Your Customers + +* :sparkler: UX:
[Auto Select Options for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/auto-select-options-extension-for-magento-2)
+ Automatically Select Configurable & Custom Options Based On Your Customer's Preferences + +* :left_right_arrow: UX & Performance:
[Back Forward Cache - bfcache for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/back-forward-cache-extension-for-magento-2)
+ Enable bfcache for Magento 2 for improved UX & Core Web Vitals + +* :heavy_division_sign: Accounting:
[Dynamic Shipping Tax Plus for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/proportional-pro-rata-dynamic-shipping-tax-plus-extension-for-magento-2)
+ Dynamic Shipping Tax Calculation incl. pro-rata/proportional tax rates + +* :mag: Search:
[MySQL Search for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/magento-without-elasticsearch-mysql-search-extension-for-magento-2)
+ MySQL Search for Magento 2 without Elasticsearch + +* :bangbang: Performance:
[Preload Critical Resources & Assets](https://www.jajuma.de/en/jajuma-develop/extensions/resource-hints-preload-critical-resources-assets-extension-for-magento-2)
+ Resource Hints for preloading important and critical resources + +* :octocat: Content Management:
[git 4 Page Builder](https://www.jajuma.de/en/jajuma-develop/extensions/git-4-page-builder-extension-for-magento-2)
+ Manage & deploy Magento 2 Page Builder content via git + +* :rocket: Performance:
[Hyvä Inline CSS](https://www.jajuma.de/en/jajuma-develop/extensions/hyva-inline-css-extension-for-magento-with-hyva-themes)
+ Run Magento 2 without CSS file by inline all CSS + +* :man_technologist: :free: Content Management:
[Syntax Highlighter 4 Page Builder](https://www.jajuma.de/en/jajuma-develop/extensions/syntax-highlighter-4-page-builder-extension-for-magento-2)
+ Syntax Highlighting and more for Magento 2 Page Builder + +* :triangular_flag_on_post: :free: UI & UX:
[Awesome Hyvä for Hyvä Themes](https://www.jajuma.de/en/jajuma-develop/extensions/font-awesome-icons-for-hyva-themes-extension)
+ Font Awesome 5 & 6 Icons for your [Hyvä Themes](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes) Store + +* :triangular_flag_on_post: :free: UI & UX:
[Hyvä Flags for Hyvä Themes](https://www.jajuma.de/en/jajuma-develop/extensions/country-language-flag-icons-for-hyva-themes-extension)
+ Country & Language Flag Icons for your [Hyvä Themes](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes) Store + +* :ok_man: :free: User Experience:
[Customer Navigation Manager for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/customer-navigation-manager-extension-for-magento-2)
+ Easily manage the links in your Customer Account + +* :heavy_division_sign: :free: Accounting:
[Dynamic Shipping Tax for Magento 2](https://www.jajuma.de/en/jajuma-develop/extensions/dynamic-shipping-tax-extension-for-magento-2)
+ Dynamic Shipping Tax Calculation + +* :question: :free: Content:
[Hyvä FAQ Widget for Hyvä Themes](https://www.jajuma.de/en/jajuma-develop/extensions/dynamic-shipping-tax-extension-for-magento-2)
+ FAQ Widget for your [Hyvä Themes](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes) Store + +## Other [Services](https://www.jajuma.de/en/jajuma/company-magento-ecommerce-agency-stuttgart) by [JaJuMa](https://www.jajuma.de/) + +* :shopping: [JaJuMa-Market: Marketplace Software](https://www.jajuma.de/en/jajuma-market)
+ Complete Online Marketplace Software Solution. For Professional Demands. Feature Rich. Flexibly Customizable. + +* :shopping_cart: [JaJuMa-Shop](https://www.jajuma.de/en/jajuma-shop)
+ Customized Magento Shop Solutions. + +* :rocket: [JaJuMa-Shop: Hyvä Magento Shop Development](https://www.jajuma.de/de/jajuma-shop/online-shop-mit-magento-2-und-hyva-themes)
+ Hyvä Magento Shop Development. + +* :orange_book: [JaJuMa-Shop: Magento Handbuch in Deutsch](https://www.jajuma.de/de/jajuma-shop/magento-2-handbuch/)
+ Magento Handbuch in Deutsch. + +* :card_index_dividers: [JaJuMa-PIM](https://www.jajuma.de/en/jajuma-pim)
+ Product Information Management. Simple. Better. + +* :heavy_plus_sign: [JaJuMa-Develop: Magento 2 Extensions](https://www.jajuma.de/en/jajuma-develop/magento-extensions)
+ Individual Solutions For Your Business Case. + +* :paintbrush: [JaJuMa-Design](https://www.jajuma.de/en/jajuma-design)
+ Designs That Inspire. + +* :necktie: [JaJuMa-Consult](https://www.jajuma.de/en/jajuma-consult)
+ We Show You New Perspectives. + +© JaJuMa GmbH | [www.jajuma.de](www.jajuma.de) \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..ce43935 --- /dev/null +++ b/composer.json @@ -0,0 +1,27 @@ +{ + "name": "jajuma/pot-quick-translation", + "description": "Quick Translation Power Toy for Magento 2 by JaJuMa", + "type": "magento2-module", + "license": "MIT", + "version": "1.0.0", + "authors": [ + { + "email": "info@jajuma.de", + "name": "JaJuMa" + } + ], + "minimum-stability": "dev", + "require": { + "magewirephp/magewire": "^1.10", + "magewirephp/magewire-requirejs": "^1.1", + "jajuma/power-toys": "^1.0" + }, + "autoload": { + "psr-4": { + "Jajuma\\PotQuickTranslation\\": "" + }, + "files": [ + "registration.php" + ] + } +} diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml new file mode 100644 index 0000000..59642ec --- /dev/null +++ b/etc/adminhtml/system.xml @@ -0,0 +1,18 @@ + + + +
+ + + + + Magento\Config\Model\Config\Source\Yesno + + + + Magento\Config\Model\Config\Source\Yesno + + +
+
+
diff --git a/etc/config.xml b/etc/config.xml new file mode 100644 index 0000000..5abf19e --- /dev/null +++ b/etc/config.xml @@ -0,0 +1,11 @@ + + + + + + 1 + 0 + + + + diff --git a/etc/di.xml b/etc/di.xml new file mode 100644 index 0000000..91e472a --- /dev/null +++ b/etc/di.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/etc/jajuma_powertoys.xml b/etc/jajuma_powertoys.xml new file mode 100644 index 0000000..c78c6ee --- /dev/null +++ b/etc/jajuma_powertoys.xml @@ -0,0 +1,15 @@ + + + + + + true + button + Jajuma_PotQuickTranslation::quick_action.phtml + Jajuma_PowerToys::svg/heroicons/outline/translate.svg + Jajuma\PotQuickTranslation\Magewire\QuickAction + true + 10 + + + diff --git a/etc/module.xml b/etc/module.xml new file mode 100644 index 0000000..d107caa --- /dev/null +++ b/etc/module.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/registration.php b/registration.php new file mode 100644 index 0000000..b71c0f9 --- /dev/null +++ b/registration.php @@ -0,0 +1,14 @@ + + * @copyright Copyright (c) 2023 JaJuMa GmbH . All rights reserved. + * @license http://opensource.org/licenses/mit-license.php MIT License + */ + +use Magento\Framework\Component\ComponentRegistrar; + +ComponentRegistrar::register( + ComponentRegistrar::MODULE, + 'Jajuma_PotQuickTranslation', + __DIR__ +); diff --git a/view/adminhtml/templates/quick_action.phtml b/view/adminhtml/templates/quick_action.phtml new file mode 100644 index 0000000..d2d93cd --- /dev/null +++ b/view/adminhtml/templates/quick_action.phtml @@ -0,0 +1,67 @@ +getMagewire(); +$status = $magewire->getCurrentStatusBackend(); +?> + +
+ +
+ getData('name') ?> + + + +
diff --git a/view/frontend/templates/quick_action.phtml b/view/frontend/templates/quick_action.phtml new file mode 100644 index 0000000..61775f4 --- /dev/null +++ b/view/frontend/templates/quick_action.phtml @@ -0,0 +1,86 @@ +getMagewire(); +$status = $magewire->getCurrentStatus(); +?> + +
+ +
+ getData('name') ?> + + + +