Astra_Woocommerce::woocommerce_checkout()

Checkout customization.


Description


Return

(void)


Source

File: inc/compatibility/woocommerce/class-astra-woocommerce.php

		public function woocommerce_checkout() {

			if ( is_admin() ) {
				return;
			}

			if ( ! apply_filters( 'astra_woo_shop_product_structure_override', false ) ) {

				/**
				 * Checkout Page
				 */
				add_action( 'woocommerce_checkout_billing', array( WC()->checkout(), 'checkout_form_shipping' ) );
			}

			// Checkout Page.
			remove_action( 'woocommerce_checkout_shipping', array( WC()->checkout(), 'checkout_form_shipping' ) );
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.