Sunnysideup\EcommerceAnyPriceProduct\AnyPriceProductPage
- Author: nicolaas [at] sunnysideup.co.nz
Synopsis
class AnyPriceProductPage
extends Product
{
- // members
- private static string $table_name = 'AnyPriceProductPage';
- private static array $db = ;
- private static array $defaults = ;
- private static array $field_labels = ;
- private static array $field_labels_right = ;
- private static string $singular_name = 'Any Price Product';
- private static string $plural_name = 'Any Price Products';
- private static string $icon = 'ecommerce_anypriceproduct/images/treeicons/AnyPriceProductPage';
- private static string $description = 'Generic product that can be used to allow customers to choose a specific amount to pay.';
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public void canCreate()
- public void canPurchase()
- public void getCMSFields()
Hierarchy
Extends
- Sunnysideup\Ecommerce\Pages\Product
Members
private
- $db
- $defaults
- $description — string
- $field_labels
- $field_labels_right
- $icon
- $plural_name
- $singular_name
-
$table_name
### @@@@ START REPLACEMENT @@@@ ### OLD: private static $db (case sensitive) NEW: private static $table_name = '[SEARCH_REPLACE_CLASS_NAME_GOES_HERE]';