FAQs

⌘K
  1. Home
  2. Docs
  3. FAQs
  4. How do I customize the Cart page?

How do I customize the Cart page?

You can customize the following parts of the Cart page:

To do this, first go to WooCommerce > Settings > Payment Plans. Here you can change how the item price and the item subtotal are displayed:

You change how the Cart page displays through the use of shortcodes, which represent data contained within the order.

For the Cart item price HTML field, you can input the following shortcodes:

  • [price]: The price of each installment.
  • [interval]:The interval between installments.
  • [period]:The period for the installments, such as dayweekmonth or year.
  • [length]:The length of the payment plan.
  • [payment_count]: The total number of payments.
  • [full_price]: The total price of the payment plan.
  • [sign_up_price]: The sign-up fee.

For the Cart item subtotal HTML field, you can input the following shortcodes:

  • [today_subtotal]: The amount due at the time of the order.
  • [interval]: The interval between installments.
  • [period]:The period for the installments, such as dayweekmonth or year
  • [length]:The length of the payment plan.
  • [payment_count]: The total number of payments
  • [grand_subtotal]:The total price of the payment plan.
  • [sign_up_price]: The sign-up fee.

Examples

Changing the Sign-up Fee Text in the Price

By default, the Cart item price HTML value is [full_price] +[sign_up_price] sign-up fee. If the full price of an item is $100 and the sign-up fee is $10, the Cart page would display “$100 +$10 sign-up fee.” But you can change this to “$100 plus a sign-up fee of $10” by entering the following: [full_price] plus a sign-up fee of [sign_up_price]

Displaying the Number of Payments in the Subtotal

By default, the Cart item subtotal HTML value is [today_subtotal] [grand_subtotal] Payable over [length] [period]. Using the example above, the Cart page would display “$35  $110 Payable over 3 months.” But you can change this to “4 Payments Payable over 3 months for a Total of $110, with $35 Due Today” by entering the following: [payment_count] payments payable over [length] [period] for a total of [grand_subtotal], with [today_subtotal] due today

More Examples

Cart item price HTML[full_price]

Cart item price HTML[price] Due Today

Cart item subtotal HTML[payment_count] payments payable over [length] [period]

Cart item price HTML[price] / [period]

Cart item subtotal HTML[grand_subtotal] <br />during next [length] [period]

Cart item price HTML[price] / [period] <br />[payment_count] payments in total
Cart item subtotal HTML[grand_subtotal] <br />during next [length] [period]

How can we help?