Skip to content

Update cart.php#12302

Merged
ekavando merged 1 commit intoopencart:masterfrom
sabeti05:patch-4
May 25, 2023
Merged

Update cart.php#12302
ekavando merged 1 commit intoopencart:masterfrom
sabeti05:patch-4

Conversation

@sabeti05
Copy link
Copy Markdown
Contributor

@sabeti05 sabeti05 commented Apr 30, 2023

$option_data is created two times but it is not used in the final array $product_data.

Also in the first creation of $option_data, The uploaded file name is correctly added to array, But second time that the variable is created the file name is replaced.

Currently it is something like this in the shopping cart:

Apple Cinema 30"

  • Radio: Small
  • File: e9b62648b8dee13f9e26e76557cf8ade

It should be:

Apple Cinema 30"

  • Radio: Small
  • File: image.png

`$option_data` is created two times but it is not used.

Also in the first creation of `$option_data`, The uploaded file name is correctly added to array, But second time that the variable is created the file name is replaced:

Currently it is something like this in the shopping cart:
Apple Cinema 30"
- Radio: Small
- File: e9b62648b8dee13f9e26e76557cf8ade

It should be:
Apple Cinema 30"
- Radio: Small
- File: image.png
@ekavando ekavando merged commit e1a9922 into opencart:master May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants