Forum Replies Created
- AuthorPosts
-
re a) all depends on what you call “nice looking” really and whether you are using phpmailer as mail delivery or the standard mail()/wp_mail().
on either you could use the templates to edit to make them “look nice” and print those…or if using phpmailer for example , could use a filter ‘wppizza_phpmailer_sent;
like so in your functions.php (there’s also another way of doing this if NOT using phpmailer , but its a bit more involvedadd_action('wppizza_phpmailer_sent', 'my_custom_phpmailer',10,2); function my_custom_phpmailer($mail,$mailsent){ if($mailsent){ //**do something with the $mail object (like fomat and then send to a different email to print or , curl, post or whatnot) } }
re b)
i am actually in the middle of redesigning the whole thing and moving these comments and other bits and pieces to some sort of organized forums , having an area for codesnippets etc so it is – at least – searchable and not the mess that it is at the momentmight take a bit longer but should/will make the whole thing a lot more manageable and userfriendly i would have thought (just never got the time to do this before and it’s definitely about time i agree)
I don’t understand…
what exactly do you mean by “wouldn’t that be good for you” ?
excellent
apart from the above, also consider that – to output the whole xml as it does on ajax requests it it will – more than likely – run a ton of functions and queries to get there which will screw your server performance no end….
i haven’t looked at the code as to what it is exactly doing, but to me it seems the plugin runs the whole shebang everytime something is happening even if it has nothing to do with anything it does…
personally (and looking at the reviews – especially the one and two stars of that plugin ) I would really use something else
that’s because your theme (or the plugin you are using to display the mobile site – i hazard a guess it’s this one http://wordpress.org/plugins/wordpress-mobile-pack/)
output the whole page when doing an ajax request for no reason i can see…
(not even talking about:
Compatible up to: 3.0.5
Last Updated: 2012-7-5
)if you could let me have your email.
dev[at]wp-pizza.com
How would I find the ID’s then?
just look at the source code
got a link i can checkout ?
Just to clarify, the ID’s are they the sort order figures I have put in?
no, they are internal id’s (as they have to be /should be unique) because – in theory – you could have the same sortorder number or whatever for different items
Hi
am a bit confused….
what do you mean by “page of the website ?”
I.e. what else could it possibly be ?yup.
there’s the “timed menu” plugin, which does that sort of thing….
hope that helps
yup. those two are linked together
if you still want to have the javascript popup even when closed, your best bet is to hide the cart via js/css
something like :
if shop closed (there is a hidden element – .wppizza-open – only when its open), cart->css->display:none; (or something similar)i think i kind of get what you are saying ….
are we essentially (correct me if i’m wrong) talking about a – let’s call it employee dashboard – that is a scaled down version of the order history ?so – for arguments sake – the same thing but only displaying customer and order details and one big button saying “processed” or something (without displaying order id etc etc ..?
if so , let me have a bit of a think (am somewhat in the middle of a few other things)…
shouldn’t be too taxing to do as it happens as the functionality is already there of course
its custom groups you are probably looking for.. (it’s that big tab at the top when you are in the admin of the “add ingredients” administration)….
to change it to processed
just select/set the status from the dropdown list next to the order and set the status (next to “maximum results”) to be displayed on the top to just “new” for example….
is it possible to suppress the price if it’s 0?
no, sorry (unless you edit the template of course)
is it possible to set more than one tax
if you enter prices without tax, then no, there’s only one tax and anything else would be beyond the scope of the plugin really
having said that, if you are entering prices WITH tax, then you could just display the text as you wish (i.e something like “prices include tax at x% for a / y% for b” or something
Also the shipping should be 8%
at the moment, shipping is set as a price, rather than percent. however, i should probably be able to enable to set this as a percentage too … i will have to think about that for a bit
where in the wppizza-default.css file i change the font selection from h4 to h2
leave that file alone, just override things as needed by using a custom file (i.e wppizza-custom.css )(see faq’s -> http://wordpress.org/plugins/wppizza/faq/ )
you also do not change h4 to h2 as such, but change the way h2’s (or h4’s) are displayed (font sizes etc) by using css …
v4.3.3 of the add ingredients extension has this filter now
(let me know if you need some more info as to how exactly use this)however the additives sorted “only” alphabetically
not strictly true, you can also sort by price as it happens
having said that, the next version I have here (although not yet released), has a filter added (called wppizza_filter_ingredients_custom_sort) you will be able to use in your themes functions.php to sort the ingredients whichever way you like
Hey,
good spot.thanks for that.
I’ll make this (or similar to allow 2.555 for example too) the default in the next updatesteal some time as much as you like 🙂
just “additional” js won’t do as the user – theoretically – could “persuade” the js to accept more than allowed ingredients if he were to edit the hidden elements on the page (although admittedly, he/she would have to spend quite a bit of time and energy to find out how this is exactly put together, but it’s possible)
there is also a server side validation that takes place to check this stuff, so it would have to be put in there too. once you were to do that (i.e hack the plugin), you would not be able to update it anymore without alwasy having to re-apply any changes you may have made
PS RE functional reference : if you look at the js/scripts.source.js there are already lot of comments as to what does what (still won’t be that easy/straightforward). as i said though, that’s only half. serverside validation should be there too
- AuthorPosts