HomeHome Product Discus... Product Discus...SmithCartSmithCartProduct Variant - sorting - image displayProduct Variant - sorting - image display
Previous
 
Next
New Post
12/28/2009 6:23 PM
 

Reading the section "Adding new Product Attributes" page 58.

How does Sort Order relate to Variant Group, and Variant Name?

If I have Variant Groups "Blue" and "Red" and then I have Variant Names "Small, Medium, and Large" for each Group what exactly is sort order sorting?

The display of Variant Groups? The display of Variant Names within Groups?

Thanks,

 
New Post
12/28/2009 9:59 PM
 

It sorts variant groups and variant names. The product variant table has the following fields: VariantID , VariantGroup , VariantName , PriceAdjustment, WeightAdjustment, SortOrder. The stored procedure that builds and sorts the variant dropdowns is Smith_GetProductVariants and it selects VariantID , VariantGroup , VariantName , PriceAdjustment, WeightAdjustment, SortOrder with an ORDER BY SortOrder


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/30/2009 11:14 AM
 

Okay, what threw me (and the guy who entered in all the variants) was the sorting of the table on the variant setup page.

My thoughts:

For ease of use shouldn't the 'management' table sort order by variant group and then order by? Otherwise it's really ugly to manage multiple variant groups/names. Also, there needs to be an SKU for each variant.

Also, I'm not having any success getting the Variant Image to load in the cart when different variants are selected. That could be because the guy who entered all the variants thought sortorder was for Variant group display. After I've straightened some of them out, I still can't get images to load. Does the image uploaded under product setup override?

Thanks,

 
New Post
12/31/2009 2:23 AM
 

Those are good suggestions will add to the dev roadmap. Regarding variant images, the main product image added in product setup will be the first image loaded on the product detail page, then when the user changes the value of the product variant dropdown the image will change to the variant image you have uploaded if one exists.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartProduct Variant - sorting - image displayProduct Variant - sorting - image display