Forum Replies Created
- AuthorPosts
-
Hi
sorry about the late reply here – I am literally in the middle of moving house so my response times are not quite what I would like them to be currently. Apologies.Luckily, you were able to answer your own question and found a way to cater for your scenario which I am happy to hear.
Thanks for the feedback and posting your solution here.
not sure what you mean by “muliple carts” , but other than that, there isn’t really any other way to set “variations” (if you want to call it that) I can see apart from meal sizes and the add ingredients options and/or a combination thereof
28 August, 2021 at 12:08 pm in reply to: Please tell me how to let the “redeem” button appear? #57324the redeem button will show up automatically if appropriate
i.e the user is logged in and has accumulated enough points to redeem according to the settingswithout seeing your settings i cannot say much other than :
have you enabled debug / looked at your debug.log
https://docs.wp-pizza.com/troubleshooting/first of all, i’d suggest you turn off outputting error, but logging them instead like so:
https://docs.wp-pizza.com/troubleshooting/secondly – when you look at your browser console – you will see :
“Geocoding Service: you must enable billing on the google cloudproject at …etc…”Having had another look at your site and duoble checking things , I do now actually think you are using the “normal” (option 1) shortcodes , so my above assumption is probably incorrect.
However, the dynamic css that needs to be loaded on your site to make the grid work
i.e.
https://parminderc2.sg-host.com/wp-content/plugins/wppizza/css/wppizza.grid.css.php?grid=4-1.5-480
is a 403 responseonly your server admin will know why it is a 403 . This file needs to be loaded for the grid to work
it seems to me you are not using the shortcodes but simply displaying the categories according to your theme templates.
If you do that , you need to create the appropriate template.See what is called “option 2” here
//docs.wp-pizza.com/getting-started/?section=setupAlternatively you can of course just use the shortcode(s) on pages (“option 1”)
hope that helps(Deleted by admin: see post below)
12 August, 2021 at 4:50 pm in reply to: WPPizza Delivery By Postcode and Postcode not working #57194so what changed ?
did you enable debug and checked your debug log ?
https://docs.wp-pizza.com/troubleshooting/have you checked your debug.log ?
https://docs.wp-pizza.com/troubleshooting/>tried to deactivate some plugins
you should be deactivateing *ALL* non-wppizza plugins and use a default theme and check if you can reproduce thisthis is not actually related to WP5.8 but when using php v8+
in any event, I have just updated the wppizza plugin (to v3.13.7) and i believe this is now fixed (at least i cannot reproduce this here anymore)
thanks for reporting the issue
how did you determine that this is related to the wppizza plugin ?
In any event, wppizza uses the standard wordpress registration process.
There are lots and lots of plugins on wordpress.org that would let you tweak the registration process to your liking.
It’s not really anything that wppizza does or controlsadditionally the price (element) title on your pages looks like this
title="9976"
wppizza does not do that which makes me think there’s some filtering going on on the element which may (or may not of course) affect thingsworks just fine here
tried de-activating all other plugins using a default theme ?
do you still get the same issue if you do that ?As of v1.8 the stockmanagement plugin (https://www.wp-pizza.com/downloads/wppizza-stockmanagement/) will also now allow you to apply the “Maximum per item per order” to selected menu items only
the number of search results per page is controlled by the theme (or indeed by wordpress itself using 10 as a default i would guess). wppizza does not control this.
I am quite sure though that there are probably some filters you could use to adjust this as you like
the reason why you get 10 and 6 results is (most likely) that you have 16 search results but your theme will simply only display a max of 10 per page so the 10+6 would be expected
if your theme were to show 5 per page, you’d probably get 4 pages with 5, 5, 5 and 1 resultthis has nothing to do with a php update but with open_basedir being set on your server.
the latest update of the wppizza plugin also accounts for this now.
however, generally speaking i would also suggest you do not output any errors/warnings but log them instead (https://docs.wp-pizza.com/troubleshooting/)you could use the [wppizza_dbp_map] shortcode which does that and more
see here: https://docs.wp-pizza.com/developers/?section=delivery-by-post-zipcodeor add your orderhistory shortcode somewhere and setup the address as outlined here (which will make it a link)
https://docs.wp-pizza.com/shortcodes/?section=admin-orderhistoryor filter your emails like so (adjust as required)
add_filter('wppizza_filter_template_customer_section','my_email_template_markup', 100, 4 ); function my_email_template_markup($section, $template_type, $template_id, $order){ if($template_type == 'emails'){ $field_id = 'wppizza-dbp-map-location'; $section[$field_id] ='<tr><td style="text-align: left; padding: 2px; white-space:nowrap; vertical-align:top;">'.$order['customer'][$field_id]['label'].'</td><td style="text-align: right;padding: 2px;;"><a href="[some link to some mapping site with the address/apikey/etc added as necessary]">'.$order['customer'][$field_id]['value'].'</a></td></tr>'; } return $section; }
This reply has been marked as private.>Do you know why it is happening?
No, as it works just fine here and without seeing what you’ve done, i cannot comment any more reallydelivery charges are filterable like so (as a basic example)
add_filter('wppizza_fltr_delivery_charges','my_delivery_charges', 10, 3 ); function my_delivery_charges($deliveryCharges, $session_items, $filter_param){ $deliveryCharges = 20;//set delivery charges to 20 return $deliveryCharges; }
- AuthorPosts