Forum Replies Created
-
AuthorPosts
-
it’s that one:
https://support.wp-pizza.com/downloads/wppizza-preorder/(alternatively of course you could just add a normal textfield to the orderform if you do not need to add specific timeslots)
nothing i can do.
i have no power about how emails work (and what your hardware does with it)another option would be to send a second separate email to the printer only
see here for a starting point
https://support.wp-pizza.com/topic/after-every-order/in a future update to the plugin, there will be the possibility to send several independent emails/orders and layout to different recipients, but it will be a few weeks yet until i have this implemented and tested
ok,
it’s easy. all you need to do is enable “allow everybody to register” (which will also have the advantage – if they do – that next time their details are already filled in if the log in….)use the bcc instead I would have thought.
the emails are in the database with the order.
the reason why they are not displayed anywhere is because the only conceivable reason why you could really want them is to spam people.if you want peoples email addresses, get them to register .
although it would not be too difficult to get the emails out of the database, i will not provide a way to do this for above reasons.
sorry, but i have strong views on that subject
anyway , you should do something along these lines (in your themes functions.php)
function my_extra_markup( $itemMarkup, $item, $itemKey, $options) { /* get content of post */ $content=get_post( $item['postId']); /* add content to markup */ $itemMarkup['content']='<tr><td colspan="2">'.$content->post_content.'</td></tr>'; return $itemMarkup; } add_filter('wppizza_filter_htmlemail_item_markup', 'my_extra_markup', 10, 4);also, what is this supposed to do ?
$itemMarkup['postId']=['postid'];>I changed back to the original code …
never change/edit corefiles. your changes will get lost with the next update>The only thing that I changed is adding the filter.
doesnt look like it to me. you are supposed to add a filter and function that goes with it in your themes functions.php, not editing what is in the plugin
PS: BTW, i would suggest you also use the filter “wppizza_filter_htmlemail_item_markup” though instead of editing the template directly
>assume I can’t just post…
you would be correctbut you can use
$item['postId']to then get the content for that post id (or anything else you want to get for that id)when you edit a menu item it will have a url of something like
http://www.mydomain.com/wp-admin/post.php?post=31&action=edit
where 31 is the id
>Do u know if cloudprint option will print automatically or it need to be customized for that?
if you set up your printer with it then it will print automatically
>there is also this plugin…
that’s a woocommerce plugin. has nothing to do (and will not work) with wppizza>i was just wondering if there was a way to add a CSS class to each different price tier ….
not for you unless
a) you wanted to use js/jQuery to add the missing classes for example (i.e an item will have an id of wppizza-38-4-2 , where 4 is the price tier id and 2 the size that goes with the sizes set – zero indexed)
or
b) you could just edit the template you are using and add the classes (should be reasonably obvious how the loop is set up)
however, it’s also easy enough for me to add in the next update for all templates. in fact, consider it done, but that update is a couple of weeks or so yet until it’ll be available
>What cloudprint option?
depending on your printer you *might* be able to just cloudprint any orders using this plugin here
https://support.wp-pizza.com/downloads/wppizza-google-cloudprint/>And dont u need a plugin so it can print?
just a question of terminology . you can call it plugin if you wish. not important.essentially , your printer will/should have an api of some sort.
so one could write some script that prints/sends the order automatically to that printer once an order is received based on this action hook here
https://support.wp-pizza.com/topic/after-every-order/in both cases, it would get printed without you having to be logged into the admin side of things (or indeed even having a computer turned on as it would happen server side)
>same answer just for change color ..
pretty much>Otherwise, can you add this feature in a future update?
not as a feature (probably) , but i can add a filter/action hook that would let people do that.
on second thougts, maybe i’ll add it to the post/zipcode plugin as an option….not sure yet> Our client lost many order’s mail
how ? why ? what does that have to do with post/zipcodes ? (I don’t think I understand what you mean here)>and no timestamping
huh ? every order has a timestamp ??!!hmm, you lost me here.
just rename “reg” to “per dozen” , no ?
that’s not a question of a plugin as such, it’s more of a question of the printer and it’s api
there is always the cloudprint option too
at the moment, you can’t (not without hacking the plugin) as there is no filter to edit the query or results set other than what’s there.
Hi
there isn’t really any difference as to how things are handled between iPhone and anything else.
do you have a link where i can see your described behaviour ?thanks
that entirely depends on your theme used
nothing i can help you with really -
AuthorPosts