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

Additional notification, allowing customization of display-only order totals #108

Closed
lat9 opened this issue May 19, 2019 · 0 comments
Closed

Comments

@lat9
Copy link
Owner

lat9 commented May 19, 2019

Some customizations might include additional order-totals that should be displayed, but considered read-only.

EO 4.4.0 and later will issue the EDIT_ORDERS_DISPLAY_ONLY_TOTALS notification:

    $display_only_totals_list = '';
    $zco_notifier->notify('EDIT_ORDERS_DISPLAY_ONLY_TOTALS', '', $display_only_totals_list);

... allowing watching observers to supply a comma-separated list, e.g. ot_balance_due, ot_payments_received, of additional order totals that should be displayed but not provided as inputs.

@lat9 lat9 added the change label May 19, 2019
@lat9 lat9 added this to the v4.4.0 milestone May 19, 2019
lat9 added a commit that referenced this issue May 19, 2019
@lat9 lat9 closed this as completed Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant