Forum Replies Created
- AuthorPosts
-
Anything else that you’ve edited btw?
apologies, just seeing that you seem to be using twentyeleven anyway, so a theme change to twentytwelve is unlikely to change things…
hmm.
can you try de-activating some/all of the other plugins you are using and see if that makes a difference ?>Yes I editted the file. But issue with no Postcodes exists even in original template too
just as an explanation: postcodes (and all sorts of other things) are added by using filters so you will not find a post code as such in the email or order templates
all very strange really.
this should just workcan you try one of the default themes (twentytwelve for example) and see if that changes things ?
did you edit the html/email template ?
got a link please ?
re orderpage:
although mostly i think this would not really be an issue (as you are saying yourself) you are quite right that i should do something about this scenario.
should be reasonably easy to do so will put it on a list of things to do for an updatere: opening times
pretty much everything is stored in the option table as a serialized array (option_name: wppizza)not at the moment, no.
it’s not a bad idea though. i’ll think about how to best do that in a future updatejust set the position aka “location on orderform” under the frontend settings tab
this has nothing to do with the wppizza plugin.
it’s your theme that decides to display this stuff.
you will have to look there / speak to them really
(or edit/use the single post display template see:http://wordpress.org/plugins/wppizza/installation/
option 2if you are using this)
>my Client wants to have minimum order price based on Postcodes. AND Not different prices based on Postcodes.
not entirely sure where the question is here to be honest.
for the sake of clarity: “delivery by postcode” let’s you set *delivery* prices depending on postcode. the menu items prices do not change
(have a look at the screenshots here https://www.wp-pizza.com/downloads/wppizza-delivery-by-postcode/ maybe that will explain things)>I know all plugin enquiries should be on a different section,
don’t worry i’ll move stuff around if it really ought to be in a different place>Can I just buy the license for 1 site …
in short: yup that’s fine by me>it won’t lock the license to my domain right?
not as such, it does however only allow your license to be activated on one domain
that shouldn’t be a problem though. you can always de-activate the license on your test server when you are done and then activate it on the live onejust to be clear activation does not change/lock anything to anything. it just lets you know of updates to that plugin/extension
PS:
RE 2:
personally i would not install 3 seperate wordpress sites . kind of overkill and completely unneccessary really (but of course , all up to you)if you really need 3 different order history pages you are definitely best of with a multisite setup (barring if you want to hack around in th eplugin of course)
furthermore, it wouldnt surprise me if your client – at some point – decides he wants to have – for example different opening tomes and / or menu items for the different restaurants, in which case you DEFINITELY need a multisite setup.
in short – if i were you – i would do this multisite and keep my options open and my life easier for the future
however, (the following would not give you 3 different order history pages btw and is just here for completeness sake as maybe this would also suffice)
have a read here under NOTES.
maybe this is all you/he needs ? dunnohttps://www.wp-pizza.com/downloads/wppizza-delivery-by-postcode/
21 June, 2014 at 11:26 pm in reply to: Hello, great work. Thanks. Is it possible to import items #4124>Is it possible to import a list of menu items from a csv file?
up to a point.
wordpress->tools->import is probably what you need / are looking for>Is there a German translation available?
not at the moment, no. (i am assuming you are talking of the backend here, as the frontend you can of course translate/label as you like)
there’s a beta plugin now (“Preorder”), if anyone wants to test things…?!
Hi
re additional shipping fees: you could use the wppizza_filter_order_summary_session filter (you will have to recalculate totals etc again though)
see here https://www.wp-pizza.com/topic/filter-options/
re SMS: a good starting point would probably be here:
https://www.wp-pizza.com/topic/run-action-on-status-update-admin/(you will probably want to run an ajax function that does what your particular sms gateway needs it to do when the status changes to “processed” for example)
so, as an example to send an sms to the customer after the order has been completed:
(if you wanted to send a fax, or anything else for that matter, you can do something similar, depending and that particular api. the below should get you started though)!!!!OLD/LEGACY: USE THE EXAMPLE IN THE NEXT REPLY / FURTHER DOWN ON THIS PAGE!!!! add_action( 'wppizza_on_order_executed', 'my_sms_function',null, 2 ); function my_sms_function($orderId, $orderTable) { global $wpdb; $getOrderDetails = $wpdb->get_row("SELECT customer_ini, customer_details ,order_ini, order_details FROM " .$wpdb->prefix . $orderTable . " WHERE id=".$orderId." "); /*customer ini is a serialized array*/ $customerDetails=maybe_unserialize($getOrderDetails->customer_ini); /**if you just or additionally need all plaintext order and/or csutomer details as the appear in plaintext emails or need the whole array you can use any of the following*/ //$customerPlaintext=$getOrderDetails->customer_datails;/*customer data plaintext. might want to to a nl2br*/ //$orderPlaintext=$getOrderDetails->order_details;/*order data plaintext. might want to to a nl2br*/ //$customerDetailsArray=maybe_unserialize($getOrderDetails->customer_ini);/*customer data array*/ //$orderDetailsArray=maybe_unserialize($getOrderDetails->order_ini);/*order data array*/ // also available (amongst others but probebly the most useful): order_date, transaction_id /**so, assuming you are using the "ctel" field for the customer telephone number. (if you are using a custom field it would be ccustom1, ccustom2 etc)*/ $customerTel=$customerDetails['ctel']; /**now implement however your sms gateway implements things to send things to that tel no**/ //->send your sms to $customerTel return; }
Have not tried to print the order email on the printer yet, so the question is premature
i know of other people that printed with this sort of printer without issues (as far as i can remember anyway)
so, if there are issues let me know when you know
yup.
there’s the “Timed Menu” extension specifically for that purpose
hope that helps
- AuthorPosts