Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Featured Products Infobox V1.3 Assistance Please


JMcCutcheon

Recommended Posts

Posted

I've gone through the instructions one more time and can't see what I'm missing.

 

Here is what is showing up where the featured products should show up:

 

1064 - You have an error in your SQL syntax near 'rand() DESC limit 3' at line 1



select p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from products p left join specials s on p.products_id = s.products_id left join featured f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand() DESC limit 3



[TEP STOP]

 

Any ideas? Thanks.

 

Jackie

Posted

Just wanted to add that I noticed the featured_products.php page appears: http://www.briqsholidayspecialties.com/fea...ed_products.php

 

After going through all the code again, I'm still receiving this error on the main page:

 

1064 - You have an error in your SQL syntax near 'rand() DESC limit 6' at line 1



select p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from products p left join specials s on p.products_id = s.products_id left join featured f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand() DESC limit 6



[TEP STOP]

 

I'm willing the pay for assistance. Thanks in advance.

 

Jackie

Posted

Hi,

 

I'm back to working on this project:

 

http://www.briqsholidayspecialties.com

 

Still receiving the following error:

 

1064 - You have an error in your SQL syntax near 'rand() DESC limit 6' at line 1



select p.products_id, p.products_image, p.products_tax_class_id, s.status as specstat, s.specials_new_products_price, p.products_price from products p left join specials s on p.products_id = s.products_id left join featured f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by rand() DESC limit 6



[TEP STOP]

 

If anyone would have time to take a look - I've posted a zip file here:

 

http://www.briqsholidayspecialties.com/zip...s/feat_briq.zip

 

Again - willing to pay.

 

Thank You.

 

Jackie McCutcheon

Archived

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

×
×
  • Create New...