Sunnysideup\Ecommerce\Pages\OrderConfirmationPage
The Order Confirmation page shows order history.
Synopsis
class OrderConfirmationPage
extends CartPage
{
- // members
- private static string $icon = 'sunnysideup/ecommerce: client/images/icons/OrderConfirmationPage-file.gif';
- private static string $table_name = 'OrderConfirmationPage';
- private static array $db = ;
- private static array $defaults = ;
- private static array $casting = ;
- private static string $singular_name = 'Order Confirmation Page';
- private static string $plural_name = 'Order Confirmation Pages';
- private static string $description = 'A page where the customer can view her or his submitted order. Every e-commerce site needs an Order Confirmation Page.';
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
- public bool canPublish()
- public void customFieldLabels()
- public array fieldLabels()
- public FieldList getCMSFields()
- public static string find_link()
- public static string get_order_link()
- public static string get_email_link()
- public string getOrderLink()
- public DataObject CurrentCheckoutStep()
- public void requireDefaultRecords()
- // Inherited methods from CartPage
- public void i18n_singular_name()
- public void i18n_plural_name()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
- public bool canPublish()
- public FieldList getCMSFields()
- public static string find_link()
- public static string new_order_link()
- public static string copy_order_link()
- public static int|string get_order_link()
- public string getOrderLink()
- public bool IsEcommercePage()
- public string EcommerceMenuTitle()
- public string OriginalMenuTitle()
- public string LinkingMode()
- public string LinkOrSection()
- public string LinkOrCurrent()
- // Inherited methods from OrderCached
- public void setOrderCached()
- public Order|null; getOrderCached()
Hierarchy
Members
private
- $casting
- $db
- $defaults
—
array
Standard SS variable. - $description
—
string
Standard SS variable. - $icon
—
string
Standard SS variable. - $plural_name
—
string
standard SS variable. - $singular_name
—
string
standard SS variable. - $table_name
—
array
Standard SS variable.
protected
- $orderCached — Sunnysideup\Ecommerce\Model\Order
- $orderCachedStatusID — int
Methods
public
- CurrentCheckoutStep() — returns the Checkout_StepDescription assocatiated with the final step: the order confirmation.
- canCreate() — Standard SS function, we only allow for one OrderConfirmation Page to exist but we do allow for extensions to exist at the same time.
- canDelete() — Standard SS method.
- canEdit() — Shop Admins can edit.
- canPublish() — Standard SS method.
- customFieldLabels()
- fieldLabels() — standard SS method for decorators.
- find_link() — Returns the link or the Link to the OrderConfirmationPage page on this site.
- getCMSFields()
- getOrderLink() — Return a link to view the order on this page.
- get_email_link() — Return a link to view the order on this page.
- get_order_link() — Return a link to view the order on this page.
- i18n_plural_name()
- i18n_singular_name()
- requireDefaultRecords()
Inherited from Sunnysideup\Ecommerce\Pages\CartPage
public
- EcommerceMenuTitle()
- IsEcommercePage() — tells us if the current page is part of e-commerce.
- LinkOrCurrent() — standard SS method for use in templates.
- LinkOrSection() — standard SS method for use in templates.
- LinkingMode() — standard SS method for use in templates.
- OriginalMenuTitle() — The original menu title of the page.
- canCreate() — Standard SS function, we only allow for one CartPage page to exist but we do allow for extensions to exist at the same time.
- canDelete() — Standard SS method.
- canEdit() — Shop Admins can edit.
- canPublish() — Standard SS method.
- copy_order_link() — Returns the "copy order" link.
- find_link() — Returns the Link to the CartPage on this site.
- getCMSFields()
- getOrderLink() — Return a link to view the order on this page.
- get_order_link() — Return a link to view the order on this page.
- i18n_plural_name()
- i18n_singular_name()
- new_order_link() — Returns the "new order" link.