Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

Hi I would like on My Hompage to only display 3 special products whereas on my specials page I would like this to display 15 specials per page.


If I change the maximum values on the admin size to either 3 or 15 it effects both the index and the specials page.


I want to create a specials2 page and use this on one of the pages.


Is it as simple as making the correct changes to point to the new page, create the filename defintions and just use a copy of specials.php (renamed) and just change the MAX_DISPLAY_SPECIAL_PRODUCTS to a number? If so how do I add a number rather than the normal command MAX_DISPLAY_SPECIAL_PRODUCTS that goes to the standard amount I have set in maximum values in admin.


Thank you for your time.

Link to comment
Share on other sites

Ignore last post.


Worked it out and did not involve me making any extra pages. I was confusing two files default_specials.php and specials.php


Just changed this line in specials.php



$specials_split = new splitPageResults($specials_query_raw, MAX_DISPLAY_SPECIAL_PRODUCTS);


$specials_split = new splitPageResults($specials_query_raw, 15 );

(as I wanted 15 products)


Thats it sorry for the bother.

Link to comment
Share on other sites


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

  • Create New...