less than a minute read • Updated 2 years ago

Create a subscription

To create a subscription product, simply use the sub_frequency parameter with a valid value.

Example

https://myonlinestore.foxycart.com/cart?name=Test+Subscription&price=9.99&sub_frequency=1m

Valid Frequency Values

Any integer (maximum of 3 digits) followed by a single character denoting the unit of time.

ValueResult
60devery 60 days.
2wevery two weeks. For date calculations, 1w = 7d.
1mevery month. When you use the m unit, FoxyCart will assign billing to the current (or assigned) day of the month, to be repeated every x months. The date will be moved up when necessary; if set to the 31st, it will process on the 30th of months with 30 days (or 28th/29th of February).
1yevery year.
.5mtwice a month. IMPORTANT: The .5 value only works with m (months). This value will setup bi-monthly subscriptions, once on the start date, and again 15 days later. Example: if you set it to start on the 3rd, it will run on the 3rd and the 18th of each month.


Need Help?

Did this article answer your questions? Need help with anything? Please click below to contact us.