BREBootstrapEcommerceSupport

This file is part of Bootstrap eCommerce theme.

Defined (1)

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

/admin/bootstrap-ecommerce-support.class.php  
  1. class BREBootstrapEcommerceSupport { 
  2.  
  3. function __construct() { 
  4. if ( ! function_exists( 'is_plugin_active' ) ) require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); 
  5. if ( is_plugin_active( 'thecartpress/TheCartPress.class.php' ) ) add_action( 'admin_menu', array( &$this, 'admin_menu' ), 50 ); 
  6. //if ( ! is_plugin_active( 'thecartpress/TheCartPress.class.php' ) ) add_action( 'admin_menu', array( &$this, 'admin_menu' ), 50 ); 
  7.  
  8. function admin_menu() { 
  9. add_theme_page( __( 'Bootstrap eCommerce Support', 'bre-bootstrap-ecommerce' ), __( 'eCommerce Support', 'bre-bootstrap-ecommerce' ), 'edit_theme_options', 'bootstrap_ecommerce_support', array( &$this, 'admin_page' ) ); 
  10.  
  11. function admin_page() { ?> 
  12. <?php screen_icon(); ?><h2><?php _e( 'eCommerce Support', 'bre-bootstrap-ecommerce' ); ?></h2> 
  13. <?php bre_ecommerce_upgrade(); ?> 
  14. <h2>TheCartPress eCommerce plugin support</h2> 
  15. To enable eCommerce features you need to install <a title="eCommerce pluygin for WordPress" href="http://wordpress.org/plugins/thecartpress/" target="_blank">ThecartPress eCommerce Plugin</a>, you have 2 options to install: 
  16. <h3>1- From your WordPress backend:</h3> 
  17. <ul> 
  18. <li>Plugins > Add plugin</li> 
  19. <li>Search "thecartpress"</li> 
  20. <li>Install the plugin</li> 
  21. <li>Activate the plugin</li> 
  22. <li>Re-save permalink settings (Settings > permalinks)</li> 
  23. </ul> 
  24. <h3>2- FTP</h3> 
  25. <ul> 
  26. <ul> 
  27. <li><a title="Download TheCartPress eCommerce plugin" href="http://wordpress.org/plugins/thecartpress/" target="_blank">Download TheCartPress plugin</a> from WordPress repository</li> 
  28. <li>Upload TheCartpress E-commerce plugin to the '/wp-content/plugins/' directory</li> 
  29. <li>Activate the plugin through the 'Plugins' menu in WordPress</li> 
  30. <li>Re-save permalink settings (Settings > permalinks)</li> 
  31. </ul> 
  32. </ul> 
  33. <h4>After activating the plugin, you can start working on your store. Take a look at the widgets section, you will see there a lot of power and flexibility to develop and structure your store and site</h4> 
  34. <?php