evoShop.Item.set( name , value )

arguments:

  • name: name of item attribute to be modified
  • value: value to set attribute of item to
  • 
    var myItem = evoShop.add({ name: "Awesome T-Shirt" , price: 10 , size: "Small" });
    
    myItem.get( "size" ); // Small
    
    myItem.set( "size" , "Medium" );
    
    myItem.get( "size" ); // Medium