Astra_Woocommerce::cart_page_upselles()

Cart Page Upselles products.


Description


Return

(void)


Source

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

		public function cart_page_upselles() {

			$upselles_enabled = astra_get_option( 'enable-cart-upsells' );
			if ( ! $upselles_enabled ) {
				remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
			}
		}

User Contributed Notes

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