-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compatibility (or disable) for product bundles and subscriptions #14
Comments
Hi Mantish, I don't know how your progress on woocommerce-subscriptions is coming along, but I've been able to hack something together for at least part of the variation-subscriptions. I can post it, but it would likely benefit from further review as I'm still learning php. Are you interested? |
For the variable-subscriptions.php file starting on line 65, you should find:
I copied/modified the function: wc_dropdown_variation_attribute_options and changed it to wc_dropdown_variation_attribute_options_sub so it should read:
I then added the following code to the top of the variable-subscription.php file:
|
Hi @GoodGuyTaj , thanks for your help! Can you make a pull request? I'll be happy to review it. |
Is there a way I can quickly implement this into my live site? I need WC Variations Radio Buttons to work with my products that are using variations and the WooCommmerce Subscriptions addon. I couldn't figure out @GoodGuyTaj 's hack. Any working code examples and implementation will be extremely helpful. Thanks! |
I'm running into the same issue. Any way I can support you? As a secondary question: I'd like to change all inputs up to 3 options to radio buttons, and leave all others as dropdowns (I could manually choose as well which variant to display how) - it this possible? |
@Felix-N one way to support may be by sharing a license so I can install the plugins and test. |
@Mantish Do you mean the WC Subscriptions plugin? Happy to share a copy of the current version with you. What is the best way to get the zip file to you? FYI The @GoodGuyTaj solution didn't work for me either. But I appreciate the effort! |
@gstockhk1 you can send me an email to [email protected] thanks! |
Hi Mantish, do you have a solution to fix the radio buttons with subscriptions? Thanks. |
If it's not possible (or too hard for now) to work with subscription products, I really wish if it didn't affect them at all. Is it possible for the plugin to only work on "standard" variable products? Today I discovered that our variable subscription products with different pricing per variable weren't updating the price on screen. The correct price was added in the cart but the price on the product page always stayed the lowest price. (Thanks for all your work on this, it's a great plugin but needs to stay disabled on my site for now) |
I was able to get Variable Subscriptions to work as radio buttons using the WC Variations Radio Buttons plugin and adding this jQuery code to my theme's .js file: ` $('form.variations_form .variations select').each(function(i, select){
` |
@ilikesnow Do you think you could repost your script wrapped in the <> Insert code, so it can be read and copied properly? Pasting it as is breaks all of the line returns. |
Is there a code update/snippet for WooCommerce Product Bundles? If not, I'm happy to send you a copy of product bundles if you still need it. I would like to have bundles and radio buttons work together as I prefer the radio buttons to the dropdowns. |
Hi, |
I'm grouping these into a single issue, but the fix could be different for each plugin
https://www.woothemes.com/products/product-bundles/
https://www.woothemes.com/products/woocommerce-subscriptions/
The text was updated successfully, but these errors were encountered: