このファンクションは非推奨です。
ファンクション
asumil_total_price_wishlist( string $out = '' )
お気に入りリストの合計金額を返す、または出力する
パラメータ パラメータ
- $out
(文字列) (任意)
ファイル: src/Deprecated/functions.php
function asumil_total_price_wishlist($out = '') {
$price = 0;
$rows = CRUD::getAndBuildWishlistItems();
foreach ($rows as $row) {
$price += isset($row['price']) ? (int)$row['price'] : 0;
}
if (strtolower($out) === 'return') {
return $price;
}
echo $price;
}
| バージョン | 説明 |
|---|---|
| 3.0.0 | このファンクションは非推奨です。 |