Skip to content

Commit

Permalink
gppa-acf-repeater-mapper.php: Updated to include support for mappin…
Browse files Browse the repository at this point in the history
…g an inventory limit for GP Inventory.
  • Loading branch information
spivurno authored Apr 19, 2023
1 parent 4697be8 commit 0fcb12d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gp-populate-anything/gppa-acf-repeater-mapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,13 @@
'value' => rgar( $row, $map['value'] ),
'text' => rgar( $row, $map['label'] ),
'price' => rgar( $row, $map['price'] ),
'inventory_limit' => rgar( $row, $map['inventory_limit'] ),
);
} else {
$choices[] = array(
'value' => rgar( $row, $map['value'] ),
'text' => rgar( $row, $map['label'] ),
'inventory_limit' => rgar( $row, $map['inventory_limit'] ),
);
}
}
Expand Down

0 comments on commit 0fcb12d

Please sign in to comment.