Sunnysideup\EcommerceDelivery\Modifiers\CountryRegionDeliveryModifier
Synopsis
class CountryRegionDeliveryModifier
extends PickUpOrDeliveryModifier
{
- // Inherited members from PickUpOrDeliveryModifier
- protected string $debugMessage;
- // methods
- public void getCMSFields()
- public void TableSubTitle()
- public void getTableSubTitle()
- // Inherited methods from PickUpOrDeliveryModifier
- public void i18n_singular_name()
- public void i18n_plural_name()
- public void getCMSFields()
- public void setOption()
- public void runUpdate()
- public void ShowForm()
- public void ShowFormInEditableOrderTable()
- public Form getModifierForm()
- public void ShowInTable()
- public bool CanBeRemoved()
- public void CartValue()
- public void getCartValue()
- public void IsChargeable()
- public void requireDefaultRecords()
- public array updateForAjax()
- protected PickUpOrDeliveryModifierOptions; LiveOptionObject()
- protected bool useWeight()
- protected DataList LiveOptions()
- protected void LiveType()
- protected int LiveOptionID()
- protected string LiveName()
- protected float LiveSubTotalAmount()
- protected null|PickUpOrDeliveryModifierOptions LiveSerializedCalculationObject()
- protected void LiveRegionAndCountry()
- protected float LiveCalculatedTotal()
- protected float LiveTotalWeight()
- protected string LiveDebugString()
Hierarchy
Members
protected
- $debugMessage — string
Methods
public
Inherited from Sunnysideup\EcommerceDelivery\Modifiers\PickUpOrDeliveryModifier
protected
- LiveCalculatedTotal()
- LiveDebugString() — returns an explanation of cost.
- LiveName()
- LiveOptionID() — Precondition : There are always options available.
- LiveOptionObject() — returns the current selected option as object.
- LiveOptions() — Returns the available delivery options based on the current country and region for the order.
- LiveRegionAndCountry() — description of region and country being shipped to.
- LiveSerializedCalculationObject() — description of region and country being shipped to.
- LiveSubTotalAmount() — cached in Order, no need to cache here.
- LiveTotalWeight()
- LiveType()
- useWeight() — works out if Weight is applicable at all.
public
- CanBeRemoved()
- CartValue() — NOTE: the function below is HACK and needs fixing proper.
- IsChargeable()
- ShowForm() — standard Modifier Method.
- ShowFormInEditableOrderTable() — Should the form be included in the editable form on the checkout page?
- ShowInTable()
- getCMSFields()
- getCartValue()
- getModifierForm()
- i18n_plural_name()
- i18n_singular_name()
- requireDefaultRecords()
- runUpdate() — updates database fields.
- setOption() — set the selected option (selected by user using form).
- updateForAjax()