Collapse Menu
Classic Docs
Digital Products and Fulfillments
Order Page Config, Design and Page Flow
Advanced Features
Subscriptions and Saasy
Your Account
Contact Support

How do I show different text based on quantity in the e-mail fulfillment?

Overview

Sometimes, you may want to show different text or quantity information in the e-mail fulfillment, Products and Pages -> (product) -> Edit (E-mail Fulfillment) -or- Add (Fulfillment Actions if you haven't create one yet, that goes out to the customers.

Sometimes, you may want to show different text or quantity information in the e-mail fulfillment, Products and Pages -> (product) -> Edit (E-mail Fulfillment) -or- Add (Fulfillment Actions if you haven't create one yet, that goes out to the customers.


Sometimes, you may want to show different text or quantity information in the e-mail fulfillment, Products and Pages -> (product) -> Edit (E-mail Fulfillment) -or- Add (Fulfillment Actions if you haven't create one yet, that goes out to the customers. To do this, you can do some variation of this in the e-mail:

<choose><when test="#{orderItem.quantity eq 1}">quantity one text</when><otherwise>quantity greater than one text</otherwise></choose>

If you wanted to mention the quantity elsewhere in the e-mail fulfillment, you can use the variable #{orderItem.quantity}

Try FastSpring

Get a free account and see why FastSpring is the ecommerce partner of choice for software providers around the world. Try our full-service ecommerce solution today to unlock revenue growth for your online company.