PHP Class ProductVariation, silvershop-core
Provides a means for specifying many variations on a product.
Used in combination with ProductAttributes, such as color, size.
A variation will specify one particular combination, such as red, and large.
Afficher le fichier
Open project: burnbright/silverstripe-shop
Class Usage Examples
Méthodes publiques
Method Details
IsInCart()
public méthode
*
Returns if the product variation is already in the shopping cart.
*
Returns the order item which contains the product variation
canPurchase()
public méthode
createItem()
public méthode
getCMSFields()
public méthode
getCategories()
public méthode
getCategoryIDs()
public méthode
getTitle()
public méthode
onBeforeWrite()
public méthode
Save selected attributes - somewhat of a hack.
sellingPrice()
public méthode