diff --git a/view/frontend/templates/buynow-list.phtml b/view/frontend/templates/buynow-list.phtml index 1d1b9a5..0a98612 100755 --- a/view/frontend/templates/buynow-list.phtml +++ b/view/frontend/templates/buynow-list.phtml @@ -11,6 +11,7 @@ ?> getProduct(); ?> helper(\Mageprince\BuyNow\Helper\Data::class); ?> @@ -18,27 +19,27 @@ $product = $block->getProduct(); isSaleable()): ?> getAddToCartPostParams($product); ?>
-
getBlockHtml('formkey') ?>
diff --git a/view/frontend/templates/buynow-view.phtml b/view/frontend/templates/buynow-view.phtml index 668e0a6..8269063 100755 --- a/view/frontend/templates/buynow-view.phtml +++ b/view/frontend/templates/buynow-view.phtml @@ -8,22 +8,23 @@ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) * @author MagePrince */ +/** @var $escaper \Magento\Framework\Escaper */ ?> helper(\Mageprince\BuyNow\Helper\Data::class); ?> getAddToCartFormId(); ?> getButtonTitle() ?>
diff --git a/view/frontend/web/css/source/_module.less b/view/frontend/web/css/source/_module.less index b98460f..e6ff8a9 100644 --- a/view/frontend/web/css/source/_module.less +++ b/view/frontend/web/css/source/_module.less @@ -10,9 +10,16 @@ float: left; } +.buy-now-btn { + margin-right: 1%; + width: 49%; + line-height: 3.6rem; +} + @media(max-width: 767px){ .catalog-category-view button.buynow{ margin-top: 5px; margin-left: 0px; } -} \ No newline at end of file +} +