WPPizza – A Restaurant Plugin for WordPress › Support › User contributions › Adding custom items to basket
- AuthorPosts
- 17 June, 2014 at 9:27 am #4082Florian
Hi
I’m not sure if this already exists, I couldn’t find it in the snippets forum so I’m posting this here.
I would like to add custom items to the users shopping cart on the order confirmation page. Obviously it should also update the total etc.
Example:
– The user wants to receive an sms for confirmation when the order leaves the restaurant.
– Additional shipping fees for selected items in the basketDo you already have examples how to do this or do I have to study the whole code and implement it myself? If I have to develop this myself I might publish it here.
Thanks
Florian17 June, 2014 at 10:39 am #4086Hi
re additional shipping fees: you could use the wppizza_filter_order_summary_session filter (you will have to recalculate totals etc again though)
see here https://www.wp-pizza.com/topic/filter-options/
re SMS: a good starting point would probably be here:
https://www.wp-pizza.com/topic/run-action-on-status-update-admin/(you will probably want to run an ajax function that does what your particular sms gateway needs it to do when the status changes to “processed” for example)
- AuthorPosts
- The topic ‘Adding custom items to basket’ is closed to new replies.