WC_Compare_Products_Class

WooCommerce Compare Products Manager.

Defined (1)

The class is defined in the following location(s).

/admin/classes/class-wc-compare-products.php  
  1. class WC_Compare_Products_Class  
  2.  
  3. public static function woocp_products_manager() { 
  4. global $wc_compare_admin_init; 
  5. add_action('admin_footer', array('WC_Compare_Products_Class', 'woocp_compare_products_script') ); 
  6. ?> 
  7. <div id="htmlForm"> 
  8. <div style="clear:both"></div> 
  9. <div class="wrap"> 
  10. <h1><?php _e('WooCommerce Compare Products Manager', 'woocommerce-compare-products' ); ?></h1> 
  11. <div id="a3_plugin_panel_container"> 
  12. <div id="a3_plugin_panel_upgrade_area"><div id="a3_plugin_panel_extensions"><?php echo $wc_compare_admin_init->plugin_extension_boxes(); ?></div></div> 
  13. <div id="a3_plugin_panel_fields"> 
  14. <div class="a3rev_panel_container" style="visibility: visible; height: auto; overflow: inherit;"> 
  15. <div style="" class="a3rev_panel_box " id="product_cards_welcome_steve_box"> 
  16. <div class="a3rev_panel_box_handle" data-box-id="product_cards_welcome_steve_box" data-form-key="woo_compare_grid_view_settings"> 
  17. <h3 class="a3-plugin-ui-panel-box enable_toggle_box_save box_open"><?php echo __( 'PRODUCT EDITING SUPER POWERS', 'woocommerce-compare-products' ); ?></h3> 
  18. </div> 
  19. <div class="a3rev_panel_box_inside box_open" id="product_cards_welcome_steve_box_box_inside" style="visibility: visible; height: auto; overflow: inherit; display: block;"> 
  20. <div class="a3rev_panel_inner"> 
  21. <div class="a3rev_panel_box_description"> 
  22. <p> 
  23. <img class="rwd_image_maps" src="<?php echo WOOCP_IMAGES_URL; ?>/woo_product.png" usemap="#Map" style="width: auto; max-width: 100%;" border="0" /> 
  24. <map name="Map" id="Map"> 
  25. <area shape="rect" coords="357, 185, 850, 242" href="<?php echo $wc_compare_admin_init->pro_plugin_page_url; ?>" target="_blank" /> 
  26. </map> 
  27. </p> 
  28. </div> 
  29. </div> 
  30. </div> 
  31. </div> 
  32. </div> 
  33. </div> 
  34. </div> 
  35. </div> 
  36. </div> 
  37. <?php 
  38.  
  39. public static function woocp_compare_products_script() { 
  40. wp_enqueue_script( 'jquery-rwd-image-maps' );