This class has been deprecated. v2.3.1 – Please use built-in Sparks class (CodeinwpSparksModulesComparison_TableMain) instead.
Main
Class Main
Source
File: includes/modules/woocommerce_booster/comparison_table/main.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — __construct
- add_comparison_table_page_to_post_states — Add "post state" to comparison table page in the admin page list.
- add_comparison_table_page_to_wc_default_pages — Add Neve Comparison Table page to WC pages that will be created.
- enqueue_assets — Enqueue Style and Script — deprecated
- init — Initialization of the Comparison Table.
- init_activation — Comparison Table Module Activation Processes.
- register_assets — Load Comparison Table Assets
- register_views — Load View Classes of the Comparison Table.
- update_continue_shopping_redirect_url — If the user coming by click the add to cart button in comparison table iframe, Update the Continue Shopping Redirect URL. (Redirect the user to parent window url of the comparison table.) This method updates the 'continue shopping' button that in the cart url.
- update_recreated_comparison_page_content_width — Update the comparison table page that created by WC tools content width