You have to do something like this:
function hook_commerce_coupon_add() {
...

Contribution Date
Technology
Contribution Project
Contribution Details

You have to do something like this:

function hook_commerce_coupon_add() { $content_cart = theme('dc_ajax_shopping_cart', array( 'order' => $commerce_cart['order'], 'line_items' => $line_items, 'quantity' => $quantity, 'total' => $total, )); $commands[] = dc_ajax_add_cart_command_html('div.ajax-shopping-cart-wrapper', $content_cart); }

The hook should be called after coupon is added. You have to figure out the hook.

This is feature has a limited a scope, and is not appropriate for the module, so it cannot be added to this module.

Issue Status
closed
Contribution Author
Files count
0
Patches count
0