SnipcartEngine..::..AddAttributes Method (WebControl, ISnipcartItem, Boolean, List<(Of <(<'String>)>)>)
   Add attributes to the web button to enable it for Snipcart.
   
                
    Namespace: 
   AdvantageCSP.Snipcart.EngineAssembly: AdvantageCSP.Snipcart (in AdvantageCSP.Snipcart.dll)
Syntax
public static Object AddAttributes( WebControl control, ISnipcartItem snipcartItem, bool validate, List<string> attributesToAdd )
Parameters
- control
 - Type: WebControl
The WebControl that called this method 
- snipcartItem
 - Type: AdvantageCSP.Snipcart.Interfaces..::..ISnipcartItem
The product item that implements the ISnipcartItem interface 
- validate
 - Type: Boolean
Determine if the validation routine should be called before rendering 

