Skip to content

Commit

Permalink
use a simpler modal when displaying order success message
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed May 22, 2024
1 parent 72e17b3 commit 7fc6e37
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/views/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,11 @@
?>
<dialog id="my-modal">
<article>
<a href="#"
aria-label="Close"
class="close"
data-target="my-modal"
>
</a>
<h3>Checkout successful! ✨</h3>
<p>Your order has been successfully placed and an email has been sent to you.</p>
<footer>
<a href="#"
role="button"
class="secondary"
data-target="my-modal"
>
Ok
</a>
<a href="/profile"
role="button"
data-target="my-modal"
>
View order
</a>
Expand Down

0 comments on commit 7fc6e37

Please sign in to comment.