• Resolved hommealone

    (@hommealone)


    I would like to add a menu item that does not show a price and cannot be added to an order from the website. For example…

    Soup of the Day – Please phone to learn about today’s soup.

    (We do NOT want to update the website every day to create daily special items.)

    Any suggestions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ollybach

    (@ollybach)

    you could use the
    “elements” attribute in the shortcode
    https://docs.wp-pizza.com/shortcodes/?section=by-category
    to simply not display prices (you would – probably – need a separate/additional shortcode for this on your page)

    i.e set the element attribute as is the default for your layout chosen and simply omit the “prices” parameter. then set the content/text to display whatever text you want to put there (or add “call for todays soup” or something in the title)

    Thread Starter hommealone

    (@hommealone)

    Thanks very much. This works perfectly (as long as the item can be the first or last one in the category.)

    Here’s what i ended up with:

    
    [wppizza category="starters" noheader="1" exclude="109"][wppizza category="starters" noheader="1" include="109" elements="title,content"]
    

    Your timely responses are greatly appreciated!

    Plugin Author ollybach

    (@ollybach)

    i would have thought a “special item” like this would have it’s own place anyway

    of course, you could also assign this to it’s own category , use the “single” attribute etc etc… many different ways to do this i would think

    as always though: if it works for you in some shape or form, I’m happy ??

    Thread Starter hommealone

    (@hommealone)

    Yes, many different possible ways to do this. That speaks to the versatility of your plugin!

    When you say “single”, you don’t mean “single menu item” do you? (https://docs.wp-pizza.com/shortcodes/?section=single-menu-items)

    Oh, I see; I was missing your note:

    Display Single Menu Item – Note: You can also use all other non-category related attributes as listed in “Categories / Category Loop” above (style, currency position etc)

    Brilliant!

    Thread Starter hommealone

    (@hommealone)

    For anyone reading this in the future:

    
    [wppizza category="starters" noheader="1" exclude="109"][wppizza single="109" elements="title,content"]
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘no-price or non-selectable menu item’ is closed to new replies.