0👍
linkArabys(){
window.PostAffTracker.setAccountId(this.settings.link_araby_accountid.toString());
window.sale = window.PostAffTracker.createSale();
window.sale.setTotalCost((this.settings.price_with_vat == 1) ? (this.order_data.sub_total - this.order_data.discount + this.payment_form.tax) : this.order_data.sub_total);
window.sale.setProductID('0');
window.sale.setOrderID(this.order_data.code);
window.sale.setCoupon('0')
window.PostAffTracker.register();
}
this working for me
- [Vuejs]-Custom sorting v-data-table with strings values
- [Vuejs]-Using debugger statement in Vue 2 production code
Source:stackexchange.com