Hp order data

From HurryPress Documentation
Jump to: navigation, search
[hp_order_data field=xxx]


This shortcode allows to insert information about last order made by customer into a page. If you do not specify any field, then it will display pre-formatted order receipt.

Or use one from these fields

invoice_id 
HurryPress generated invoice id
currency 
Currency
first_subtotal 
Subtotal for first billing cycle
first_discount 
Discount for first billing cycle
first_tax 
Tax for first billing cycle
first_shipping 
Shipping total for first billing cycle
first_total 
Total for first billing cycle
first_period 
Length of first billing cycle
second_subtotal 
Subtotal for second billing cycle
second_discount 
Discount for second billing cycle
second_tax 
Tax for first second cycle
second_shipping 
Shipping total for second billing cycle
second_total 
Total for second billing cycle
second_period 
Length of second billing cycle
tax_rate 
Tax Rate
tax_type 
Tax Type
tax_title 
Tax Title
coupon_code 
Coupon Code used
rebill_date 
Rebill Date
due_date 
Due Date
terms 
Invoice Billing Terms
receipt 
Payment Rececipt

Code Sample



Your last payment 
Invoice# [hp_order_data field=invoice_id]
Billing terms: [hp_order_data field=terms]
Full Receipt:
[hp_order_data field=receipt]