Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
> if the client wants to pay for it.
sure. (building websites is not a charitable event after all :) )the whole layout there is done with css and media queries anyway so you could simply use the classes, id’s and elements provided (there are loads of them ) to overwrite things as needed
i.e float or scale things as is appropriate for your particular setup (but make sure to test things on different screensizes)>Do you know if this is something that anyone else has done successfully
probably, but i don’t know any particular examples off hand and – in any case – what’s suitable for your groups and ingredients available is probably unique to your site.i would not advise against doing it as such, but i can tell you that it needs a lot of fiddling with if you want to do it
i’m sure in some scenarios and for some themes what’s there can be bettered, but of course , i am only trying to offer something that’s universally acceptable for all scenarios (as much as this is possible)PS: if you dont want to wait you can also send me your *test* merchant key and md5key (if any) (if you do, mark the reply as private here)
and the currency you are using
i need to re-activate my epay.dk account until i can check things
i sent them an email , but dont know when they will replyi don’t find this very legible (just my opinion)
however (not exactly the same but will make it somewhat more condensed), it force wraps at 74 characters
if you want it to wrap sooner ,you could set a couple of constants to be lesshttps://docs.wp-pizza.com/developers/?section=constants
notably
WPPIZZA_PLAINTEXT_MAX_LINE_LENGTH
and
WPPIZZA_PLAINTEXT_MAX_LINE_LENGTH_WORDWRAPthe missing dot is just a typo here in this thread (it’s in the plugin though)
got a link ?
because using a server to send is quite different from using an email client
you’ll have to speak to your mail administratoryou could also try to disable the wppizza smtp functionality and see if you have more luck with another 3rd party smtp plugin
wppizza is of course not really a smtp plugin as such. i just added that option to perhaps be useful and i know it works on many/most servers (not to mention that i noticed that many smtp plugin store their smtp passwords in plaintext which – in my book – is far from ideal)
>What do you mean with “verify that the domain or address is defined for this server.”?
lol, *I* don’t mean anything by that. it’s the phpmailer script that says thiscan you check with your host/server admin first of all if From: Pizza XXX
is allowed to send in the first place to a non-local address (and/or have a look at your mail (error) log) ok, that’s because you are using (I assume ?!) a gmail/googlemail, hotmail or yahoo address
none of these understand plaintext properly (not my fault – they used to , but not anymore. not the last time i checked anyway).
for instance plaintext is not displayed in those using monospaced fonts unless you jump through many hoops and it would ask too much of the average user to set this up. therefore plaintext email would look like a right old messtherefore the plugin forces html with the “pre” tags to make this legible. you will find that not using a gmail/hotmail/yahoo address will give you proper plaintext
alternatively there is also a filter that checks for those email addresses you could use to unset this behaviour for gmail
like so/* not tested as such but should work */ add_filter('wppizza_email_plaintext_to_webmail_domains', 'my_filter'); function my_filter($email_domains){ unset($email_domains[0]);//where 0 = @gmail. | 1 = @googlemail. | 2 = @outlook | 3 = @yahoo.| 4 =@hotmail. return $email_domains }but if you send plaintext emails to customers that have gmail accounts and use that filter, they would get the same mess
sorry, but this will not be done, as the possible permutations are endless and make any sensible formatting that takes account of all of those permutations nigh on impossible
it actually also says so in the help screen of the admin opening times page under the “closed” tab
and in the docs https://docs.wp-pizza.com/shortcodes/?section=openingtimesthough I agree that it might be helpful to display this info in a few more places perhaps somewhere
did you “verify that the domain or address is defined for this server.”
test smtp emails simply use the default wp_mail from address (something like [email protected])
whereas “live” emails so to speak use the settings in wppizza->settings ->emailsi guess i should probably change this to be used for test emails too at some point.
as it is what it is at the moment, have you tried doing a test email with an actual test order ?PS: when you test it, it does not even use any saved parameters but directly what you have typed into the formfields
and also (just checking) are you using another SMTP plugin by any chance ?
have you used/run the test there (i assume we are talking about the smtp settings section in the wppizza plugin) ?
what does the output give you ?sorry, but I do not understand what ‘show closed times at opening times’ is supposed to do …
what exact html are you getting ?
sounds more like it’s not set to use SMTP in the first place (i can assure you the password does get saved)
a) you dont need any of the require(WPPIZZA_PATH.’classes/class.wppizza.order.php’); etc
this is wppizza v2 stuff
please see https://docs.wp-pizza.com/developers/?section=action-wppizza_on_order_execute
all details are in the $order_details parameters
b) i cannot tell you what else you need for your goodcom printer to work. i have no knowledge about it. you will have to refer to the manufacturer information(of course, if someone else reads this, has knowledge about it and wants to chime in, please go ahead)
-
AuthorPosts