66 lines
2.5 KiB
PHP
66 lines
2.5 KiB
PHP
<?php
|
|
|
|
/**
|
|
* WPPFM Product Feed Main Input Wrapper Class.
|
|
*
|
|
* @package WP Product Feed Manager/User Interface/Classes
|
|
* @since 2.4.0
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
if ( ! class_exists( 'WPPFM_Product_Feed_Main_Input_Wrapper' ) ) :
|
|
|
|
class WPPFM_Product_Feed_Main_Input_Wrapper extends WPPFM_Main_Input_Wrapper {
|
|
|
|
/**
|
|
* Display the product feed main input table.
|
|
*/
|
|
public function display() {
|
|
// Start with the table and body code
|
|
$this->main_input_wrapper_table_start();
|
|
// Feed file name input
|
|
WPPFM_Main_Input_Selector_Element::file_name_input_element();
|
|
// Source selector (currently not in use)
|
|
WPPFM_Main_Input_Selector_Element::product_source_selector_element();
|
|
// Channel selector
|
|
WPPFM_Main_Input_Selector_Element::merchant_selector_element();
|
|
// Feed Type selector
|
|
WPPFM_Main_Input_Selector_Element::google_type_selector_element( '1' );
|
|
// Dynamic Remarketing Business Type selector
|
|
WPPFM_Main_Input_Selector_Element::google_dynamic_remarketing_business_type_selector_element();
|
|
|
|
// For actions, capture their output and add it to `$html`
|
|
do_action( 'wppfm_add_feed_language_selector' );
|
|
|
|
// Country selector
|
|
WPPFM_Main_Input_Selector_Element::country_selector_element();
|
|
// Category selector
|
|
WPPFM_Main_Input_Selector_Element::category_list_element();
|
|
// Aggregator selector
|
|
WPPFM_Main_Input_Selector_Element::aggregator_selector_element();
|
|
// Include product variations selector
|
|
WPPFM_Main_Input_Selector_Element::product_variation_selector_element();
|
|
// Add Google Analytics tracking
|
|
WPPFM_Google_Analytics_Selector_Element::google_analytics_selector_element();
|
|
// Google product feed title input
|
|
WPPFM_Main_Input_Selector_Element::google_product_feed_title_element();
|
|
// Google product feed description input
|
|
WPPFM_Main_Input_Selector_Element::google_product_feed_description_element();
|
|
// Performance prioritizing (enabled, period, high percentage). Data is refreshed automatically at feed generation start.
|
|
WPPFM_Main_Input_Selector_Element::performance_enabled_checkbox_element();
|
|
WPPFM_Main_Input_Selector_Element::performance_period_days_element();
|
|
WPPFM_Main_Input_Selector_Element::performance_high_percentage_element();
|
|
// Feed update schedule selector
|
|
WPPFM_Main_Input_Selector_Element::feed_update_schedule_selector_element();
|
|
// Close the body and table code
|
|
$this->main_input_wrapper_table_end();
|
|
}
|
|
}
|
|
|
|
// end of WPPFM_Product_Feed_Main_Input_Wrapper class
|
|
|
|
endif;
|