Webshop: find controls in waf:AddToCart - AddToCartTemplate

Status: Not reviewed. 1 ratings.

I'm not sure what's the best method here. When I populate a product with the "AddToCartTemplate" (waf:AddToCart), I'd like to have an eventhandler, for example LoadCartCommandEventArgs, so that I can find the controls within a product. In this case I wanted to set the text on the button to "sold out" instead of "buy" when loading the product.

(For now I put OnPreRender on the button control to set the text)
Suggested by Helene Svelle

You must login to post comments