You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: