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: Import variants inventory level by Size and Color

  1. #1
    pablo is offline Junior Member
    Join Date
    Sep 2009
    Posts
    5

    Default Import variants inventory level by Size and Color

    I use 8x and was wondering how you import variants invetnory level by Size and/or Color. I have TrackInventoryBySizeAndColor app config value set but when importing the product list in the first place and I need to break down the inventory by size at least (and maybe by color).
    If I have a list of items like this

    DESICRIPTION COLOR XS SM M L QTY
    Summer Coat BLACK 1 2 2 1 6
    Winter Coat BLACK 1 2 2 1 6

    How do I import the quantity per size. For pricing you can put the additional cost of an item beside it's size in square brackets, can you do something similar for inventory?

    Thanks,
    Pablo.

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

    Default

    The excel import file does not support uploading inventory by size and color. However, this can be accomplished via import using our Web Services Automation Interface (WSI). The syntax for doing so would be
    Code:
    <AspDotNetStorefrontImport>
    	<Product Action="Update" ID="integer">
    		<Variants>
    			<Variant Action="Update" Name="Summer Coat">
    				<InventoryBySizeAndColor MatchKey="SizeColor">
    					<Inv Size="XS" Color="BLACK" Quantity="1" />
    					<Inv Size="SM" Color="BLACK" Quantity="2" />
    					<Inv Size="M" Color="BLACK" Quantity="2" />
    					<Inv Size="L" Color="BLACK" Quantity="1" />
    				</InventoryBySizeAndColor>
    			</Variant>
    			<Variant Action="Update" Name="Winter Coat">
    				<InventoryBySizeAndColor MatchKey="SizeColor">
    					<Inv Size="XS" Color="BLACK" Quantity="1" />
    					<Inv Size="SM" Color="BLACK" Quantity="2" />
    					<Inv Size="M" Color="BLACK" Quantity="2" />
    					<Inv Size="L" Color="BLACK" Quantity="1" />
    				</InventoryBySizeAndColor>
    			</Variant>
    		</Variants>
    	</Product>
    </AspDotNetStorefrontImport>
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    pablo is offline Junior Member
    Join Date
    Sep 2009
    Posts
    5

    Default

    Thanks George, will give that a go.