Forum Replies Created
- AuthorPosts
-
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 betteras of 2.11.8.5
>Have a setting to allow the mini-cart to be either displayed on top or bottom
sorry, i just hate it at the bottom.
however, you can set/add a padding to the top of your body (in wppizza->layout->minicart) if it’s displayed so your navigation should move accordingly – if you really want it at the bottom, you could change the css to be top:initial, bottom:20px (or something similar)>Have a button on there to ‘View Cart’
now optionally enabalable (is that a word ?)this is what i am trying to ascertain.
is it really worth spending days on developing something for those odd occasions where it might – once in a blue moon and only under certain circumstances – come in useful ? (especially if there are other and perhaps better ways of dealing with these “odd one outs”)….i’ll keep listening….
17 March, 2015 at 5:56 pm in reply to: How to change the format of the HTML template order email #8490i’m not stopping you.
have you ever tried searching this forum ? there are already a ton of examples and codesnippetsin particular this one
https://www.wp-pizza.com/topic/html-email-editing/for anybody reading this, please add your comments here
https://www.wp-pizza.com/topic/autoprint-sms-gprs-fax-orders/
>BTW do you ever sleep ?
sleep is overrated…16 March, 2015 at 11:33 pm in reply to: Question: Add Ingredients, mult price diff ingredients #8463should be (reasonably) simple:
add your spaghetti, linguine, ziti and chicken to the list of ingredients for that collection of meal sizes and set the pasta types to be 0.00 and the chicken to be 3.00add a couple of custom groups (one for the pasta types one for the chicken) as follows:
set/add a pasta types custom group to be a group type of “one only” (radio input) as – presumably – you can only select one of those, add the pasta choices there, and assign to your pasta items
use the second group to include the chicken choice – (set group type as appropriate) and also add/assign that to the relevant menu items…
does that help?
you will need to program that depending on your printer and the sms gateway you are using
so where it says :/**now implement however your sms/email2fax gateway implements things to send things to that tel/fax no**/ //->send your sms to $customerTel
insert your code to do this
click on the links i posted above!!
you do not *change* any php, you use filters /actions
i already gave you the link to the action you need to use.hmm, any particular reason why you are asking me the same question 3 times ?
i already replied to you yesterday as follows:you need a net/gprs/cloudprint enabled printer.
please have a look around the forum, there already are lots and lots of topics regarding thisand also, regarding coding this:
you want to have a look here
https://www.wp-pizza.com/forum/code-snippets/
and probably here
https://www.wp-pizza.com/topic/after-every-order/good stuff..glad you figured it out (whatever it was)
>That’s not me loading the insecure content that is the theme setting
i’m aware of that> timezone didn’t realise you have to set it in another location
most of the time it’s fine without setting it and wordpress uses its own internal calculation.
however, wordpress transients (that’s what the preorder thing uses to cache things) depend on that setting . if you just want something to expire in 4 hours , its fine either way, but if you calculate expiry time to be at 5PM for example from now , it goes awol (as 5PM server time !=5PM wordpress time if the 2 aren’t the same)you also want to fix your insecure content
http://fonts.googleapis.com/css?family=Oswald
should be either
https://fonts.googleapis.com/css?family=Oswald
or just
//fonts.googleapis.com/css?family=Oswald(and why are you loading it 2x anyway ?)
This reply has been marked as private.This reply has been marked as private.sorry, i am not the person that fixes your site. has also nothing to do with the wppizza plugin
>But there has been some damage caused already
like what ? turning cache on/off should not make any difference (other than showing stuff that should not be shown and viceversa)
- AuthorPosts