Astra_Woocommerce::get_quantity_btn_class()

Get quantity button class based on option type.


Description


Return

(string)


Source

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

		public function get_quantity_btn_class() {
			$quantity_btn_type = astra_get_option( 'cart-plus-minus-button-type', 'normal' );

			switch ( $quantity_btn_type ) {
				case 'vertical':
				case 'vertical-icon':
					return ' ast-vertical-icon';

				case 'no-internal-border':
					return ' no-internal-border';

				default:
					return '';
			}
		}

Changelog

Changelog
Version Description
4.11.11 Introduced.


User Contributed Notes

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