SilverShop\Page\CartPage
View and edit the cart in a full page.
Visitor can continue shopping, or proceed to checkout.
Synopsis
class CartPage
extends Page
{
- // members
- private static array $has_one = ;
- private static string $icon = 'silvershop/core: client/dist/images/icons/cart.gif';
- private static string $table_name = 'SilverShop_CartPage';
- // methods
- public static string find_link()
- public void getCMSFields()
- public void requireDefaultRecords()
Hierarchy
Extends
- Page
Members
private
- $has_one
- $icon
- $table_name
Methods
public
- find_link() — Returns the link to the checkout page on this site
- getCMSFields()
- requireDefaultRecords() — This module always requires a page model.