If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / 1054 Unknown column 'p.products_sell_quantity' in 'field list'

1054 Unknown column 'p.products_sell_quantity' in 'field list'

Started by nycvideotransferserv on 23 Feb 2011, 4:57 PM · Views: 1,201

Results 1 to 3 of 3
23 Feb 2011, 4:57 PM
#1
Join Date:
Feb 2011
Posts:
1
Plugin Contributions:
0

1054 Unknown column 'p.products_sell_quantity' in 'field list'

Hi

I keep getting this error that says

1054 Unknown column 'p.products_sell_quantity' in 'field list'
in:
[select pd.products_name, pd.products_description, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_virtual, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id, p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute, p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.product_is_always_free_shipping, p.products_qty_box_status, p.products_quantity_order_max, p.products_sort_order, p.products_discount_type, p.products_discount_type_from, p.products_price_sorter, p.master_categories_id, p.products_sell_quantity, p.products_less_quantity, p.products_coupon from zen_products p, zen_products_description pd where p.products_id = '8' and p.products_id = pd.products_id and pd.language_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

9 Aug 2011, 8:23 AM
#2
eranariel avatar

eranariel

Zen Follower

Join Date:
Dec 2010
Location:
NYC
Posts:
104
Plugin Contributions:
4

Re: 1054 Unknown column 'p.products_sell_quantity' in 'field list'

I have received the same error... I am copying a site and its contents to a new site - to a clean database ... I could just port over the old database as well and revise the configure.php files accordingly, however, I am up for the challenge here.. I used Easy Populate to populate the products... however, I need to manually adjust the attributes from new... How do I insert these fields into the database?

Please advise,

Eran

9 Aug 2011, 11:30 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: 1054 Unknown column 'p.products_sell_quantity' in 'field list'

There is a mod called "Buy one Get one free" that uses this field. You need to run the sql script to create the database fields as part of the installation of this mod.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.