Comments (2)
We could start with the simplest case of a product with the "Force sub" option checked and a single sub scheme defined.
In this case, the price html string should be no different than that of a vanilla Simple subscription and the button can simply say "Sign Up Now" instead of "Add to cart".
We can then think about handling more cases as we move forward.
from woocommerce-subscribe-all-the-things.
v1 proposal:
Case 1: Forcing sub + single sub scheme = Use WC_Subscriptions_Product::get_price_string
Case 2: Forcing sub + multiple sub schemes = Add "(sign-up required)" suffix
Case 2: Allowing one-time purchase + sub scheme(s) defined = Add "(includes sign-up options)" suffix
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.