Forum Replies Created
- AuthorPosts
-
did you enable them to be prefilled ?
have you cleared your cache / cookie s(so you are not looking at old and / or already submitted data ?nothing has changed in relation to this for years so there’s no reason to think this is suddenly broken
(and also doing a quick test here it works just fine )glad to hear it . thanks
(but of course let me know if you get issues)
it’s inbuilt, no plugin needed.
simply enable the fields in wppizza->orderform “use when registering”sorry, for the somewhat late reply.
in any event, the only way you can give a discount for payment gateways that are prepay (i.e credit card payments etc)
is by filtering and forcing discounts (i assume here you know how WordPress filters work, else have a look here https://docs.wp-pizza.com/developers/?section=filters-actions-functions)something like the following.
add_filter('wppizza_filter_gateway_objects', 'myprefix_myfunctionname'); function myprefix_myfunctionname($obj){ /* 5 EUR/USD/whatever discount */ $obj->MOLLIE->discounts['fixed'] = 5; /* and or for 5 percent instead */ $obj->MOLLIE->discounts['percent'] = 5; return $obj; }
as always , use at your own risk . if you discount for credit card payments you may end up your credit card fee being more than your profit margin on a sale depending on how you set things up if you do the above
>they are unable to see the Shipping Address field.
that is correct, because the shipping (aka delivery) address should really be added to the checkout form in the first place
or the plugin will never have any information about where to send the order to . And as that is typically the case, asking for the shipping address again once in the paypal payment screen is superfluous.that said, if you want to enable this anyway for some reason or another , you can do this by using a filter like so (not tested, but should work just fine)
add_filter('wppizza_filter_paypal_parameters', 'myprefix_set_paypal_parameters'); function myprefix_set_paypal_parameters($parameters){ unset($parameters['no_shipping']); /* or instead try one of the below if the above does not work */ //$parameters['no_shipping'] = 0; //$parameters['no_shipping'] = false; return $parameters; }
note: this applies when using the paypal standard redirect implementation (which you are seemingly using)
yup, timezone settings most certainly have an impact too , but it’s not the underlying problem here as it happens
>Olly, now it’s the same problem everyday
that actually makes more sense . as you know – as a temporary workaround at least – you could set the “Timeslot expiration” to zero . as you are only doing full days it makes virtually no difference , unless someone stays on your orderpage for a full day before actually ordering the chances of that are quite small i would think.
yes, i need to fix this and will do so. i also know *where* the issue is, but i want to be sure as much as i can be that the update for this would not break things elsewhere for people that have other settings….(in the next few days i would think i should have this done though in any event)
there’s also more here
https://docs.wp-pizza.com/developers/?section=change-prices-of-menu-items-depending-on-day-of-week
and here
https://docs.wp-pizza.com/developers/?section=prices-output-in-loop(all depends on how complicated you want to make this thing and indeed if you want to actually allow to order in a different currency too)
there is nothing inbuilt, but i suppose you could use the currency filter
https://docs.wp-pizza.com/developers/?section=currency
to change the currency in conjunction with some dropdown/select and xchange rate setting
alongside filtering the (wppizza)post meta values for the wppizza post types posts (what’s what in the meta values should be reasonably obvious from the array keys)>Since there is no specific topic for this plugin I’ll just ask here.
that’s fine (and the right place anyway)>Is it possible to set rewards for each type of gateway
at the current time: no, sorry. and there are currently no plans to implement this in the foreseeable future (not unless this is going to be requested many times)>We also want to be able to make a difference between customers who pay in the shop at pickup and those who pay on-line
you could set discounts/surcharges for each gateway if you wanted, but there is nothing regarding different kind of rewards for different payment methods (see above)thanks
ok, thanks for all the info. i can actually reproduce this now here – that’s a good thing – when i use your settings
just need to find out what causes the issue. probably related to only using whole days as noone else has reported this issue, but my guess would also be that most shops will have some sort of timeintervalls
anyway, we’ll see. cannot give you any ETA though at the moment as to when this will be fixed, as I do not know yet what the issue is, but will keep you postedone more thing (though unlikely to make any difference really, just mentioning it )
your closing times from monday tuesday and thursdays under “Closed” in your “wppizza -> openingtimes” settings are completely unnecessary. you have already set those days as closed in the regular opening timswhen you say
“…it states sunday as 0 and in pre-order sunday is 7…”
where exactly are you seeing this sunday == 7 please ?
there is nothing in the php of the preorder plugin – not that I’m aware of anyway – that makes any reference to any specific weekdaythanks for all the info. one more question though please.
what day of the week do you have “Week Starts On” set to in your general wordpress setting (wp-admin/options-general.php) ?your screenshot is a 404 ?!
can i see a screenshot of
– the setting in the plugin (wppizza->preorder)
– your main opening times (wppizza->openingtimes)
alongside the version of the preorder plugin you hare using ?thanks
25 April, 2021 at 1:28 am in reply to: Replace transaction id with order id on thank y ou page #55616you can change it if you want, but you’ll probably make it unnecessarily complicated for yourself to find an order in your mollie account if any question regarding payment’s should ever arise
all up to you though
24 April, 2021 at 8:22 pm in reply to: Replace transaction id with order id on thank y ou page #55601something along these lines i guess (though unless you are only accepting COD type order , removing transaction id’s may not be a good idea , but up to you of course)
add_filter('wppizza_filter_transaction_details', 'my_custom_transaction_details', 10, 3); function my_custom_transaction_details($tx_keys, $type, $order){ /* get selected (filterable) parameters available keys: [wp_user_id] [order_update] [order_delivered] [notes] [payment_gateway] [payment_status] [user_data] [ip_address] [order_date] [order_id] [payment_due] [pickup_delivery] [payment_type] [payment_method] [transaction_id] [total] */ /* example : adding order id */ $tx_keys[] = 'order_id'; /* example: removing transaction_id (wppizza version <= 3.13.1) */ $_keys = array_flip($tx_keys);//flip key/value $_txid_key = $_keys['transaction_id'];//get key for tx_id unset($tx_keys[$_txid_key]);//remove tx id from array /* example : removing transaction_id as of wppizza 3.13.2+ you will be able to simply do the following instead */ unset($tx_keys['transaction_id']); return $tx_keys; }
- AuthorPosts