Skip to content

Commit

Permalink
Removed images and fixed the cart checkout process.
Browse files Browse the repository at this point in the history
  • Loading branch information
uncheckederror committed Aug 19, 2023
1 parent 86f1dbc commit b1ac0fe
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion NumberSearch.Mvc/Controllers/CartController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public async Task<IActionResult> SubmitAsync(Order order)
// This is purely so that we can isolate the state of this call when it fails out.
Log.Information(JsonSerializer.Serialize(cart));

if (cart.ProductOrders is null || !cart.ProductOrders.Any() || true)
if (cart.ProductOrders is null || !cart.ProductOrders.Any())
{
// Give the user a better error message and tell them to try again
// Maybe save the cart to the database when the go to the cart page or when they hit the checkout button?
Expand Down
27 changes: 0 additions & 27 deletions NumberSearch.Mvc/NumberSearch.Mvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -167,27 +167,6 @@
<Content Update="wwwroot\html_code.html">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Accelerate Network - Grandstream GRP2612 600x400 2.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Accelerate Network - Grandstream GRP2612 Full Size 2.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Accelerate Network - YeaLink &amp; Headset 600x400.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Accelerate Network - YeaLink 600x400.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Accelerate Network - YeaLink 600x400.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Accelerate Network - YeaLink Full Size.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Accelerate Network - YeaLink Full Size.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\accelerate-white.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
Expand Down Expand Up @@ -227,12 +206,6 @@
<Content Update="wwwroot\images\original\favicon-194x194.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Grandstream GXP2140 2 Web.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\Grandstream GXP2140 Web.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\images\original\GRP2612front.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit b1ac0fe

Please sign in to comment.