WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Hyde default ingredients from order summary
- AuthorPosts
- 21 October, 2019 at 4:33 pm #45219
Hi Olly,
In order history, click in any order to show order details popup where we always see product default ingredients.
We want to show the product ingredients only when the user modify (add or remove) default ingredients.
Example
product: Nacho Chicharito
ingredients: 1X Carne con Chili, 1x Mix Queso Chédar, 1x Salsa ranchera.CASE I. User leave the product with default ingredients -> in order details only show NACHO CHICHARITO, hyde default ingredients.
CASE II. User add ingredient 1x queso provolone to nacho chicharito -> in order details show NACHO CHICHARITO and only extra ingredient 1x queso provolone.
CASE II. User remove default ingredient 1x mix queso chedar from nacho chicharito -> in order details show NACHO CHICHARITO and two reamining default ingredients: 1X Carne con Chili, 1x Salsa ranchera
How can i set these feature?
Any way with some code?
I need custom code?Regards!
22 October, 2019 at 12:58 pm #45221you cannot hide any selected ingredients as such (i.e if it’s selected, it’s shown)
however, you can add a “No xyz” if a preselected ingredient was de-selected by setting the relevant options in the plugin in the options tab under
“Show de-selected pre-selected ingredients ?”23 October, 2019 at 11:01 am #45250HI Olly,
I got it.
But I dont know my client like this config.
Then, Do you think is possible to do it with custom code?Recently we add redsys payment gateway.
Regards!!
23 October, 2019 at 2:30 pm #45266If it’s selected by the user, it’s shown in the details. There’s no way to change this
The only way to do things vaguely as you describe (assuming I understand you correctly) is to *not* preselect anything, but make ingredients available as “No Salsa Ranchera”, “No Queso Cheddar” etc.
So if someone does not want “Queso Cheddar”they select that option and it shows up as “No Queso Cheddar”, otherwise – the default – would be for it not to be displayed at all. - AuthorPosts
- The topic ‘Hyde default ingredients from order summary’ is closed to new replies.