<SKU>112DVD</SKU> <ProductCategory Action=http://adnsfforums.vortx.local/"Update"> <DisplayOrder>-1989</DisplayOrder> </ProductCategory> </Product>" /> Update ProductCategory table DisplayOrder field using WSI
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: Update ProductCategory table DisplayOrder field using WSI

  1. #1
    MikeI is offline Junior Member
    Join Date
    Jan 2006
    Posts
    25

    Default Update ProductCategory table DisplayOrder field using WSI

    I want to update the DisplayOrder of products, but all I have connecting the display order to the product is a SKU.
    Is there any way to update a product using a SKU?

    Code:
    <AspDotNetStorefrontImport>
    <Product Action="Update">
    <SKU>112DVD</SKU>
    <ProductCategory Action="Update">
    <DisplayOrder>-1989</DisplayOrder>
    </ProductCategory>
    </Product>
    </AspDotNetStorefrontImport>
    Here is the error I receive when running the xml above.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <AspDotNetStorefrontImportResult Version="" DateTime="7/21/2010 4:21:18 PM">
      <Item NodeType="Product" Name="" GUID="" ID="0" ActionTaken="Update" Status="ERROR" Message="No ID or GUID Specified" />
    </AspDotNetStorefrontImportResult>
    AspDotNetStorefront ML 8.0.1.2/8.0.1.2

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Nope, you can only either use GUID or ProductID. See

    e.g.
    <Product Action="Add|Update|Delete|Nuke|Lookup" GUID="uniqueidentifier" ID="integer">