Comments (7)
@thenbrent Not sure what might be going on here after looking at Subs code a couple times. Inline doc of class-wc-subscriptions-cart.php
is OK, but I'm missing some background that I'd need to be fully able to grasp the underlying logic (or, better, which part of it fails).
from woocommerce-subscribe-all-the-things.
@franticpsyx yeah, we do some pretty crazy things with recurring shipping from v2.0.12 onwards in Subscriptions, and shipping gets really complicated, so I want to save you going down that rabbit hole!
I've assigned this one to me so will tackle it. For reference, it would have been introduced with https://github.com/Prospress/woocommerce-subscriptions/pull/1358
from woocommerce-subscribe-all-the-things.
@shadimanna if you have a site you can easily test v2.0.14 on again, would you mind updating again to v2.0.14 and then changing line 258 of woocommerce-subscriptions/includes/class-wc-subscriptions-cart.php
from:
// Keep a record of the shipping packages so we can add them to the global packages later
self::$recurring_shipping_packages[ $recurring_cart_key ] = WC()->shipping->get_packages();
To:
// Keep a record of the shipping packages so we can add them to the global packages later
if ( 0 != $recurring_cart->next_payment_date ) {
self::$recurring_shipping_packages[ $recurring_cart_key ] = WC()->shipping->get_packages();
}
And letting us know if that fixes it?
That fix is from a separate, but possible related, issue (https://github.com/Prospress/woocommerce-subscriptions/pull/1404).
from woocommerce-subscribe-all-the-things.
@thenbrent In case it helps, I'm also getting a PHP Notice: Undefined index: every_2nd_month_0 in /wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptions-cart.php on line 1070
I've assigned this one to me so will tackle it.
Ops, sorry, just noticed. Dived straight to the code as soon as I saw the notification.
from woocommerce-subscribe-all-the-things.
@thenbrent I tried your fix but it still seems to be happening. Do you want me to give you access to the staging site so you can take a look? If not let me know and I can test another fix.
from woocommerce-subscribe-all-the-things.
@shadimanna that would be a great help. Please email temp admin creds to [email protected]. 😄
from woocommerce-subscribe-all-the-things.
We’ve now fixed this issue in Subscriptions. The PR with the fix here: https://github.com/Prospress/woocommerce-subscriptions/pull/1404 (for those with access to the repo).
We plan to release that this week in a version 2.0.15. Closing this one now. Thanks for the report and help @shadimanna. 😄
from woocommerce-subscribe-all-the-things.
Related Issues (20)
- Subscription and Subscribe to All Things - Functionality Discrepency HOT 3
- Throwing error log on product? HOT 8
- Recurring order never goes to processing, shows as pending payment. HOT 1
- Customer Payment Page for Parent Order doesn't seem to work HOT 2
- Subscription Total text not formatting correctly HOT 1
- Subscription API can only show 100 entites per page HOT 1
- subscription billing length HOT 3
- Compatible with API Manager Extension? HOT 1
- One time shipping fee option is not working V2 HOT 9
- Bundled products subscription options not correlated with main product subscription options HOT 3
- Add product to existing subscription - shortcode function HOT 2
- Stock reduced when signing up to subscriptions HOT 6
- Existing Subscription Display Issue When Using Composite Products HOT 6
- Apply to all HOT 3
- SATT calculates discounts for Bundles in Composite products incorrectly HOT 1
- FROM PRICE under product title display the most expensive one HOT 2
- 8 Month Subscription Option, Applying Discounts Incorrectly (Possibly another Plugin Issue) HOT 1
- Ajax "add to cart" from single product page doesn't pass SATT scheme data HOT 1
- Preselect Subscription for Cart HOT 2
- [Important] SATT now on WooCommerce.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woocommerce-subscribe-all-the-things.