Sunnysideup\Ecommerce\Pages\OrderConfirmationPage::get_email_link
Return a link to view the order on this page.
Signature
public function get_email_link(int|string
$orderID,
[string
$emailClassName = OrderStatusEmail::class,
[boolean
$actuallySendEmail = false,
[integer
$alternativeOrderStepID = 0]]] )
Parameters
$orderID
—
object
- ID of the order
$emailClassName
—
string
- - the type of email you want to send
$actuallySendEmail
—
boolean
- - do we actually send the email
$alternativeOrderStepID
—
integer
- - OrderStep to use
Returns
- string
- (URLSegment)