PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Creation of a small shopping cart

  1. Paolo
    Member

    Hi,

    What I am trying to achieve is the following.

    I am building a small site for a shop that sells take-away food for lunch.

    They have a list of 30 to 40 recipes, and among them each day 4 to 6 are available.

    I handle these recipes as posts, and the ones available any given day are been given the "plat du jour" tag (it is a french site.)

    Now, I'd like to implement a form to order your food in advance, in the morning.

    This form should therefore present 4 to 6 number fields, each one having one of the featured posts titles as its label.

    I searched in the forums, but wasn't able to find a topic that already discussed this.

    Any idea?

    Thanks in advance

    Paolo

    Posted 15 years ago on Friday August 27, 2010 | Permalink
  2. This would require custom code. You would have to pre-populate the selection field with the posts you want. It could pose an issue, however, because you would need to have some way of pulling only the posts you want to return. This is a customization that can't be explained in a quick code snippet.

    How comfortable are you with PHP and using WordPress API hooks? If this is something that may be beyond your capabilities I can recommend a WordPress consultant who has Gravity Forms development experience who could assist you with this.

    Posted 15 years ago on Saturday August 28, 2010 | Permalink