/** * Astra Child Theme functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Astra Child * @since 1.0.0 */ /** * Define Constants */ define( 'CHILD_THEME_ASTRA_CHILD_VERSION', '1.0.0' ); /** * Enqueue styles */ function child_enqueue_styles() { wp_enqueue_style( 'astra-child-theme-css', get_stylesheet_directory_uri() . '/style.css', array('astra-theme-css'), CHILD_THEME_ASTRA_CHILD_VERSION, 'all' ); } add_action( 'wp_enqueue_scripts', 'child_enqueue_styles', 15 ); /** * Add custom text to the WooCommerce shop page footer */ add_action( 'woocommerce_after_main_content', 'add_text_to_shop_page' ); function add_text_to_shop_page() { if ( is_shop() ) { echo ''; } } /** * Add Rainwear Details to a WooCommerce page (for example after the main content) */ add_action('woocommerce_after_main_content', 'add_rainwear_details'); function add_rainwear_details() { if ( is_shop() ) { echo '

Why Choose Waterproof Rainwear?

Whether you\'re battling a brewing storm in Cape Town or a blustery day in Johannesburg, our Protective Workwear has got you covered. This rainwear is an essential armour against water, wind, and cold, ensuring productivity isn\'t hampered by Mother Nature\'s whims. Stay on task and protect your health and comfort no matter the weather.

Benefits

Our rainwear excels with its superior Waterproof Material that keeps the rain out while maintaining breathability—so you won\'t feel clammy or overheated. Beyond just waterproofing, the fabric is wind-resistant, offering an extra layer of protection against the relentless South African gales. Designed for durability, this gear is built to withstand the toughest conditions, ensuring you get exceptional longevity and performance.

Customisation Options

Branding Options:

Frequently Asked Questions about Rainwear

Quality rainwear is about more than just keeping dry—it\'s about ensuring that workers remain comfortable and efficient, whatever the weather throws their way. Invest in our Waterproof Jacket and experience the blend of practicality and resilience that will keep you dry and on the move.

'; } } /** * Display VAT-inclusive and VAT-exclusive prices on WooCommerce single product pages */ add_action('woocommerce_single_product_summary', 'display_vat_and_excl_vat_prices', 11); function display_vat_and_excl_vat_prices() { global $product; // Get the price excluding VAT $price_excl_vat = wc_get_price_excluding_tax($product); // Calculate VAT amount at 15% $vat_amount = $price_excl_vat * 0.15; // Calculate inclusive price by adding VAT $price_incl_vat = $price_excl_vat + $vat_amount; // Format prices $formatted_price_incl_vat = wc_price(round($price_incl_vat, 2)); $formatted_price_excl_vat = wc_price(round($price_excl_vat, 2)); // Display formatted prices echo '
'; echo '

Price (excl. VAT): ' . $formatted_price_excl_vat . '

'; echo '

Price (incl. VAT): ' . $formatted_price_incl_vat . '

'; echo '
'; } /** * Display VAT-inclusive and VAT-exclusive prices on WooCommerce archive (category) pages */ add_action('woocommerce_after_shop_loop_item_title', 'display_vat_exclusive_inclusive_prices_on_archive', 9); function display_vat_exclusive_inclusive_prices_on_archive() { global $product; // Get the price excluding VAT $price_excl_vat = wc_get_price_excluding_tax($product); // Calculate VAT amount at 15% $vat_amount = $price_excl_vat * 0.15; // Calculate inclusive price by adding VAT $price_incl_vat = $price_excl_vat + $vat_amount; // Format the prices $formatted_price_incl_vat = wc_price(round($price_incl_vat, 2)); $formatted_price_excl_vat = wc_price(round($price_excl_vat, 2)); // Display the prices on the archive page echo '
'; echo '

Price (excl. VAT): ' . $formatted_price_excl_vat . '

'; echo '

Price (incl. VAT): ' . $formatted_price_incl_vat . '

'; echo '
'; } /** * Remove "Add to Cart" button from WooCommerce completely */ function remove_add_to_cart_buttons() { // Remove from shop/archive pages remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); // Remove from single product pages remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); // Disable AJAX add to cart button for variable products remove_action( 'woocommerce_single_variation', 'woocommerce_single_variation_add_to_cart_button', 20 ); // Filter to remove "Add to Cart" button in quick view add_filter( 'woocommerce_is_purchasable', '__return_false' ); } add_action( 'init', 'remove_add_to_cart_buttons' ); add_action('template_redirect', function () { if (is_author()) { wp_redirect(home_url()); exit; } }); Shipping Policy – Rainponcho

Shipping Policy

  1. DELIVERY

    • In the event that the Customer utilizes the services of the Company to deliver the goods at the address as specified by the Customer, the Customer will hold the Company free from any claim of damages or liability that might result from the Company or its employees or any agent delivering the product to the Customer.
    • The Customer will ensure that the required persons are available to accept delivery at the agreed time and place of the delivery. In the event that the driver has to wait for more than 30 minutes for an authorised person to accept the delivery the Company may levy additional standing time charges for such a delivery.
    • In the event that the place of delivery is not at the ground floor, alternatively not easily accessible, the Customer will ensure that the required assistance and guidance will be provided for the delivery. In the event that the delivery takes longer than 30 minutes to complete the Company may levy additional charges in relation to additional services and/or standing time.
    • In the event that the Customer elects to use the of services of a third party, the Customer will ensure that the goods are transported free on board and further fully ensured by the Customer. The Company will not be held liable for any claim of the Customer, and the Customer indemnifies the Company for any claim be it from the Customer or from any third party transporter or any other third party that might result in damages or destruction from the product from any act or omission from the Company in transferring the product for the collecting and/or delivery of the product.
    • Proof of delivery setting out the product and quantity will be a signed delivery note by the Customer, its agent, or any third party acting on the instruction of the Customer.
    • The Customer is responsible for the counting and verification of the quality and quantity of the products at the delivery thereof. In the absence of any written notification, any consignment of product will be will be deemed to be correct and in good order in accordance with the  product and quantity as set out in the delivery note  after 24 hours after delivery.
    • In the event that the Customer, any of its employees or agents do not sign the delivery note, the deliver note is deemed to be signed after 24 hours of the delivery and that the order is correct in quantity and quality.
    • In the event that the Customer for any reason whatsoever, refuses to take possession of the products, alternatively refuses to collect the products-, after being duly notified of the need to do so within 30 days by the Company, the Company is entitled to sell any portion of any consignment of products in order to recoup any loss or damages that might be suffered by the Company after 30 days have elapsed from said notice.
Assistant Shopping Assistant
Scroll to Top