fixed shipping fee

This commit is contained in:
Edward Yang 2022-09-01 14:48:58 +08:00
parent 96288ddc23
commit 70531b87f9
2 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,8 @@
namespace Beike\Shop\Http\Controllers;
use Beike\Models\Order;
use Beike\Shop\Services\CheckoutService;
use Illuminate\Http\Request;
use Beike\Shop\Services\CheckoutService;
class CheckoutController extends Controller
{

View File

@ -35,6 +35,7 @@ class TotalService
{
$this->currentCart = $currentCart;
$this->cartProducts = $cartProducts;
$this->setShippingMethod($currentCart->shipping_method_code);
$this->getTaxes();
}