Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Randomizing New Products


zarintasu

Recommended Posts

Posted

I'm wondering how I can randomize the "New Products" section on my main index, rather than having it show monthly and by the order they were added. Any way to do this?

Posted

Also, I don't see this anywhere for selecting which weight measurement system you would like to use..

 

147-catalog-products-03.gif

 

Mine is only measurable in pounds, yet most of the things I sell only weigh in the ounces. It's difficult for some reason to get it to measure correctly. I have to put in -1.80 lbs for it to show the correct equivalent in ounces.

Posted

in catalog/modules/new_products.php @line 21

 

change the order by to

 

order by rand() DESC limit " . MAX_DISPLAY_NEW_PRODUCTS);}

 

hth

 

mark

Regards

 

Mark A Reynolds

Posted

the screenshot in your post is for MS3 ... the current release doesn't support weight settings, you define a unit (kg, lb) in your mind and have to keep it straight all by yourself throughout your store.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

well the problem with that is.. in order for me to have it show the proper weight, i have to put the value of pounds in the negatives.. which i've been using -1.80. then if multiple items are added to the cart, it lowers the shipping price instead of raising it correctly

Posted

ehhh?? negative weight?

 

Please do not tell me you have left the tare weight and % raise as is and are trying to counteract that by negative weight values.

 

admin -> configuration -> shipping & packaging ... set both to 0 if you want to have only item weight show. Of course your packaging WILL weigh something also.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

ahhhh i can't believe i was overlooking that. X_X

 

now i feel really stupid. thanks a lot for your help today though. i really appreciate it :D

Archived

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

×
×
  • Create New...