Jump to content

Dynamic order (like invoice)


houssam_ballout

Recommended Posts

 

Hello,

I need help creating dynamic order (for invoice) in php.

Its like an invoice, where the header is entered once, but the products, quantity are entered more than one time in the same page,

so for example, if the user select a product and click add, it will displayed on a row & a new row become active.

Also, the table called order, how should I manage it?

As it may had multiple products per it?

Any help is much appreciated

 

Thanks

Link to comment
Share on other sites

Do you have much experience with php and MySQL?  What's the most complicated task you've done with them?

 

The reason I ask is that what you are asking is a very general question, and I don't want to give an unhelpful answer.

Link to comment
Share on other sites

Can you show us what you have so far?  I would expect you to have an order table with an order id (primary key), and an "order_products" table with an order id, product id and item count, and perhaps additional information like actual price charged (which may be different if there's a discount, for example).

Link to comment
Share on other sites

What kind of help do you want?  If you want someone to write code for you, you can ask in the freelancing forum.

 

What you are describing sounds good to me.  You can add an additional row each time a new product is added to the order.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.