This class has been deprecated. v2.3.1 – Please use built-in Sparks class (CodeinwpSparksModulesComparison_TableViewTable) instead.
Table
Class Table
Source
File: includes/modules/woocommerce_booster/comparison_table/view/table.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — __construct
- add_comparison_table_class_to_body_classes — Add body classes if needed.
- add_woocommerce_class_to_body_classes — Add 'woocommerce' class to comparison table body tag.
- is_available_fields_contains — Function that checks if the given field in the comparison table exists.
- is_the_page_contains_comparison_table — Check if it is the current page contains comparison table?
- render_comparison_products_table — Render the comparison table. — deprecated
- render_no_product_in_the_table — Render for no products in the comparison table.
- render_product_image — Print output of the given product's image.
- render_related_products — View Related Products of Comparison Table Products
- render_remove_button — Output Remove Product Button
- render_table — View Table.
- render_table_body_column — Column Based View Table ( Shows products as column )
- render_table_body_row — Row Based View Table ( Shows products as row )
- should_the_table_be_wide — Function that decide that table should be wide
- show_choosen_page_content — Show chosen page content