Forum Replies Created
-
AuthorPosts
-
>added the function from here …
that function does nothing when used with wppizza v3.x+ – that link you posted is almost 3 years old.
I have updated that particular post now though to make sure it’s obvious that this is old stuff.
Thanks for flagging it ….(unless of course you are still using wppizza 2.x, but then you would not have an option to “enable notification” in the first place…, so I would make an educated guess you are on 3.x)
>I have enabled notifications on all admin pages,
can you post a screenshot of your settings ?says it pretty much all there .
somewhere in your email settings (templates perhaps or email in your wppizza->order settings)
you have set an email of [email protected] that does not exist/is unroutableyou’ll have to speak to the mail administrator of that domain to fix that (or of course not send to that email in the first place)
> Is there anyway to use this function again?
No. this has been removed as of 3.5 (internal functions are subject to change without notice and really should not be used for precisely that reason)
See also changelog of v3.5 in the pluginrefer to:
https://docs.wp-pizza.com/developers/?section=function-wppizza_get_orders
for a replacement that should be used by 3rd party developmentdepends on what exactly you want to accomplish.
the easiest though would be to simply add some css declarations
i.e something like
#wppizza-article-prices-xxx {display:none}
or even (better probably, but depends on exactly how your prices are set up)
#wppizza-article-sizes-xxx {display:none}where the ‘xxx’ equals the id of the menu item.
(might also want to have a look at https://docs.wp-pizza.com/developers/?section=frontend-css-styles-layout )if you truly want to not display them at all (i.e not even in the sourcecode of the page) you’ll have to get your hand s dirty with some wordpress/php coding/filtering
(if you need that and are happy to do some php coding, let me know and i’ll find some filter that allows you to do that)I’m afraid, there’s no add-on or option in the plugin that would currently enable such a thing, so it would have to be programmed by someone
(But generally speaking, sure, it’s possible)
>So It seems that for some reason that a id 0…
what happens if you duplicate the one with id 0 and subsequently delete the one with ID 0 ?
(there *might* be anempty()check somewhere – which would also return true if the id == 0 – that should beisset()instead ) ?>product x …
simply add multiple textbox custom groups i.e
WPPizza -> Ingredients -> Custom Groups -> Select Group to Customise [– add textbox to item –] -> etc>product y…
i dont understand what you want there exactly to be honest – especially the “or” bit – but perhaps the demos here (with screenshots) will give you an idea of how things work (comment 1 + 2 are as above)
https://demo.wp-pizza.com/wppizza-add-ingredients/our-menu/user/> retrieve the currently applied discount by its ID…
you could do something like thisadd_action('init', 'myprefix_discountids_applied'); function myprefix_discountids_applied(){ /*** session are per blog if multisite ***/ if(is_multisite()){ global $blog_id; $session_key = 'wppizza_cad_'.$blog_id; }else{ $session_key = 'wppizza_cad'; } $discount_ids = $_SESSION[$session_key]['discount']; /* now do something with the $discount_ids */ }>if I could determine if there are more than one discounts at play…
the above will tell you if there’s one or more at play (as there will be none, one, or many id’s in that array)>apply your own logic…
i suppose i could add a filter somewhere, however, if you want to apply your own logic you could also simply add your own discount(s) depending on your logic, using thewppizza_fltr_discountfilter – which is essentially what the plugin does – along these linesadd_filter('wppizza_fltr_discount', 'myprefix_apply_discounts',10, 3); function myprefix_apply_discounts($discountvalue, $session_items, $order_parameters){ /* alter the current discount value as required */ return $discountvalue; }thanks
will be fixedHave you looked in your (javascript) console for errors ?
Have you enabled debug – https://docs.wp-pizza.com/troubleshooting/ – and checked your debug log ?>it won’t happen again for any of your customers.
absolutely.
the problem is finding the exact steps to reproduce this though….have you tried getting the same result (error if you will) with all other non-wppizza and non-wpml plugins turned off ?
>I noticed that this happens when browsing the products of wppizza step in the various languages to complete the description of the products.
>I don’t know if this makes sense to you, I’ll open a ticket on wpml to see what they say.my guess would be it has something to do with an ajax request of some sort
this may be a wppizza issue, may be a wpml issue. My honest guess would be it’s somewhere in the wppizza plugin.
I’ll have to try and reproduce this though somehow first…..
As mentioned , if you can reliably reproduce this , it would be great to get a step by step walkthrough so to speak so I can see where and how this happensPS: what version of wppizza btw ?
Wppizza does not even come with any russian language files, so the first question is, where do the russian language strings come from ?
secondly, what other plugins do you have installed. Assuming you are using WPML – does this also still happen if you dis-able *ALL* other plugins except WPML and WPPizza and use some default theme ?
thirdly, is this reproducible ? i.e is there something particular one does / can do that causes this to happen every time ?
> … Do you take over the project? ….
Sorry, I do not offer any customisations / custom coding ( https://docs.wp-pizza.com/faqs/?section=customisation )> … Redsys is the way to integrate it …
There is a skeleton gateway in “/wppizza/add-ons/gateway-development/” you can use to develop your own gateway implementation depending on the API / documentation of the gateway you want to integrateyou need to simply add another (non-preselect) custom group where you set the restrictions for your cheese
can you post a screenshot of your settings please
Glad to hear it
you can use the “elements” attribute in the shortcode to change the “order of appearance” of things
https://docs.wp-pizza.com/shortcodes/?section=by-category
i.e
[wppizza category=’vandaag’ noheader=’1′ elements=’title, thumbnail, content, prices’](or – as you are not using any thumbnails it seems – just ‘title, content, prices’ should also suffice I would think)
PS: i would not think you necessarily need to create a new category , but simply set the required items as opposed to a whole category
or somewhat copy the discount settings but setting different required menu items there . etc etccreating a different category would probably also work – perhaps using the shortcode like [wppizza category=”cat1, cat2″] to display them together
just some ideas of the top off my head here
sure.
the idea is that if you buy 3 at a fixed price, you should also be able to buy 6 at 2x the fixed price
after all, i could just send you 2 separate orders – with more work for you – and i’ll get the discount 2 times regardlessNOT enabling MultiApply does not make too much sense to me in the first place to be honest (but it’s there if someone really wants it and there may well be circumstances/setups where this might be totally appropriate too)
-
AuthorPosts