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 2 of 2

Thread: Import Products with Customer Levels

  1. #1
    netprocity is offline Member
    Join Date
    Dec 2008
    Posts
    80

    Default Import Products with Customer Levels

    Hello,

    I am building a store with over 6500 products. I am going to use the import products spreadsheet which the template has been provided inside the manual for ASPDNSF. However, these products need to be configured with Customer Levels on them. I can't seem to figure out how to do this, except to go one by one through 6500 products and update them in admin. If I look at the DB it's not any easier as the products customer level table is separate and requires the product id and then you can insert the customer level.

    Does anyone have any ideas how I can do this without spending hours and hours going through each of the products one by one to enter the customer level?

    Thanks
    James

  2. #2
    esedirect is offline Senior Member
    Join Date
    Feb 2010
    Location
    Norfolk, UK
    Posts
    343

    Default

    If I were doing this I would export the Product table (probably only ProductID and Name) to Excel. Then put your CustomerLevelID on the same row, and use Excel to create the insert statements for the ProductCustomerLevel table. And then run the resulting insert statements in the database.
    http://www.esedirect.co.uk
    --------------------------------------------------------------------------
    Using MS 9.2.0.0 with the following customisations:

    Lightbox/Fancybox enlarged images;
    Auto-suggest searchbox;
    Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
    Failed transactions emailed via trigger;
    Custom app to show basket contents when customer online;
    Orders pushed through to accounting systems.

    All the above without source!