Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

one time payment plus subscription in single checkout?

Hi, can you describe how I would approach this, if the goal was to collect card number once in a single checkout?

1. one-time payment for a physical product for amount X

2. recurring monthly subscription for service for amount Y

Objective is to not separate these transactions, preferring to make it a single transaction / experience for the shopper.
Tagged:
Comments
  • fc_romanfc_roman Member, FoxyCart Team
    Hey @patrickpitman,

    You can do this with the help of a product bundle:

    <a href="https://my-store.foxycart.com/cart?name=One-time+product&price=12.34&code=zxc123&quantity_max=1&2:name=Subscription&2:sub_frequency=1m&2:price=23.45&2:parent_code=zxc123&2:quantity_max=1">Buy 2 things at once!</a>

    This is the way to let your customers add both a regular product for $X.XX and a subscription for $Y.YY to the cart in a single click.

    Dozens of products can be added with a single click — just replace 2: with 3:, 4:, n: for each additional product.

    Let us know if you have any other questions!
Sign In or Register to comment.