Forum Replies Created
-
AuthorPosts
-
you will have to ask your mail server administrator why that is.
the plugin does not distinguish between any email addresses….make sure you have the “from” email set as indicated in the big red DMARC notice at the top of your screen – unless you forcefully turned that off
just write it somewhere…or change “cart is empty” to “cart is empty, min order x.xx”
other than that, no
btw:
please start new questions by starting a new topic (even if they are vaguely related) to keep things somewhat better organised and searchablei’m only guessing, but did you set up the plugin for ALL (sub)sites too ?sorry, didnt read your post properly, it seems you did.
i’ll try to reproduce this sort of setup here first before commenting furtheras it says: https://support.wp-pizza.com/downloads/wppizza-delivery-by-postcode/
delivery by postcode required at least 2.11.9
in fact, if you just want to add some link somewhere, then i dont really see the need for any of this and you just do an (parent)element>find > x > trigger> click without having to even worry about ids and whatnot
FYI: the AI popup gets invoked by jQuery, changing the “wppizza-add-to-cart” class(es) to “wppizza-add-ingredients” based on var wppizza_addingredients = {“ing”:[……. as above and depending on the surrounding id’s /classes to get the ingredient for the right size and item
sure you could add a filter to change the wppizza-add-to-cart to start off with.
alas, that filter did not exist actually when the plugin was conceived, so it does it by jQuery as outlined above>Its a UX thing. Not all items have ingredients so I’m trying to show that there are ingredient options for specific items.
you could of course just set some icon, add some text to the description etc etc OR
– perhaps that’s what you are missing – read the id’s that are in “wppizza_addingredients” , typically something likevar wppizza_addingredients = {"ing":[77,67,30,17,16,7,5,3,48,47,110,119,135,142],......etcand add things that way . the id’s here refer to the items that have added ingredients….
of course the use of the filters will make things turn up in particular areas – so “not tied to things” was a bad choice of words i guess
but they do not just have one particular use but can be used as you see fitentirely up to you of course, but to be honest, i cannot see the point of your exercise.
you are trying to add what clicking on the prices already does….but maybe i’m missing something
you can do whatever you want with the filters . they are not tied to anything in particular
and there are various filters . whatever you do with them is up to youits the “wppizza-add-ingredients” class you need to add which is tied to the surrounding id’s
look at your elements inspector…>Hmm so with the JQuery method, I would need a script for each menu item
no, but you need to learn about the “each” method (or smilar)
obviously you have to target each one individually….
and the “…..trigger-click” is definitely the wrong class to use.
you need to look the elements (id’s / classes) the individual prices are wrapped inyou must check your server error logs, a 500 error could be absolutely anything
use the actions/filters in the loop templates,
and/or edit the loop template
and/or use jquery
and/or …whatever else you can think of.be creative….
there are (plenty of) action hooks on the orderpage you could use to add additional checkboxes for example to add people to a mailinglist or whatever else you can think of.
just add some jquery/ajax/whatever somewhere I would have thought that does what you need it to do
Be creative…
just use the same id’s classes as in the “original” elements
your main wppizza installation seems corrupt / is missing files.
what version(s) of the plugins are you usingyour whole theme/site seems broken.
there is no closing</body>or</html>which suggests you have some fatal errors somewhere.
turn on debug and investigate -
AuthorPosts