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: Extracting list of products mapped to manufacturer

  1. #1
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default Extracting list of products mapped to manufacturer

    We are in the process of upgrading to version 8 of StoreFront. Meanwhile we are trying to extract a list of products assigned to a manufacturer.

    I have tried looking in the SQL tables but cannot see this under the manufacturer, product and category but only see these themselves not the product.

    Anyone know how to do this without using WSI (we have got this working but it does not extract what we need)

    Cheers!

  2. #2
    John Reasons is offline Senior Member
    Join Date
    Oct 2009
    Posts
    119

    Default

    Could you specify exactly what output you are looking for? I would definitely take a look at it just need that information.

  3. #3
    mbertulli is offline Senior Member
    Join Date
    Aug 2008
    Posts
    243

    Default

    The SQL for this would be something like the following:

    Select p.* From Product p
    inner join ProductManufacturer pm on p.ProductID = pm.ProductID

    Or if you have lots of variants

    Select p.*, pv.* From Product p
    inner join ProductVariant pv.ProductID = p.ProductID
    inner join ProductManufacturer pm on pm.ProductID = p.ProductID
    Where pm.ManufacturerID = whatevertheidis
    Matthew Bertulli
    Demac Media
    mbertulli@demacmedia.com
    Custom Web Design & E-Commerce Development
    AspDotNetStoreFront Platinum DevNet Partner
    ----

    Custom Skinning & Design
    Web Services Integration
    Custom Reporting
    Salesforce.com eCommerce AspDotNetStoreFront Integration