\DownloadableCheckoutExtension
Synopsis
class DownloadableCheckoutExtension
extends Extension
{
- // methods
- public Boolean onlyDownloadable()
- public void onBeforeDelivery()
- public void onBeforeUseMemberAddress()
- public void updateBillingForm()
Hierarchy
Extends
- Extension
Methods
public
- onBeforeDelivery() — If the shopping cart only contains downloadable products, we don't need to set delivery details, so we will copy the billing details automatically
- onBeforeUseMemberAddress() — If we use a
- onlyDownloadable() — Check to see if the shopping cart only contains downloadable products.
- updateBillingForm() — If the shopping cart only contains downloadable products, we don't need to set delivery details, so we will copy the billing details automatically