Forum Replies Created
-
AuthorPosts
-
simplest would be this from what you are describing:
https://support.wp-pizza.com/downloads/wppizza-delivery-by-postcode/
(read the bits under “notes:”)or alternatively you could of course have a multisite setup (but then you have 2 sites of course you would need to administer)
have a look at the examples here
https://support.wp-pizza.com/twentytwelve/our-menu/user/
the links in the text describe/show the setup of these.(in your case the “breakfast example” seems to be appropriate)
22 November, 2014 at 5:58 pm in reply to: how to prevent losing changes i have made in translation files #6320first of all, it’s quite deliberate that it’s not easy to just overwrite translations as I want people to send me their translations.
after all people benefit from the contributions of others too (and in many more ways than just translations), so it should go both ways.
secondly, what exactly is a “dedicated” translation supposed to be (we are not talking about poetry here) ?
either it’s translated or it is not. sure, translations can often be improved over time, but that doesn’t mean that there is a different interpretation (not in this case anyway) that could/should be applied in different cases ….
but feel free to correct me ..
21 November, 2014 at 12:37 pm in reply to: how to prevent losing changes i have made in translation files #6316you have to send it to me
great, you’re welcome and thanks for letting me know
should be fixed now in v2.3.3
if you activate your license, you should see the update on your admin plugins page
let m know if you have any issues
found the problem. will take a few hours to fix and make sure i don’t break other stuff .
there should be an update later todaythanks.
i’ll first try to replicate this here without doing anything on your server.
i’ll let you know when i know..not sure yet what the issue may bestrange.
can you enable debug in your wp-config.php like so please (and let me know):define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);>Sorry for my bad english
no problem, it’s finei’ll test a couple of things…will get back to you in a minute or two
This reply has been marked as private.>It’s probably easier for me
dunno how that’s easier, but whatever works for you
>Generating emails, is that just html
no. there is html of course, but a bunch of php too
(assuming we are talking about /templates/wppizza-order-email-html.php )use filters(ideally)
https://support.wp-pizza.com/topic/html-email-editing/
https://support.wp-pizza.com/topic/filteredit-header-of-html-emails/, or copy and edit
https://support.wp-pizza.com/topic/can-i-send-html-emails/from the same options table/data…(?)
(thought that’s obvious but I might misunderstand the question)>I mean, when the postcodes are setup in the admin system
ok.
not much to query though.
pretty much all options are in the options table in a serialised array.
i.e – in a wordpress way:
$wppizzaOptions=get_option(WPPIZZA_SLUG);
(ideally, assuming that that constant is available wherever you put your script)or just
$wppizzaOptions=get_option(‘wppizza’);
you’ll find it in $wppizzaOptions[‘order_form’] somewhere, depending on which field you used
or if you want to go really wild check this:
https://support.wp-pizza.com/topic/extending-the-plugin-with-a-class/
$this->pluginOptions in that class would return the same as $wppizzaOptions above
furthermore:
>I’m quite happy to query the wp_dbnothing to query if nothings been set anywhere. i.e postcodes only get captued once orders are submitted of course (by which time the above is pretty irrelevant, no ?)
>Sorry if I didn’t close any other open topics
no problem>but was curious as you are already checking the post code on the check out,
just set it up that way. read here under NOTES:
https://support.wp-pizza.com/downloads/wppizza-delivery-by-postcode/not sure why you’d want to restrict access like that in the first place though. as you would also restrict access for searchengines presumably …!
>What’s problem?
can’t tell.
to start off with though,
do you have a screenshot of your “wp-pizza -> Orders setting” and the “delivery options” settings in the post-zipcode extension ?i would do the following to – maybe – narrow it down
use one of the wordpress smtp plugins to perhaps bypass your server and see if it sends then using some smtp settings
if that works, than it’s most definitely your server not sending the email
PS: if it shows up in the order history it – essentially means – no programming errors were encountered and the email was – programmatically speaking – sent .
after that , it’s the servers job to actually send it
do the orders show up in your order history ?
nothing dramatic there – something that could be looked at if you are bored one day (it’s in the theme you are using – clearly)
-
AuthorPosts