Print Page | Close Window

view all orders per page

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=4667
Printed Date: 19-May-2024 at 11:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: view all orders per page
Posted By: Ludwig
Subject: view all orders per page
Date Posted: 10-August-2011 at 2:52pm
is there a way to change how much results it shows per page when you click view all orders? or how to change the default date range on this?



Replies:
Posted By: Ludwig
Date Posted: 11-August-2011 at 3:41pm
does anyone know how to do this? i need to change the view all orders page so it shows like 100 results per page, right now it's like 20 per page or something... thanks


Posted By: hhsign
Date Posted: 11-August-2011 at 8:05pm
I would also be interested in this.


Posted By: Ludwig
Date Posted: 12-August-2011 at 10:39am
hhsign, we can make it if we try - just the two of us... you and I.


Posted By: Ludwig
Date Posted: 17-August-2011 at 1:53am
Is this possible? It would make life so much easier.


Posted By: Hamish
Date Posted: 17-August-2011 at 6:27am
Hi, I will look into this later today.

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Ludwig
Date Posted: 17-August-2011 at 7:16pm
seems like this must be specified somewhere, i.e. how many results per page.


Posted By: Hamish
Date Posted: 17-August-2011 at 9:20pm
Hi Ludwig,  Yes indeed it is. It's set in file resultsAdvancedAll.asp which is in your pcadmin folder (which you should definately have renamed ! )

Look for line :-

Const iPageSize=50

And change it to your desired value - Before you do read the page linked to by my forum signature :-)
Also, don't forget, the more orders on a page the slower it will load and the more scrolling you will need to do on the page.   

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Ludwig
Date Posted: 18-August-2011 at 12:43am
OMGGGGG, Perfect... I actually need one other thing - on this same page you can set the date range, but I can't how to do it on this results.AdvancedAll.asp page - I want to set it to like 4 weeks range, right now it's 2 weeks range... can you help?! And where is your donation link!


Posted By: Hamish
Date Posted: 18-August-2011 at 4:12am
In the same file, look for :
    dtFromDate=Date()-13

and change to the number of days you would like to cover. The same caveat applies.



-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Ludwig
Date Posted: 18-August-2011 at 11:38am
FREE AT LAST.... FREEEEEE AT LASSSSSST - THANK GOD ALMIGHTY WE ARE FREE AT LAST !!


Posted By: Hamish
Date Posted: 18-August-2011 at 12:57pm
Happy to help :-)

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net