Skip to content

Commit

Permalink
Merge branch 'feat/modal-checkout-redesign' into feat/modal-checkout-…
Browse files Browse the repository at this point in the history
…custom-coupon-form
  • Loading branch information
miguelpeixe committed Dec 19, 2023
2 parents 4b1526c + fc748a2 commit 315e81b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions includes/class-modal-checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ public static function should_show_order_details() {
if ( 1 < $cart->get_cart_contents_count() ) {
return true;
}
if ( $cart->needs_shipping() ) {
return true;
}
return false;
}

Expand Down
3 changes: 1 addition & 2 deletions src/modal-checkout/checkout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@
margin: 0;
}
}
#checkout_continue, /* stylelint-disable-line */
#place_order { /* stylelint-disable-line */
#checkout_continue, #place_order { /* stylelint-disable-line */
background-color: var( --newspack-theme-color-primary );
color: #fff; /* TODO: Fix dynamic contrast */
font-size: 14px;
Expand Down

0 comments on commit 315e81b

Please sign in to comment.