Added accept_digging to preorder

This commit is contained in:
Frank Schubert
2023-04-27 14:20:14 +02:00
parent dd0d97c128
commit a2b519f6f3
6 changed files with 17 additions and 1 deletions
@@ -315,6 +315,10 @@ class PreorderController extends mfBaseController {
if($r->accept_marketing == 1) {
$data['accept_marketing'] = 1;
}
$data['accept_digging'] = 0;
if($r->accept_digging== 1) {
$data['accept_digging'] = 1;
}
$data['price'] = ($r->price) ? Layout::commaToDot($r->price) : 0;
$data['price_setup'] = ($r->price_setup) ? Layout::commaToDot($r->price_setup) : 0;