<?php

/*
* Update Summary - Options Filter
*/

if( ! function_exists( 'housefix_shop_woo_single_summary_options_ai_render' ) ) {
	function housefix_shop_woo_single_summary_options_ai_render( $options ) {

		$options['additional_info']                   = esc_html__('Summary Additional Info', 'housefix-pro');
		$options['additional_info_delivery_period']   = esc_html__('Summary Additional Info - Delivery Period', 'housefix-pro');
		$options['additional_info_realtime_visitors'] = esc_html__('Summary Additional Info - Real Time Visitors', 'housefix-pro');
		$options['additional_info_shipping_offer']    = esc_html__('Summary Additional Info - Shipping Offer', 'housefix-pro');
		$options['additional_info_weight']    		  = esc_html__('Summary Additional Info - Weight', 'housefix-pro');
		$options['additional_info_dimensions']        = esc_html__('Summary Additional Info - Dimenstions', 'housefix-pro');
		$options['additional_info_color']             = esc_html__('Summary Additional Info - Color', 'housefix-pro');
		$options['additional_info_size']              = esc_html__('Summary Additional Info - Size', 'housefix-pro');
		return $options;

	}
	add_filter( 'housefix_shop_woo_single_summary_options', 'housefix_shop_woo_single_summary_options_ai_render', 10, 1 );

}

/*
* Update Summary - Styles Filter
*/

if( ! function_exists( 'housefix_shop_woo_single_summary_styles_ai_render' ) ) {
	function housefix_shop_woo_single_summary_styles_ai_render( $styles ) {

		array_push( $styles, 'wdt-shop-additional-info' );
		return $styles;

	}
	add_filter( 'housefix_shop_woo_single_summary_styles', 'housefix_shop_woo_single_summary_styles_ai_render', 10, 1 );

}

/*
* Update Summary - Scripts Filter
*/

if( ! function_exists( 'housefix_shop_woo_single_summary_scripts_ai_render' ) ) {
	function housefix_shop_woo_single_summary_scripts_ai_render( $scripts ) {

		array_push( $scripts, 'wdt-shop-additional-info' );
		return $scripts;

	}
	add_filter( 'housefix_shop_woo_single_summary_scripts', 'housefix_shop_woo_single_summary_scripts_ai_render', 10, 1 );

}