Skip to content

Commit

Permalink
add upselling enbable fun
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Sep 24, 2024
1 parent 6ea84e1 commit 306b05f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Config/Upselling.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
return [
'name' => 'Upselling',
'version' => '1.0.1',
'versionNum' => '101',
'version' => '1.0.2',
'versionNum' => '102',
'description' => 'Upselling',
'author' => 'Steve',
'enable' => true,
'enable' => env('UPSELLING_ENABLE', true)
];
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 @@ -4,7 +4,7 @@

/**
* @OA\Info(
* version="1.0.1",
* version="1.0.2",
* title="NexaMerchant Store Upselling Rest API Documentation",
* description="NexaMerchant Store Upselling Rest API Documentation",
*
Expand Down
2 changes: 1 addition & 1 deletion src/Upselling.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function applyUpselling($cart) {
$this->cart = $cart;

//check the email of the customer have processing order in 24 hours
// created_at betwwen 24 hours
// created_at in last 24 hours
$processingOrder = $this->orderRepository->findOneWhere([
'customer_email' => $cart->customer_email,
'status' => 'processing',
Expand Down

0 comments on commit 306b05f

Please sign in to comment.