Gateway – Stripe

Filters/Codesnippets WPPizza -> Gateways -> Stripe Codesnippet(s) to modify “Stripe” gateway options – namely test/live api keys in this example – depending on the user selection of a custom added dropdown formfield, in this case allowing for different stripe accounts to be targeted depending on 

Confirm | Reject | Notify

Filters available using WPPizza – Confirm | Reject | Notify wppizza_crn_sms_branding Allow “Branding”: Send some arbitrary text instead of sending a phonenumber as “Sender ID”. Be aware that this will not work if you are using 2-way or 3-way SMS settings (as the recipient would 

Delivery By Post/Zipcode

Shortcodes If you wish to display the delivery by post/zip-code selection in a different location [wppizza_dbp] If using google maps option: displaying the *dashboard map widget* showing your orders elsewhere: Shortcode: [wppizza_dbp_map] Available attributes: orders – orders to display according to status set. default: “new,delivered”. 

Pdf Invoices

CSS Declaration Examples and Filters available using WPPizza – Pdf Invoices Using your own font (this must be a truetype font – see also “Know Issues” below) To use your own font, follow the guide below: Go to “WPPizza -> Settings-> PDF Invoices” Make sure 

Google Cloudprint

Filters available using WPPizza Google Cloudprint wppizza_gcp_filter_copies Sending the second copy of an order to a different printer (id) set in the same google cloudprint account. The Number of copies in the plugin settings WPPizza->Cloudprintmust be set to 2 or more for this to have 

Goodcom Printer

Filter examples to alter the goodcom printer output wppizza_goodcom_printer_filter_xml_site Using the 3 filters below as described will result in a print layout similar to this screenshot. The final layout will depend on actual order and customer values submitted. @param: array(parameters) @return: array(filtered parameters) /* example 

Cross-Sells

Widgets/Shortcode Cross Sells – Shortcodes / Widget settings     title=’some title’ optional string Label above Cross Sells (Omit for default as set in Wppizza->Localization->Cross Sells) max=’5′ optional integer Maximum number of x-sells results to retrieve (Omit for default as set in WPPizza->Order Settings->Cross Sells) 

Add Ingredients

Filters available in WPPizza Add Ingredients wppizza_ingredients_filter_email_styles The below filter will *only* apply to emails (as emails need style declarations to be added inline). For Print templates, use the css input in WPPizza->Templates->Print in conjunction with your browsers element inspector @param: array @return: array add_filter(‘wppizza_ingredients_filter_email_styles’, 

Extensions / Gateways

Please refer to the relevant sub-section in the navigation on the left. Note: Documentation for extensions and gateways will always be work in progress and will expand over time.