Forum Replies Created
- AuthorPosts
-
will (probably) not have anything to do with the server/php/etc .
it’s most likely my end….i’ll see what the issue may be
thanks for letting me know
>I’d like to add meta-keywords to the menu items page
there are a bunch of plugins available on wordpress that should let you do that (no need to re-invent the wheel)
>….as there is no cloud word adding possible on the items page.
i assume we are talking about “tags” (as there isn’t really such a things a “cloud words” afaik)
have a look here:
https://www.wp-pizza.com/topic/changing-wppizza-custom-post-type-arguments/>.. Search is not working
I’ll have a look…unless I came across some as yet unforeseen problems, I’m hoping to have that on (i.e a second taxrate to be assigned as required) integrated into the next update later this week or so (amongst some other additional options)
>Is it possible to show additives also with Ingredients
no (i don’t even understand in what scenario this might be useful ?! – unless I’m misunderstanding what it is you envisage)
just to say i haven’t forgotten…
I am however also integrating a few other options at the same time , so this might still take a few days longer….(I would hope to have this fixed end of week though)
thought i’d mention it…
can you send me a screenshot of your order history to dev[at]wp-pizza.com (or just an image here / set to private or not)?
(just the top 20 orders would do i suppose)i’ll see if i can replicate it and what’s going on
thanks
and regarding taxes only sometimes showing:
i have no idea what you’ve done there as I cannot see any reason (other than some edits in the email template that have gone wrong) that could do that .
either modify the loop in the template directly like so for example:
<?php foreach($customer_details_array as $k=>$v){ ?> <?php if($k==3){?> <tr><td style="<?php echo $htmlEmailStyle['mailPadding']['2x15'] ?>;vertical-align:top"><?php echo $v['label']; ?></td><td><b><?php echo $v['value']; ?></b><td></tr> <?php }else{ ?> <tr><td style="<?php echo $htmlEmailStyle['mailPadding']['2x15'] ?>;vertical-align:top"><?php echo $v['label']; ?></td><td><?php echo $v['value']; ?><td></tr> <?php } ?> <?php } ?>
or use the filter as described here
https://www.wp-pizza.com/topic/filter-customer-details-in-html-emails/
to make things bold, just wrap whatever you want in bold in
<b>
tagsalso, i am quite certain the tax is not missing , unless you have done/edited something (or of course have set tax to 0)
> Should I delete the add ingredients and the wppiza preorder and see if that helps the process?
well, you could do, but i dont think it will make any difference
your issue is the caching of things , as mentioned aboveps: there’s also a setting/option in the wppizza plugin that you want checked if you are using a caching plugin (under wppizza->settings)
> How do I set up the wp super cache so it does not affect the order page,
no idea, but i would assume on their faq’s it will say something about how to exclude pages (and/or parts of pages ) being cached
>how do I get rid of the jQuery problem
no idea there either. it depends on whether the theme loads them or another pluginsorry, but i cant really help you there
and one more thing (and then i shut up)
you also have 2 doctype/header declarations . (i hazard a guess another plugin does this)
you ought to be looking into that one too (again though, that’s wppizza unrelated and i just thought i mention it )and while i’m at it (although unrelated):
a) your theme loads 2 versions of jQuery. what’s all that about ?
b) you seem to have customised the pretty photo javascript without moving it to your themes directory (which will mean it will get overwritten with the next update)…just sayingto be a bit more prices :
never cache your order page (in your case http://mipizzaaustin.com/orders/ )
as I mentioned in various places in the plugin, and the faq’s….clearly , the order page is dynamically generated, depending on what that current user has put in his cart. if you cache that page the user will only ever see/get whatever the page was like when it was last cached (which may be an empty cart, or someone elses order)
>I was told that it is not likely a caching issue.
and who exactly said that ?
looking at your site , it most definitely is….Hi,
as I want to add some more things to the next update it might take a few days more to make this available.
in the meantime you can do the followingin wppizza/classes/wppizza.send-order-emails.inc.php AFTER
$this->subjectSuffix = ''.$this->orderTimestamp.'';
(at approx line 30) ADD the following
/**make subject filterable**/ $this->subjectPrefix = apply_filters('wppizza_filter_email_subject_prefix', $this->subjectPrefix); $this->subject = apply_filters('wppizza_filter_email_subject', $this->subject); $this->subjectSuffix = apply_filters('wppizza_filter_email_subject_suffix', $this->subjectSuffix);
then in your themes function.php file you can do this to add ‘cmd: print lp1’ before the whole subject line.
/**filter the prefix**/ add_filter('wppizza_filter_email_subject_prefix', 'my_custom_email_subject_prefix'); function my_custom_email_subject_prefix($subjectPrefix) { /**by default this equals get_bloginfo()**/ $subjectPrefix='(cmd: print lp1)'.$subjectPrefix; return $subjectPrefix; }
hope that helps for the time being
stupidly (or to be precise: mainly because no-one has asked for it before i think) it’s not as simple as it should be really .
give me a few hours and i’ll add a filter to the plugin that will let you do that much more easily than hacking around or extending classes etc etc.
i’ll post code here ….
- AuthorPosts