Astra_Woocommerce::woocommerce_shipping_text()

Adds shipping text after price.


Description


Source

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

		public function woocommerce_shipping_text() {
			if ( astra_get_option( 'single-product-enable-shipping' ) ) {
				$shipping_text = astra_get_option( 'single-product-shipping-text', false );
				if ( false !== $shipping_text ) {
					echo ' <span class="ast-shipping-text">' . esc_attr( $shipping_text ) . '</span>';
				}
			}
		}

Changelog

Changelog
Version Description
3.9.0 Introduced.


User Contributed Notes

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