H
Expand Minimize
This topic has not yet been rated - Rate this topic

htmRenderVariantsList - Solution Sites Routine

Commerce Server 2002

This function renders all variants of the given product with a radio button in front of the product so the user can select which product variant they want to purchase.

Definition

Function htmRenderVariantsList(
  byVal sIdentifyingVariantProperty,
  byVal rsVariants,
  byVal sSelectedVariantID
)

Parameters

sIdentifyingVariantProperty
A string containing the variant name, passed through to the function RenderRadioButton.
rsVariants
A reference to a Recordset object containing the variants for the given product, passed through to the function listGetVariantPropertiesToShow.
sSelectedVariantID
A string containing the variant ID.

Return Value

A string containing the HTML representation of all the variants of the given product.

Defined in File

product.asp

Routines Called

htmRenderCurrency

listGetVariantPropertiesToShow

RenderRadioButton

RenderTable

RenderTableDataRow

RenderTableHeaderRow

sGetPropertyDisplayName

Called By

Main (product.asp)

Copyright © 2005 Microsoft Corporation.
All rights reserved.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.