Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

splitPageResults for categories.php?


Guest

Recommended Posts

Posted

Hello all. I've been really enjoying the modularity of osC. I'm able to modify so many things, with minimal head banging.

 

However, there is one thing I would like to change that will take some work and I want to see if anyone knows of an easier way to do this:

 

manufacturers.php uses a splitPageResult object when displaying them. I want the same functionality for my categories/products. I ahve a record store and the number of products in a given category are like 500+.

 

I've already modified the search to pull things out based on artist name and album title, but now I want it to limit the search results on a page.

 

Am I missing something? Is there a switch to flip that makes categories.php like manufactuers.php?

Why not?:twisted: <lol>

 

Thanks for your help.

bART

Posted
Am I missing something?

 

No your not missing anything :)

 

The reason there is no split page on the categories file is due to the fact that the page is made up from 2 seperate queries. 1 for the categories and 1 for the products.

 

This makes it very difficult to use the split page class. The only way of really doing it would be to split the products and categories into seperate files.

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Posted

Yes, so I was missing something obvious. Ok then - I guess it's not happening without splitting the files.

 

Sounds like alot of work... more important stuff to do first.

 

bART

  • 5 months later...
Posted
Am I missing something?

 

No your not missing anything :)

 

The reason there is no split page on the categories file is due to the fact that the page is made up from 2 seperate queries. 1 for the categories and 1 for the products.

 

This makes it very difficult to use the split page class. The only way of really doing it would be to split the products and categories into seperate files.

 

-----

 

Can you please tell me how to split or send me split files for products and categories. It would be very helpful.

 

Regards,

 

Emre

Archived

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

×
×
  • Create New...