Comparison_Table
Class Comparison_Table
Source
File: includes/modules/woocommerce_booster/customizer/comparison_table.php
Expand full source code Collapse full source code View on Github
Methods
- add_auto_open_modal_product_limit — Open modal if number of products is equal to x.
- add_category_restrict_accordion — Adds category restrict accordion.
- add_category_restrict_multiselect_control — Adds category based resctrict multiselect options to neve_product_comparison_table section.
- add_category_restrict_type_control — Add Category restrict type option to neve_product_comparison_table section.
- add_colors — Adds color controls for table styling.
- add_comparison_table_number_of_products_limit_control — Adds number of the products limit control.
- add_comparison_table_page_id_control — Adds comparison table page id to neve_product_comparison_table section.
- add_comparison_table_view_type — Adds table view type option to neve_product_comparison_table section.
- add_comparison_table_view_type_control — Note: the popup feature is disabled for now.
- add_controls — Add Controls
- add_enable_alternating_row_bg_color — Add 'Enable Related Products' toggle.
- add_enable_related_products_control — Add 'Enable Related Products' toggle.
- add_general_accordion — Adds general accordion.
- add_manage_table_fields_control — Adds table fields sortable controller to neve_product_comparison_table section.
- add_related_products_accordion — Adds related products accordion for show related product feature options.
- add_sticky_bar_accordion — Adds sticky bar accordion.
- add_sticky_bar_bg_color_control — Adds bg color control for sticky bar of comparison table.
- add_sticky_bar_button_type_control — Adds text color control for sticky bar of comparison table.
- add_sticky_bar_text_color_control — Adds text color control for sticky bar of comparison table.
- add_table_layout_accordion — Adds table layout accordion.
- add_table_style_accordion — Adds table style accordion.
- get_default_table_fields — Get ordered default fields of Comparison Table.
- is_popup_disabled — Check if popup is disabled.
- neve_comparison_table_compare_checkbox_position_controll — Compare Checkbox Position Control
- neve_comparison_table_restricted_categories_active_callback — Active Callback for neve_comparison_table_category_restrict_type control.
- open_popup_product_limit_control_callback — Decide whetever to show 'open popup product limit control'
- sanitize_neve_comparison_table_category_restrict_type — Sanitize the neve_comparison_table_category_restrict_type
- sanitize_neve_comparison_table_compare_checkbox_position — Sanitize Compare Checkbox Position
- sanitize_neve_comparison_table_product_listing_type — Sanitize the neve_comparison_table_product_listing_type control.
- sanitize_neve_comparison_table_sticky_bar_button_type — Sanitize the neve_comparison_table_sticky_bar_button_type control.
- sanitize_neve_comparison_table_view_type — Sanitize the neve_comparison_table_view_type
- section_comparison_table — Adds new section for Product Comparison Table.
- should_load — Check WooCommerce is loaded and Comparison Table is enabled?
- table_alternate_row_bg_color_active_callback — Active Callback for 'neve_comparison_table_alternate_row_bg_color' control.