Merge pull request #23639 from tmulzer/tmulzer-patch-1

FIX #17181 - Product Variant Value drop down not populated
This commit is contained in:
Laurent Destailleur 2023-01-23 02:11:29 +01:00 committed by GitHub
commit e1d839becc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -83,4 +83,4 @@ if ($res == -1) {
exit();
}
print json_encode($res);
print json_encode($res, JSON_PARTIAL_OUTPUT_ON_ERROR);

View File

@ -511,7 +511,7 @@ if (!empty($id) || !empty($ref)) {
<script type="text/javascript">
variants_available = <?php echo json_encode($prodattr_alljson); ?>;
variants_available = <?php echo json_encode($prodattr_alljson, JSON_PARTIAL_OUTPUT_ON_ERROR); ?>;
variants_selected = {
index: [],
info: []