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.
ファイルを表示
Open project: burnbright/silverstripe-shop
Class Usage Examples
Public Methods
Method Details
*
Returns if the product variation is already in the shopping cart.
*
Returns the order item which contains the product variation
canPurchase()
public method
createItem()
public method
getCMSFields()
public method
getCategories()
public method
getCategoryIDs()
public method
onBeforeWrite()
public method
Save selected attributes - somewhat of a hack.
sellingPrice()
public method