/** * Helper function that maps the current cart item's addons to the cart item's configured product menu options * * @internal * @since 1.3 * * @param int $id The product ID to retrieve addon menus from * @return array A combined list of the menu labels list and addons menu map **/ private static function _addon_menus() { return ShoppProductThemeAPI::_addon_menus(shopp('cartitem.get-product')); }
/** * Helper function that maps the current cart item's addons to the cart item's configured product menu options * * @internal * @since 1.3 * * @param int $id The product ID to retrieve addon menus from * @return array A combined list of the menu labels list and addons menu map **/ private static function _addon_menus() { return ShoppProductThemeAPI::_addon_menus(shopp('purchase.get-item-product')); }