Skip to content
Snippets Groups Projects
Commit 6aeb7700 authored by Christel Loftus's avatar Christel Loftus
Browse files

update composer.json

parent 5edfa3d3
Branches
Tags
1 merge request!6Rates at checkout
......@@ -38,10 +38,12 @@ class AddWeightUnitToOrderPlugin
$convertedWeight = $weight * 0.45359237;
// Set the converted weight back to the item
$orderItem->setData('weight', $weight);
$orderItem->setWeight($convertedWeight);
$orderItem->setData('weight', $convertedWeight);
}
}
return [$order];
}
}
{
"name": "bobgo/bobgo",
"description": "Smart shipping and order management solution in South Africa",
"name": "bob-public-utils/bobgo-magento-extension",
"description": "Smart shipping and order management solution in South Africa",
"type": "magento2-module",
"version": "1.0.0",
"authors": [
......@@ -14,7 +14,11 @@
"AFL-3.0",
"OSL-3.0"
],
"autoload": {
"require": {
"php": "^7.4 || ^8.0 || ^8.1"
},
"autoload": {
"files": [
"registration.php"
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment