允許返回輸出以顯示在購物車查看購物車頁麵上。
參數
變量 | 類型 | 注意 |
---|---|---|
cartData | array |
響應
返回要在頁麵上輸出的 HTML。
示例代碼
<?php
add_hook('ShoppingCartViewCartOutput', 1, function($vars) {
// Perform hook code here...
});
相關用法
- PHP WHMCS ShoppingCartValidateDomain用法及代碼示例
- PHP WHMCS ShoppingCartValidateCheckout用法及代碼示例
- PHP WHMCS ShoppingCartValidateProductUpdate用法及代碼示例
- PHP WHMCS ShoppingCartValidateDomainsConfig用法及代碼示例
- PHP WHMCS ShoppingCartCheckoutCompletePage用法及代碼示例
- PHP WHMCS ShoppingCartConfigureProductAddonsOutput用法及代碼示例
- PHP WHMCS ShoppingCartCheckoutOutput用法及代碼示例
- PHP String wordwrap()用法及代碼示例
- PHP SimpleXMLElement children()用法及代碼示例
- PHP SplPriorityQueue isCorrupted()用法及代碼示例
- PHP SplObjectStorage key()用法及代碼示例
- PHP SplHeap extract()用法及代碼示例
- PHP String sprintf()用法及代碼示例
- PHP SplPriorityQueue insert()用法及代碼示例
- PHP SplFixedArray key()用法及代碼示例
- PHP String ucwords()用法及代碼示例
- PHP SplFileInfo getRealPath()用法及代碼示例
- PHP SplObjectStorage rewind()用法及代碼示例
- PHP SplFileInfo getPerms()用法及代碼示例
- PHP SplHeap top()用法及代碼示例
- PHP SplFileInfo getExtension()用法及代碼示例
- PHP String substr()用法及代碼示例
- PHP WHMCS SendAdminEmail用法及代碼示例
- PHP WHMCS SubmitTicketAnswerSuggestions用法及代碼示例
- PHP SplObjectStorage count()用法及代碼示例
注:本文由純淨天空篩選整理自whmcs.com大神的英文原創作品 ShoppingCartViewCartOutput。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。