IvanYanez10 / Pedidos-por-whatsApp

Aplicacion que permite enviar el pedido por whatsApp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pedidos por whatsApp

Application to make orders and send them by whatsapp API. Design based on Single Page Applications. Created in php lenguage for use in shared hosting. Intended for free use.

User interface desktop version

deploy UI desktop

User interface mobile version

deploy UI mobile

Working

working desktop

Mobile version working

working mobile

How it works

Save the product id and weight selected or pieces selected in a cookie called CartJS created by JS code, if product already exists it added the new weith or piece to older one.

Cookie value

[{"id":1,"kg":100},{"id":5,"kg":100}]

In the form just recover basic information for the user and aditional instructions. When send order clicked use php code to concatenate url from whatsapp api https://api.whatsapp.com/send?phone=phoneNumber&text=contentText

Order structure

order structure

Order sended

order sended

Database structure

Restructuring, working but not scalable

Using MySQL for dev and deploy (shared hosting). Database just save products and categories, dont need to save orders or users info.

order sended

order sended

For the next version

  • Implementing admin dashboard
    • Simply authentication panel
    • Products and categories CRUD
    • Data modification telephone, logo, icon...
  • Easy admin account creation, anyone will be able to use the store on their own servers.
    • Config php file
    • Data base creation
    • Demo store
    • User cretentials settings
  • Unlock pickup and schedule order
  • Improve UI/UX

About

Aplicacion que permite enviar el pedido por whatsApp


Languages

Language:PHP 70.3%Language:JavaScript 19.5%Language:CSS 5.3%Language:Hack 3.1%Language:HTML 1.9%