Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quantity Price Breaks per Product


Whatknot

Recommended Posts

The Error message:

 

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

 

select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_price1, p.products_price2, p.products_price3, p.products_price4, p.products_price5, p.products_price6, p.products_price7, p.products_price8, p.products_price1_qty, p.products_price2_qty, p.products_price3_qty, p.products_price4_qty, p.products_price5_qty, p.products_price6_qty, p.products_price7_qty, p.products_price8_qty, p.products_qty_blocks, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status from products p, products_description pd, products_to_categories p2c where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = '0' order by pd.products_name

 

[TEP STOP]

 

Trying desparately to add quantity pricing to my catelogue and get the above error. Does anyone know how to correct this?

 

Thanks, Anna

Link to comment
Share on other sites

Did you run (import) the MySQL commands that accompany the contribution?

 

-jared

I did the 2 May 2006 compatibility fix to PriceFormatter.php. I'm not sure what MySQL is or does. Also, there is a PHP4 and PHP5 that is not within my scope of knowledge. I know I'm set to PHP4 and probably should be on PHP5 but when I flipped over briefly, I got a different error. The 19 August 2005 contribution has "Use a database editor (e.g., phpMyAdmin) to alter your database:" at the bottom of the manual edits but I looked at the phpMyAdmin and found myself ill equipped to know how to edit it. I'm hopelessly over my head here. I've poured through every help file and forum topic I could think of and it's still not coming together for me. If you could point me to a helpful link, that would be wonderful.

Anna

Link to comment
Share on other sites

If you have access to phpMyAdmin, all you need to do click the SQL tab, then paste in the SQL commands from the readme. Does that help?

 

-jared

Link to comment
Share on other sites

If you have access to phpMyAdmin, all you need to do click the SQL tab, then paste in the SQL commands from the readme. Does that help?

 

-jared

 

I don't know if you helped the person in this thread but you certainly helped my ignorance...

Thanks so much for taking the time to explain what everyone else probably thought any idiot should have known... but us beginners sometimes just don't know even the most basic of things... but we are trying and succeeding with a little help...

 

Gracias,

 

Tim

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...