Skip to content

Commit

Permalink
Convert to string $option->getValue, in order to be compared with oth…
Browse files Browse the repository at this point in the history
…er saved options in previous cart items
  • Loading branch information
zamboten committed May 27, 2018
1 parent 4405582 commit 03298b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function convertToBuyRequest(CartItemInterface $cartItem)
if (is_array($options)) {
$requestData = [];
foreach ($options as $option) {
$requestData['super_attribute'][$option->getOptionId()] = $option->getOptionValue();
$requestData['super_attribute'][$option->getOptionId()] = (string) $option->getOptionValue();
}
return $this->objectFactory->create($requestData);
}
Expand Down

0 comments on commit 03298b3

Please sign in to comment.