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: WSI & Product Import / Multi-Image

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

    Default WSI & Product Import / Multi-Image

    We're using WSI to import products from another cart system. Is it possible to import multiple-images (not just thumb/medium/large) via WSI?
    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

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Yep, use the following syntax:

    Code:
    <AspDotNetStorefrontImport>
      <Product Action="Add">
        ...
        ...
        ...
        <Images>
          <Icon Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Icon>
          <Medium Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Medium>
          <Large Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Large>
          <ImageFilenameOverride></ImageFilenameOverride>
          <MultiImage>
            <!-- use index can be 1 to 10, and use blank color for "no color" image -->
            <Icon>
              <Img Index="1" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
              <Img Index="2" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
              <Img Index="3" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
            </Icon>
            <Medium>
              <Img Index="1" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
              <Img Index="2" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
              <Img Index="3" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
            </Medium>
            <Large>
              <Img Index="1" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
              <Img Index="2" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
              <Img Index="3" Color="" Extension="gif|jpg|png|jpeg" Delete="boolean">base64 encoded image data here</Img>
            </Large>
          </MultiImage>
        </Images>
        ...
        ...
        ...
      </Product>
    </AspDotNetStorefrontImport>
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

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

    Default

    Thanks George!
    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