Forum Replies Created
-
AuthorPosts
-
your customer should not really have access to the backend anyway …?! (unless you have given it to him specifically)
> so that only the customer sees thiers on the front end
which would be the order history shortcode on a page somewhere>…and the back end the owner sees all??
that’s precisely what it would do naturally (unless you are changing/overriding things)PS: victim of my own success i guess, but what can i do…
just realised i never replied to this.
in any case, as people forever want more features on the existing plugin(s) or want/need help with things, I have not even had a chance to look at this in any more detail
so – as it stands – still no ETA I’m afraid
21 March, 2015 at 3:20 pm in reply to: Remove labels/tags for customer details on order history printout #8605i really cannot code everything for everybody here.
look at the template and codesnippets and use your creativity.its doable with the filters available, just use a
str_replace(',','<br />',$var);where appropriate>Is there a way to manage all orders that came into the store for all customers.
sorry, i don’t understand.
that’s what the order history does…no ?
(or the reports section, depending)it’s quite deliberate that the restaurant and the customer get exactly the same email so there can be no misunderstandings when the two have a discussion about an order for example.
if you really want another/additional email you will have to look here
https://support.wp-pizza.com/topic/after-every-order/
round about where it says: “the below $email variable” and set some email sending mechanism
>They have a Monochrome Printer.
you want to make something stand out / colorize when it’s a black and white printer ?
it’s already in big bold red letters ?!
>Nothing different
not likely :)>THANK YOU FOR ALL OF YOUR HELP!!
you’re welcome, glad you got it working>can I change the height of the header
sure. you can do what you like. as i said there are no fixed sizes (and the ones that are there can be changed by filtering)>BTW how do i close a thread ?
i do not think you can, but don’t worry about it>The current header for HTML emails what is it, in pixels?
it’s not set.
the only dimensions (barring some margins or paddings) that are set is the overall width of the whole table (which is 500px)> Could it possibly interact poorly with the Theme itself
no, it’s a straight forward filter to be put in the functions.php file (or your child functions php file if you created a child theme – which is always preferable)
of course, make sure that your child theme works first before messing around with anything in there
or a missing/too many
<?and/or?>
or you are using<?when you should be using<?php..lots of possibilities, none of which have anything to do with the code above
if you get an internal server error you CLEARLY got some error somewhere.
enable debug , it might help you
(my guess is you have a rogue space somewhere or a closing bracket too many/ too few)a) you didn’t email me any header as far as i know
furthermore, i am not here to teach the most basic things of webdesign.
try google if you do not know how to get pixel sizesb) >I would like to create a custom on
i am not stopping yousounds more like a coding error your end to be honest.
i am using that exact same code here and it works just fineyou need to find out what your internal error is
already there….
as you noticed, the prices fields only accept prices.
however, as of v2.11.8.6 (should be available in a couple of days or so) you will be able to add this to your themes functions.php
add_filter('wppizza_filter_output_format_price','my_function'); function my_function($priceformatted){ /*get rid of any formatting first and cast to integer*/ $price=(int)str_replace(array(',','.'),'',$priceformatted); /*if zero, display some text instead*/ if($price==0){ $priceformatted='some text';/*set this to whatever text you need to be displayed*/ } return $priceformatted; }note: this is only advisable like this if you do not offer any actual ordering – as you said you don’t – and it applies to *all* menu items with a price of zero – though you could set the one it applies to to an impossibly high price (let’s say 99999.00) and do
if($price==9999900){ etc. otherwise you’ll have to jump through some more hoopshope that helps
fyi:
regarding option to select self-pickup on the popup.
i haven’t forgotten, just keep finding little things when adding and testing this that need fixing or could be better -
AuthorPosts