markhf
Forum Replies Created
-
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] My account menuHi @thebbb
Please try below code snippet.
add_action('template_redirect', 'webtoffee_custom_redirect_after_purchase'); function webtoffee_custom_redirect_after_purchase() { global $wp; if (is_checkout() && !empty($wp->query_vars['order-received'])) { wp_redirect('https://www.google.com/'); // Redirect to your desired page here. exit; } }
add_filter('woocommerce_account_menu_items', 'webtoffee_remove_my_account_links'); function webtoffee_remove_my_account_links($menu_links) { //unset($menu_links['subscriptions']); // Subscriptions unset($menu_links['payment-methods']); // Payment methods return $menu_links; }
Please try with above code snippet. Please leave a review here.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] My account menuHi @cinga
We just tested the code snippet OK with the latest version of the plugin.
add_filter('woocommerce_account_menu_items', 'webtoffee_remove_my_account_links'); function webtoffee_remove_my_account_links($menu_links) { unset($menu_links['subscriptions']); // Subscriptions unset($menu_links['payment-methods']); // Payment methods return $menu_links; }
Please try again and let us know if any issues.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] Subscription IntervalHi @jibuas,
This can be realized by creating the product as a variable subscription product and making the interval as a variation of the subscription product. The free plugin only allows you to create a simple subscription product. You can add a variable subscription using the premium version of the plugin.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] Recurring paymentHi @nidhidave,
The premium version allows you to add the coupon only to the initial payment. The normal coupon used in the purchase will not be applied in the recurring payments using the premium version.
Forum: Plugins
In reply to: [Memberships for WooCommerce] limited page pop upHi @wpbetsy
Set a default access denied page under settings ( https://www.mydomain.com/wp-admin/admin.php?page=wc-settings&tab=hf_memberships )
When a visitor accessing a page that’s restricted will be redirected to the page set in the above settings.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] Membership@jdembowski : Noted.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] MembershipHi @manuarmand
If the member doesn’t pay next year ( if subscription is not renewed ), currently the membership expiration is not implemented. However we will be delivering this feature very soon.
Subscription email configuration/notifications are available in the Pro version.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] Woocommerce SubscriptionHi @nidhidave,
Email notifications for the subscriptions has been implemented in the premium version of the plugin.
Forum: Plugins
In reply to: [Memberships for WooCommerce] limited page pop upHi @wpbetsy
We have introduced option to set default access denied page. You won’t need to add the code snippet anymore. Please update the plugin to the latest version.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] MembershipHi @manuarmand
Please check with this WooCommerce Memberships plugin. Please leave us a review if the plugin was useful.
Forum: Plugins
In reply to: [Memberships for WooCommerce] 404 ErrorHi @oneminduniv
Please check with the latest version of the plugin. There is option to set default access denied page.
Forum: Plugins
In reply to: [Subscriptions for WooCommerce] Strint translation failed for one wordPlease install the latest version. We have updated the translation files.
Forum: Plugins
In reply to: [Memberships for WooCommerce] assign roleHi @wpbetsy
Please add the code snippet after the last line in the functions.php file.