Skip to content

Commit

Permalink
Cartflows compatibility: No need to move checkboxes any longer.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisnissle committed Nov 10, 2023
1 parent e562fe5 commit 5b15879
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions assets/css/admin-settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

}

ul.subsubsub {
ul.subsubsub:not(.list-table-filters) {
margin-top: 0;

li a {
Expand Down Expand Up @@ -245,7 +245,6 @@
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin-top: 1em;

&.wc-gzd-admin-settings-has-sidebar {
box-sizing: border-box;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@ function( $checkout_id ) {
remove_action( 'woocommerce_review_order_before_cart_contents', 'woocommerce_gzd_template_checkout_table_content_replacement', 10 );
remove_action( 'woocommerce_review_order_after_cart_contents', 'woocommerce_gzd_template_checkout_table_product_hide_filter_removal', 10 );

/**
* Add checkboxes right before the order review table
*/
remove_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_render_checkout_checkboxes', 10 );
add_action( 'woocommerce_checkout_order_review', 'woocommerce_gzd_template_render_checkout_checkboxes', 1 );

/**
* Do not render an additional payment selection title
*/
Expand Down

0 comments on commit 5b15879

Please sign in to comment.