| @@ -68,9 +68,12 @@ | ||
| 68 | 68 | $query->where(function ($q) use ($country) { |
| 69 | 69 | $q->whereIn('region', [$country, 'all']) |
| 70 | 70 | ->orWhere('region', 'selection'); |
| 71 | 71 | }); |
| 72 | - $query->whereNull('shipping_class_id'); | |
| 72 | + $query->where(function ($q) { | |
| 73 | + $q->whereNull('shipping_class_id') | |
| 74 | + ->orWhere('shipping_class_id', 0); | |
| 75 | + }); | |
| 73 | 76 | }); |
| 74 | 77 | |
| 75 | 78 | // SQLite-compatible substring extraction |
| 76 | 79 | $isSqlite = defined('DB_ENGINE') && DB_ENGINE === 'sqlite'; |