Skip to content

Commit

Permalink
disable the free shipping
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Oct 28, 2024
1 parent 7634b6b commit 2bea564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Docs/V1/Upselling/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* )
*
* @OA\Server(
* url=APP_URL,
* url="http://localhost:8000/api/v1",
* description="NexaMerchant Rest API"
* )
*
Expand Down
2 changes: 1 addition & 1 deletion src/Upselling.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function applyUpselling($cart) {

if($processingOrder && !empty($cart->customer_email) && empty($cart->coupon_code)) {

Cart::saveShippingMethod('free_free');
// Cart::saveShippingMethod('free_free'); disable the shipping method

// Apply coupon code
if(!empty($this->coupon_code)) {
Expand Down

0 comments on commit 2bea564

Please sign in to comment.