Would it be possible to add pictures of the…

WPPizza – A Restaurant Plugin for WordPress Support Feature Requests Would it be possible to add pictures of the…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3925
    Mellhost

      Would it be possible to add pictures of the product and/or ingredients in cart? so that if you choose fish a little fish pops up in the cart, just need a small guideline if possible

      #3926
      Olly
      Admin & Mod

        Hi

        possible, yes, very easy, no.

        essentially , you should probably use the following filter (wppizza_cart_item – have a look in the wppizza-cart.php template where it is) and output something (div or whatever) in front of that li element (in the filter you would be able to access the id of that item and select an image accordingly) and then play with the css to align it

        hope that helps

        PS: the next version – hopefully out in a few days – will also – amongst a bunch of other things – have an id on the li element you could use somehow (will be something like id=’wppizza-cart-item-4.2′ where 4 would be the menu item id and 2 is the selected size)

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘Would it be possible to add pictures of the…’ is closed to new replies.