# visual-web-optimizer/4.15/templates/order.php

Wingify, version 4.15. 15 lines.

- Page: https://pluginprobe.com/plugins/visual-web-optimizer/4.15/code/templates/order.php
- Raw: https://pluginprobe.com/plugins/visual-web-optimizer/4.15/raw/templates/order.php
- Modified: 2026-09-18T13:47:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/visual-web-optimizer/4.15/code/templates/order.php#L10-L20`.

```php
<?php defined( 'ABSPATH' ) or exit; ; ?>
window.VWO = window.VWO || [];
VWO.event = VWO.event || function () {VWO.push(["event"].concat([].slice.call(arguments)))};
VWO.event('woocommerce.purchase', {
    orderId: '<?php echo $orderId ?>',
    totalPrice: <?php echo $totalPrice; ?>,
    shippingPrice: <?php echo $shippingPrice; ?>,
    totalTax: <?php echo $totalTax; ?>,
    discount: <?php echo $discount; ?>,
    currencyCode: '<?php echo $currencyCode; ?>',
    productId: '<?php echo $productId; ?>',
    productSku: '<?php echo $productSku; ?>',
    productPrice: '<?php echo $productPrice; ?>',
    productQuantity: '<?php echo $productQuantity; ?>'
});
```
