jigga1234 Posted November 24, 2009 Share Posted November 24, 2009 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 More sharing options...
jigga1234 Posted November 24, 2009 Author Share Posted November 24, 2009 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 from $specials_split = new splitPageResults($specials_query_raw, MAX_DISPLAY_SPECIAL_PRODUCTS); to $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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.