Hey, great plugin. Would it be possible to…

WPPizza – A Restaurant Plugin for WordPress Support Feature Requests Hey, great plugin. Would it be possible to…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3555
    Steve

    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.

    #3556
    Olly
    Admin & Mod

    i 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)

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Hey, great plugin. Would it be possible to…’ is closed to new replies.