Examples |
---|
[wppizza_admin type='admin_dashboard_widget']
|
– display the widget |
[wppizza_admin type='admin_dashboard_widget' unprotected='1']
|
– as above, but no login credentials will be required (If you do this, it is entirely your responsibility to protect this page from public access) |
Pages | ||
---|---|---|
Type | Example | Description |
Orderpage | [wppizza type=’orderpage’] | Display Orderpage |
User Orderhistory | [wppizza type=’orderhistory’] | User Orderhistory |
Examples |
---|
[wppizza type='orderpage']
|
– displays orderpage. Enable formfields and options as required in “WPPizza -> Orderform Settings”. The page containing this shortcode should also be set in “WPPizza -> Order Settings -> Global -> Orderpage” |
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. |
Examples |
---|
[wppizza_admin type='admin_orderhistory' name='cname, cemail' address='caddress, ccustom1']
|
– display the orders using the ‘cname, cemail’ formfield inputs to display the name, ‘caddress, ccustom1’ formfield inputs to show the address(with link to google map search). – Pagination will be shown (if applicable). – “View Order” button will open popup will full order details. – If the user is not logged in yet, a login form will be shown instead. – If the supplied credentials do not have “Order History” capabilities, an error will be displayed. – If in a multisite environment and all orders from all blogs are set to be shown in the parent blog, this will be the case here too. If you are using the “Delivery By Post/Zipcode” plugin, and depending on your settings in the plugin, the following address attributes are additionally available |
[wppizza_admin type='admin_orderhistory' name='cname, cemail' address='caddress, ccustom1' no_pagination='1']
|
– as above, but omitting pagination |
[wppizza_admin type='admin_orderhistory' name='cname, cemail' address='caddress, ccustom1' print_view='1' delete_order='1']
|
– as above, but clicking on the “view order” icon will try launch it in print view (if your browser supports it) – additionally a “delete order” button will be added (user must be logged in and has “delete order” privileges) |
[wppizza_admin type='admin_orderhistory' name='cname, cemail' address='caddress, ccustom1' unprotected='1']
|
– as above, but no login credentials will be required (If you do this, it is entirely your responsibility to protect this page from public access) |