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

Thread: How do I set dimensions for a product

  1. #1
    sveerapally is offline Junior Member
    Join Date
    Jul 2009
    Posts
    20

    Default How do I set dimensions for a product

    Hi,
    I am trying to add a product with a variant and have dimensions to it in the following way

    <AspDotNetStorefrontImport Verbose='true'><Transaction>
    <Product Action='Add'><Name><![CDATA[Cheesemelter, Countertop]]></Name>
    <ProductType>Generic Product</ProductType><Display><XmlPackage>product.variantsi nrightbar.xml.config</XmlPackage>
    <ColWidth>4</ColWidth><PageSize>20</PageSize></Display>
    <Images><ImageFilenameOverride>VUL1036C.jpg</ImageFilenameOverride></Images>
    <Summary><![CDATA[Cheesemelter, Countertop, Electric, 2.4 KW, four rack positions, 27" long, solid state controls, quartz infrared tube heating elements, s/s exterior and interior finish, 4" adjustable legs]]></Summary>
    <Description><![CDATA[Rack positions=4;Length=27";Electric or Gas=electric;Heat type=quartz elements;Exterior finish=stainless steel]]></Description>
    <MiscText>each</MiscText><SKU>1024C</SKU>
    <Mappings AutoCleanup='True'><Entity EntityType='Category' ID='528'/>
    <Entity EntityType='Manufacturer' Name='Vulcan-Hart Corporation'/>
    </Mappings><Variants><Variant Action='Add'><Name>
    <![CDATA[Cheesemelter, Countertop]]></Name>
    <Description><![CDATA[Rack positions=4;Length=27";Electric or Gas=electric;Heat type=quartz elements;Exterior finish=stainless steel]]></Description>
    <Price>3402</Price><IsTaxable>True</IsTaxable><MSRP>3402</MSRP>
    <Weight>75</Weight>
    <Dimensions>19.25x27x17.13</Dimensions>
    <Inventory>0</Inventory><Published>True</Published><ExtensionData2>0</ExtensionData2><ExtensionData3>0</ExtensionData3><ExtensionData4>1250.39</ExtensionData4></Variant></Variants></Product></Transaction></AspDotNetStorefrontImport>

    But I dont know the reason, I could still see the value as 0x0x0 in the database and front end. Please help me.

    Thanks,
    Shyam

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

    Default

    Use this syntax
    Code:
    <Dimensions>
        <Height></Height>
        <Width></Width>
        <Length></Length>
    </Dimensions>
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    sveerapally is offline Junior Member
    Join Date
    Jul 2009
    Posts
    20

    Default

    Thanks, Its working now when I used height,width and lenght elements.

  4. #4
    chainsaw is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9

    Default

    Where exactly did you edit this? What XML page?

    I'm trying to make it so that every product's description includes a height/width/depth table.

    Any help would be greatly appreciated.

  5. #5
    chainsaw is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9

    Default

    This is kind of what I'm trying to accomplish on my page without having to go through and paste in for each product the dimensions.

    http://www.highlifeshop.com/p-630-de...n-trolley.aspx

    This modern, efficient and professional trolley bag is ideal for frequent flyers.
    Weight: 3.8kg
    Dimensions: 46 x 42 x 20cm (18.1 x 16.5 x 7.9ins)