WPPizza – A Restaurant Plugin for WordPress › Support › Feature Requests › Hey, great plugin. Would it be possible to…
- AuthorPosts
- 20 May, 2013 at 3:07 pm #3555Steve
Hey, great plugin. Would it be possible to make a ‘tip’ field during checkout rather than a delivery fee. Providing customers a way to set a variable tip? We are trying to streamline the order process down to about a single page and allow for text box entry for tips to be added to the cart total.
Any thoughts or ideas would be great. Guidance on how to add the functionality myself would also be great.
20 May, 2013 at 5:35 pm #3556i don’t think i’ll ever integrate this particular thing into the plugin (after all, don’t you pay the tip when you get the stuff delivered ?)
however, you can try the following:
copy templates/wppizza-order.php to your theme directory and edit/add along the following lines (these will get included in any/all emails send):/***********************************************/ //if you want to add custom field value pairs, make sure //its an array having [label] and [value] to display in email //i.e: <input type="hidden" name="distinct_name[label]" value="some value"/>'; <input type="text" name="distinct_name[value]" value="some value"/>'; /***********************************************/
hope that makes sense. (shout if not)
- AuthorPosts
- The topic ‘Hey, great plugin. Would it be possible to…’ is closed to new replies.