I'm trying to make a custom plugin, which will work with woocommerce. that is why i included woocommerce in my plugin with the help of this line of code
include(WP_PLUGIN_DIR.'/woocommerce/woocommerce.php');
But I can not active my custom plugin. in the time of activating it says Fatal error: Cannot redeclare wc_get_container() (previously declared in /home/eteasnzs/mshopbd.com/wp-content/plugins/woocommerce/woocommerce.php:58) in /home/eteasnzs/mshopbd.com/wp-content/plugins/woocommerce/woocommerce.php on line 58
I did a little google and show there are several fatal errors like this function already declared..
Now my question is how can I solve this type of problem.. thanks and this my first question here... hope I will get a helpful solution....