Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Fix wrong values in custom_options #399

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ private function filterData(array $option): array
{
$option = $this->dataFilter->execute($option, $this->fieldsToDelete);
$option['sort_order'] = (int) $option['sort_order'];
$option['option_id'] = (int) $option['sort_order'];
$option['option_type_id'] = (int) $option['sort_order'];
$option['option_id'] = (int) $option['option_id'];
$option['price'] = (float) $option['price'];

if (isset($option['sku']) !== true) {
Expand Down