.
*/
class BREBootstrapEcommerceSupport {
function __construct() {
if ( ! function_exists( 'is_plugin_active' ) ) require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
if ( is_plugin_active( 'thecartpress/TheCartPress.class.php' ) ) add_action( 'admin_menu', array( &$this, 'admin_menu' ), 50 );
//if ( ! is_plugin_active( 'thecartpress/TheCartPress.class.php' ) ) add_action( 'admin_menu', array( &$this, 'admin_menu' ), 50 );
}
function admin_menu() {
add_theme_page( __( 'Bootstrap eCommerce Support', 'bre-bootstrap-ecommerce' ), __( 'eCommerce Support', 'bre-bootstrap-ecommerce' ), 'edit_theme_options', 'bootstrap_ecommerce_support', array( &$this, 'admin_page' ) );
}
function admin_page() { ?>
TheCartPress eCommerce plugin support
To enable eCommerce features you need to install ThecartPress eCommerce Plugin, you have 2 options to install:
1- From your WordPress backend:
- Plugins > Add plugin
- Search "thecartpress"
- Install the plugin
- Activate the plugin
- Re-save permalink settings (Settings > permalinks)
2- FTP
- Download TheCartPress plugin from WordPress repository
- Upload TheCartpress E-commerce plugin to the '/wp-content/plugins/' directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Re-save permalink settings (Settings > permalinks)
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