Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sales person commision update


nana

Recommended Posts

hi

i have creatd a table called commisions. It has three fields

1-salesperson_id

2-salesperson_commision

3_salesperson_sales

i need this table updated when an order is placed

if salesperson_id matches to my tracking variable called $sper

then

add 45% of order to salesperson_commision.

add 1 to salesperson_sales.

if someone can help me with the code and which file to put it in

thank you

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...