Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shipping qty differ from order quanity


nathanrowe

Recommended Posts

Hi,

 

Could you please help, I need to add the facility to inform the customer how many products have been sent against how many ordered.

 

i.e. sent 50 of 100 products! 50 more to follow.

 

Is there a way to add an input field in the orders section of the admin next to the quanity ordered and then save it to the database for future ref.

 

Any help is appreciated.

 

Regards

 

Nate

Link to comment
Share on other sites

Yes, that can be done but it is not a simple task. It would require you to know how to make changes in the code and database.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Yes, that can be done but it is not a simple task. It would require you to know how to make changes in the code and database.

 

Jack

 

 

Hi Jack, thanks for your time,

 

I know i will need to send and recieve data from the database, I just dont know where to start, All i need to do is have an input field that will copy the order values form the database then if changed store the new vlaues in a new column (products_sent) on the database when updating the order?

 

Sounds so simple!

 

Could you please point me int he right direction?

 

Thank you in advance

 

Nate

Link to comment
Share on other sites

The easiest way is to pick an item already on the page, find that in the file and search through the file for all instances of it, making a copy of it at each instance and renaming that new item to the new field. In the orders table of the database, add the new field.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The easiest way is to pick an item already on the page, find that in the file and search through the file for all instances of it, making a copy of it at each instance and renaming that new item to the new field. In the orders table of the database, add the new field.

 

Jack

 

Hi Jack thanks for your help,

 

I have been able to show all info at user end, but cannot get it to store the data into the database when editing an order?

 

Any ideas? i guess something to do with [qty] or [sent] as i'm using, how do i assign this variable?

 

Thank in advance

 

Nate

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...