Pages – WPPizza Documentation https://docs.wp-pizza.com documentation for the wordpress wppizza plugin (version 3.x) Fri, 22 Apr 2022 12:31:17 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 Admin Dashboard Widget https://docs.wp-pizza.com/admin-dashboard-widget/ Sat, 03 Nov 2018 02:10:36 +0000 https://docs.wp-pizza.com/?p=334 Access Rights”, unless the “unprotected” attribute in the ]]> Admin Dashboard Widget(requires WPPizza v3.8+) Allows you to display the WPPizza Admin Dashboard Widget in a frontend page

Note: To view the widget, a user has to be logged in and have “Order History” permissions set in “Wppizza->Access Rights”, unless the “unprotected” attribute in the shortcode is set (not recommended). type=’admin_dashboard_widget’ required string Note: the shortcode must start with [wppizza_admin unprotected=’1′ optional bool Set to 1 to not ask for any login credentials when accessing the page – not recommended (Default: 0)
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 https://docs.wp-pizza.com/pages/ Tue, 13 Jun 2017 08:47:18 +0000 http://v3x.wp-pizza.com/?p=57 Overview – click on the links to view all available attributes

Pages
Type Example Description
 
Orderpage [wppizza type=’orderpage’] Display Orderpage
User Orderhistory [wppizza type=’orderhistory’] User Orderhistory
]]>
Orderpage https://docs.wp-pizza.com/orderpage/ Tue, 13 Jun 2017 08:35:22 +0000 http://v3x.wp-pizza.com/?p=53 …]]> Orderpage / Checkoutpage Display the checkout page formfields   type=’orderpage’ required string  
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”
]]>
User Orderhistory https://docs.wp-pizza.com/user-orderhistory/ Tue, 13 Jun 2017 08:35:39 +0000 http://v3x.wp-pizza.com/?p=54 …]]> 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.
]]>
Admin Orderhistory https://docs.wp-pizza.com/admin-orderhistory/ Wed, 09 May 2018 00:12:04 +0000 https://docs.wp-pizza.com/?p=302 Order Settings->Order History->Polling Time”. Number of orders per page are determined by ]]> Admin Orderhistory (requires WPPizza v3.5+) A compact view – basic actions – of the admin order history that can be used on any frontend page. Orders will be polled based on settings in “WPPizza->Order Settings->Order History->Polling Time”. Number of orders per page are determined by “WPPizza->Order Settings->Order History->Max Results Per Page”

Note: To view the order history, a user has to be logged in and have “Order History” permissions set in “Wppizza->Access Rights”, unless the “unprotected” attribute in the shortcode is set (not recommended). type=’admin_orderhistory’ required string Note: the shortcode must start with [wppizza_admin name=’cname’ optional string Comma separated string of formfield id’s that are used to enter a customers name (hover your cursor over the “Enabled” icon in “Wppizza->Order Form” for id’s). Defaults to “cname” address=’caddress’ optional string Comma separated string of formfield id’s that are used to enter a customers address (hover your cursor over the “Enabled” icon in “Wppizza->Order Form” for id’s). Defaults to “caddress”.
If using the “Delivery By Postcode” plugin, you can also use “wppizza-dbp-map-location” (if using google maps option there) or “wppizza-dbp-area” (if not using google maps) no_pagination=’1′ optional bool Set to 1 to not show any pagination (Default: 0 ) print_view=’1′ optional bool Set to 1 to automatically try and open the print dialogue when clicking on the “view order” icon – if supported by your browser (Default: 0) delete_order=’1′ optional bool Set to 1 to add “delete order” button – user must be logged in and has “delete order” privileges (Default: 0) unprotected=’1′ optional bool Set to 1 to not ask for any login credentials when accessing the page – not recommended (Default: 0)
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 availablewppizza-dbp-map-location (if using maps), wppizza-dbp-area-is (if using autocomplete textboxes), wppizza-dbp-area (if using regular/default dropdowns

[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)
]]>
Powered by atecplugins.com