Shortcodes

3.2.User Orderhistory

Users Orderhistory
Display previous orders of user
Note: The user must be a registered user. Registration (WP->Settings->anyone can register) must be enabled for this to be of any use
type=’orderhistory’ required string  
maxpp=’10’ optional omit| integer Maximum number of orders per page (default = 10)
Examples
 
[wppizza type='orderhistory']
– display the users previous orders. If the user is not logged in yet, a login form will be shown instead.
[wppizza type='orderhistory' maxpp='5']
– as above, but limited to maximum of 5 orders per page.
Suggest Edit

documentor id 3