_addon_items Array Error
-
Hello,
I am using the built-in addons of woocommerce product, not the plugin
and i am getting Error on the printed recipt _addon_items ArrayWhat should i do to get the addon of items to be printed?
Its seems that the part of the code below doesn’t get the addon into the Araay.<?php $meta = array_map(function ($meta, $key) { $result = '<tr>'; $result .= '<td>' . $key . '</td>'; $result .= '<td>' . $meta . '</td>'; $result .= '</tr>'; return $result; }, $meta, array_keys($meta)); echo implode(PHP_EOL, $meta); ?>
the code is from details-html.php template.
i really need help here i must finish my project
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘_addon_items Array Error’ is closed to new replies.