Forum Replies Created
-
AuthorPosts
-
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 really21 June, 2015 at 11:58 pm in reply to: I got this error after install "Add Ingredients" plugin #10745you are running out of memory.
your actual error seems to beFatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 786432 bytes) in /home/c3ntin0s/public_html/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php on line 1666
i would suggest you change / add the following to your wp-config.php
define(‘WP_MEMORY_LIMIT’, ‘128M’);40M is the default in wordpress. although – many times – this is enough, it all depends entirely on all your other plugins and theme configuration(s) as to whether this is sufficient
i’ll put it on my list of things to do (i can see why that might be useful). I cannot give you any ETA at the moment as to when this will be enabled/inbuilt I’m afraid
>My support ticket:…
i seem to have missed that one for some reason. apologiesif you enable “Use when Registering ?” in wppizza->order form settings next to the relevant form field, it will be added to the wordpress user data in which case you can then export your user data (there are lots of plugins on wordpress) with those being part of that export
something like this probably – https://wordpress.org/plugins/export-users-to-csv/ – not tested though
there is now version 4.9.2 which should (hopefully) improve the licence handling
(you might of course have to download this one manually from your purchase history first if your current version does not make the update show up)
-
AuthorPosts