Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

copy product code issue


velvetpixel

Recommended Posts

Posted

I have added the Add-Ons in my sig and all is working as expected except when I go to copy a product I get this error:

 

1136 - Column count doesn't match value count at row 1
insert into products (products_quantity, products_model,products_image, products_price, products_msrp, products_cost, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('99', 'abw-045-0302', 'products/045/0045-0302-00-box-top.jpg', '63.0000', now(), null, '1.00', '0', '1', '85')

 

My products table has these columns:

products_id

products_quantity

products_model

products_image

products_price

products_msrp

products_cost

products_date_added

products_last_modified

products_date_available

products_weight

products_status

products_tax_class_id

manufacturers_id

products_ordered

 

So products_id, products_last_modified and products_ordered are not in that insert.

 

Any ideas why the column mismatch and how to fix?

 

What file contains the product copy functionality?

Archived

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

×
×
  • Create New...