Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sorting Product List


WatchoutMac

Recommended Posts

Hi,

 

Is it possible to change the way product catagories are listed so that they show from top to bottom. For example I set my "Catagories to list per row" = 2 so that I have 2 columns but I want it to sort from top to bottom instead of left to right. Like

 

this is was it does:

 

BookA BookB

BookC BookD

BookE

 

I want it to do:

 

BookA BookD

BookB BookE

BookC

 

Is this possible??

Thanks in advance for your time

Link to comment
Share on other sites

I don't think anyone has contributed such a listing yet.

Basically, keeping with the table layout you need to put an additional table around the first ( (int)(X/2)+1) entries but doing that your books might not stay alligned on the same row.

 

Thus the better option is to whenever you list a book (book I), also list the second book entry next to it (book J) where J = I + (totalnumber displayedperpage /2)

 

Hope this gets you going ...

 

Carine

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...