Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shopping cart problem


yocousin

Recommended Posts

1054 - Unknown column 'p.products_cost' in 'field list'

 

select p.products_id, pd.products_name, p.products_model, p.products_price, p.products_cost, p.products_weight, p.products_tax_class_id from products p, products_description pd where p.products_id='15' and pd.products_id = p.products_id and pd.language_id = '1'

 

I see this when I add soething to the shopping cart?

 

Running milestone 2.2v1

 

Thanks,

Are we related?

Link to comment
Share on other sites

Have you made any changes? I searched through the database. There is no field called "products_cost". I also searched the whole program for the string "products_cost". It doesn't appear in a fresh download. That's why you're getting the error. I would go to /catalog/includes/classes/shopping_cart.php around line 271, and /admin/includes/classes/shopping_cart.php around line 258, and see if p.products_cost is there. If it is, delete it and see what happens.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...