diff --git a/Helper/PrintProcess.php b/Helper/PrintProcess.php
index 9529d36..0ffb59a 100644
--- a/Helper/PrintProcess.php
+++ b/Helper/PrintProcess.php
@@ -133,7 +133,7 @@ public function getFileName()
{
$name = $this->getConfigGeneral('file_name') ?: 'cart';
if ($this->getConfigGeneral('timestamp')) {
- $name .= ' ' . $this->dateTime->date('Y-m-d H.i');
+ $name .= ' ' . $this->formatDate($this->dateTime->date('Y-m-d H.i'));
}
return $name . '.pdf';
diff --git a/Setup/UpgradeData.php b/Setup/UpgradeData.php
index d118b70..64b2541 100644
--- a/Setup/UpgradeData.php
+++ b/Setup/UpgradeData.php
@@ -21,6 +21,7 @@
namespace Mageplaza\ShareCart\Setup;
+use Magento\Framework\DB\Ddl\Table;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\ModuleDataSetupInterface;
use Magento\Framework\Setup\UpgradeDataInterface;
@@ -69,7 +70,7 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface
'mp_share_cart_token',
'mp_share_cart_token',
[
- 'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
+ 'type' => Table::TYPE_TEXT,
'length' => 255
]
);
diff --git a/composer.json b/composer.json
index af63f15..fea6a93 100644
--- a/composer.json
+++ b/composer.json
@@ -6,7 +6,7 @@
"mageplaza/module-core": "^1.4.5",
"mpdf/mpdf": "^7.1.0 | ^8.0.0"
},
- "version": "1.1.1",
+ "version": "1.1.2",
"license": "proprietary",
"authors": [
{
diff --git a/view/frontend/templates/cart/button.phtml b/view/frontend/templates/cart/button.phtml
index eb82ef7..67c76fd 100644
--- a/view/frontend/templates/cart/button.phtml
+++ b/view/frontend/templates/cart/button.phtml
@@ -23,7 +23,7 @@
?>
-isEnable() && $block->getItemsCount()) : ?>
+isEnable() && $block->getItemsCount()): ?>