diff --git a/packages/Webkul/Admin/src/Resources/lang/en/app.php b/packages/Webkul/Admin/src/Resources/lang/en/app.php index 3cb6f01b3..dbde85f72 100755 --- a/packages/Webkul/Admin/src/Resources/lang/en/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/en/app.php @@ -1000,7 +1000,7 @@ return [ 'url-key' => 'URL Key', 'channel' => 'Channel', 'locale' => 'Locale', - 'create-btn-title' => 'Add Page', + 'create-btn-title' => 'Save Page', 'edit-title' => 'Edit Page', 'edit-btn-title' => 'Save Page', 'create-success' => 'Page created successfully', diff --git a/packages/Webkul/Checkout/src/Cart.php b/packages/Webkul/Checkout/src/Cart.php index 6bbb39e25..3dcc9a055 100755 --- a/packages/Webkul/Checkout/src/Cart.php +++ b/packages/Webkul/Checkout/src/Cart.php @@ -313,6 +313,10 @@ class Cart { $weight = ($product->type == 'configurable' ? $childProduct->weight : $product->weight); + if (gettype($weight)) { + $weight = floatval($weight); + } + $parentData = [ 'sku' => $product->sku, 'quantity' => $data['quantity'], diff --git a/packages/Webkul/Customer/src/Resources/lang/en/app.php b/packages/Webkul/Customer/src/Resources/lang/en/app.php index 5f4c1f5ee..22f609f5e 100755 --- a/packages/Webkul/Customer/src/Resources/lang/en/app.php +++ b/packages/Webkul/Customer/src/Resources/lang/en/app.php @@ -12,6 +12,6 @@ return [ 'remove-all-success' => 'All The Items From Your Wishlist Have Been Removed', ], 'reviews' => [ - 'empty' => 'You Have Not Reviewed Any Of Product Yet' + 'empty' => 'You have not reviewed any of product yet' ] ]; \ No newline at end of file