Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: What do we sell report

  1. #1
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Exclamation What do we sell report

    We were looking for a report that could show us based on manufacturer what our best sellers are.

    However we do not have any idea where to start, should it be done in a feed so we can put it into an excel spreadsheet easily so create an ASP custom report.

    What we want is to select a manufacturer, a date range and then see at a glance how many of each product (and variants they would have to be all split up) what we sell most of. Even better if we could view our profit on each item as well (That would be the easiest part, just take away actual cost from the price.)

    Any help or code snippets would be great, thanks a lot in advance.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  2. #2
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    Seems custom reports are extremely static sadly. Best I could do is say now back 2 months if I wanted it to be more dynamic. In the end we used SQL statements modified from the best sellers XML query.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  3. #3
    webopius is offline Senior Member
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    440

    Default

    Hi

    This type of report is definitely possible to incorporate within the admin pages. We've done reports such as 'Sales by Cost Centre' (for accounts), 'Country Sales report' (Select your countries, then breakdown of orders by country including average sale size per customer etc).

    The general approach is to write a new stored procedure that takes the parameters you need and returns the results in a basic tabular format (or XML) - in your case, it will probably be manufacturer, date range and possibly category ids to report on.

    Then write a new admin page that presents the various options to the user, calls the procedure and then works its way through the result set to present a formatted report.

    Or...

    Look at a product such as Crystal Reports and develop your reports in a slightly less programmatic way.

    Adam