Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Losing data on check out


Recommended Posts

I used the " Add UPC numbers, SKUs, ISBN/ISSN, etc " contribution & it isn't saving the product UPC number on check out. I have already modified the Invoice, Packing Slip & Order pages of the admin's side so show UPC numbers that I manually added to completed orders via PhpMyAdmin. I am able to see the UPC numbers that I manually add, but when I make a test order it isn't show the UPC numbers.


I use Dreamweaver for the following. I used the Find & Replace & searched for products_model & used the option to search the entire site which is the entire OsCommerce Catalog files for the occurrence of products_model & added the other line products_upc.


I went to this file: catalog/product_info.php around line 88 & changed the products_model to products_upc & that does show the UPC of the products, but for some reason it isn't inserting that UPC number to the orders_products table of my database. That table is the same table that I can manually add a UPC number to an order & it will display it in the Admin's side of the site OK. I also added a sample product to my site & it did insert the UPC to the products table.


Any idea's on what might be wrong?




Link to comment
Share on other sites


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

  • Create New...