Hyde default ingredients from order summary

WPPizza – A Restaurant Plugin for WordPress Support General Support Hyde default ingredients from order summary

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45219
    davidsidecar
    Participant

      Hi Olly,

      In order history, click in any order to show order details popup where we always see product default ingredients.

      https://ibb.co/5TBDxHV

      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!

      #45221
      Olly
      Admin & Mod

        you 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 ?”

        #45250
        davidsidecar
        Participant

          HI 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!!

          #45266
          Olly
          Admin & Mod

            If 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.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘Hyde default ingredients from order summary’ is closed to new replies.