evoShop.Item.get( name )

arguments:

  • name: name of item attribute to return the value of
  • returns:

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