Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shipping weight php issue #2478

Closed
sietsevandreven opened this issue Jul 12, 2023 · 2 comments
Closed

Shipping weight php issue #2478

sietsevandreven opened this issue Jul 12, 2023 · 2 comments
Labels
Milestone

Comments

@sietsevandreven
Copy link

When using generateAttribute('shipping_weight') ?> in iso_reader_default.html5 to display the shipping weight we get an error on the frontend when debug mode is active:

Undefined array key "format" in vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Model/Attribute/Weight.php on line 62

We've changed the code
from:
$arrOptions['format'] ?: '%s %s',

to:
isset($arrOptions['format']) ?: '%s %s',

It now seems to work, but we're not sure if this is the right solution.

@aschempp
Copy link
Member

Fixed in 04fe987

@aschempp aschempp added the bug label Jul 14, 2023
aschempp added a commit that referenced this issue Jul 14, 2023
@aschempp
Copy link
Member

Fixed in 04fe987

@aschempp aschempp added this to the 2.8.15 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants