Commit d3002c44 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer

Add coupons to available variables

parent 35ebae85
......@@ -324,6 +324,7 @@ class OpenToolsOrdernumbers extends OpenToolsOrdernumbersBasic {
$reps["[tags]"] = array_keys($tags);
$reps["[shippingclasses]"] = array_keys($shippingclasses);
$reps["[vendors]"] = array_unique($vendors);
$reps["[coupons]"] = $order->get_used_coupons();
public function setupUserReplacements (&$reps, $details, $nrtype) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment