buddydev / buddycommerce Goto Github PK
View Code? Open in Web Editor NEWFlexible WooCommerce and BuddyPress Integration
Flexible WooCommerce and BuddyPress Integration
=== BuddyCommerce: WooCommerce and BuddyPress Integration === Contributors: buddydev, sbrajesh Tags: woocommerce,buddypress,woocommerce-for-buddypress Requires at least: 5.0 Tested up to: 6.4.2 Stable tag: 1.0.7 Requires PHP: 5.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Highly Flexible WooCommerce to BuddyPress integration which puts site admins in the complete control. == Description == on a BuddyPress & WooCommerce site, BuddyCommerce helps listing user's orders, address, downloads etc on their BuddyPres profile. You can integrate all or part of the functionality from WooCommerce account to BuddyPress profile. It is a lightweight plugin aimed at providing quick and easy integration between BuddyPress and WooCommerce. In the current version, we support: * WooCommerce user account to BuddyPress User profile integration. * Configurable redirection from WooCommerce account to BuddyPress profile tab(Can be enabled/disabled). * You can limit which WooCommerce account content appears on BuddyPress profile. * WooCommerce Orders history & Track Orders on BuddyPress user profile. * WooCommerce Address View & Manage(edit/update) address on BuddyPress user profile. * WooCommerce user downloads availability from BuddyPress user profile. * WooCommerce user payment methods on BuddyPress user profile. * **All content can be added as a top level BuddyPress profile tab or sub tab of any other existing BuddyPress tab** * New: WooCommerce Subscriptions on BuddyPress User Profile * New: WooCommerce Membership on BuddyPress User Profile * Better handling of checkout endpoints. * Works with BuddyBoss platform For each of the tab content you can configure:- * Whether the tab is enabled on BuddyPress profile or not. * Label, slug, position for the BuddyPress Tab/Subtab and admin bar menu item. * Whether the tab appears as top level user profile tab or child of some existing tab. * Whether to redirect from WooCommerce account end points to BuddyPress profile. * And some more.. We hope you will enjoy the integration. Please help us make it better by sharing your idea on our * [Blog Post](https://buddydev.com/introducing-buddycommerce-woocommerce-and-buddypress-integration/ * [BuddyDev Forums](https://buddydev.com/support/forums/) = Contribute = The plugin is developed over github. Please [contribute](https://github.com/buddydev/buddycommerce). We are working on a detailed guide for the plugin. Please keep an eye on the future updates for more. Demo is coming soon. = Support = Please use [BuddyDev Support Forums](https://buddydev.com/support/forums/) for the support. == Installation == This section describes how to install the plugin and get it working. e.g. 1. Upload the plugin files to the `/wp-content/plugins/buddycommerce` directory, or install the plugin through the WordPress plugins screen directly. 1. Activate the plugin through the 'Plugins' screen in WordPress 1. Visit your BuddyPress profile to see it in action. == Frequently Asked Questions == = Where Do I get Support? = Please use [BuddyDev Support Forums](https://buddydev.com/support/forums/) for the support. = Does it need WooCommerce & BuddyPress both? = Yes, it does. If both WooCommerce & BuddyPress are not active, the plugin will not do anything. = What is the supported BuddyPress version? = BuddyPress 3.0+, Tested with BuddyPress 6.2 = What is the supported WooCommerce version? = WooCommerce 3.5+, Tested with BuddyPress 4.3.1 = Does it work with BuddyBoss platform and theme? = Yes, it does. = Can I suggest a new feature? = Sure. We will love to hear your ideas. Please share your thoughts on [BuddyDev Support Forums](https://buddydev.com/support/forums/) or get in touch via our contact form on BuddyDev. = I need help with BuddyPress or WooCommerce, Can you help? Yes. We offer paid development/customization support for BuddyPress & WooCommerce. Please get in touch by providing the details [here](https://buddydev.com/buddypress-custom-development-service/) == Screenshots == 1. Admin settings for shop screenshot-1.png 1. Admin settings for orders screenshot-2.png 1. User profile orders page screenshot-3.png 1. User edit address under settings(if configured) screenshot-4.png == Changelog == = 1.0.7 = * Fix not showing error notices on saving address. = 1.0.6 = * Fix optional parameter notice in 8.1+ = 1.0.5 = * Fix notices for spl_autoload_register() on PHp 8.0+. = 1.0.4 = * Fix add payment method showing existing payment methods and double button. = 1.0.3 = * Fix orders pagination. = 1.0.2 = * Fix payment method actions(Add/Set default, delete) for the shops allowing saving of payment methods. = 1.0.1 = * Added support for WooCommerce Subscriptions * Added support for WooCommerce Membership * Better handling of checkout endpoint = 1.0.0 = * Initial release.
Hi
When I activate the subscription i can see my subscriptions. However when I click on a subscription i get the error: Invalid subscription.
From the woocommerce-subscription integration i see that this message is generated in this functions:
public static function get_view_subscription_template( $subscription_id ) {
$subscription = wcs_get_subscription( absint( $subscription_id ) );
if ( ! $subscription || ! current_user_can( 'view_order', $subscription->get_id() ) ) {
echo '<div class="woocommerce-error">' . esc_html__( 'Invalid Subscription.', 'woocommerce-subscriptions' ) . ' <a href="' . esc_url( wc_get_page_permalink( 'myaccount' ) ) . '" class="wc-forward">'. esc_html__( 'My Account', 'woocommerce-subscriptions' ) .'</a>' . '</div>';
return;
}
wc_get_template( 'myaccount/view-subscription.php', compact( 'subscription' ), '', plugin_dir_path( WC_Subscriptions::$plugin_file ) . 'templates/' );
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.