Omniva Shipping Extension for OpenCart 3.0.x
OpenCart extension documentation
Short Description
Installation And Setup
saveOmniva: function (confirm) {
this.error = {};
if (window['_QuickCheckoutAjaxSave']) {
window['_QuickCheckoutAjaxSave'].abort();
}
if (confirm) {
loader('.quick-checkout-wrapper', true);
}
if ($('#shipping_method_address_omniva').val()) {
$('#omniva').prop('checked', '');
$('#omniva').attr('value', $('#shipping_method_address_omniva').val());
$('#omniva').prop('checked', 'checked');
this.$data.order_data['shipping_code'] = $('#shipping_method_address_omniva').val();
} else {
$('#omniva').prop('checked', 'checked');
this.$data.order_data['shipping_code'] = $('#omniva').attr('value');
}
window['_QuickCheckoutAjaxSave'] = this.ajax({
url: 'index.php?route=journal3/checkout/save' + (confirm ? '&confirm=true' : ''),
data: {
checkout_id: this.checkout_id,
account: this.account,
order_data: this.order_data,
password: this.password,
password2: this.password2,
same_address: this.same_address,
newsletter: this.newsletter,
privacy: this.privacy,
agree: this.agree,
payment_address_type: this.payment_address_type,
shipping_address_type: this.shipping_address_type,
coupon: this.coupon,
voucher: this.voucher,
reward: this.reward
},
success: function (json) {
window['_QuickCheckoutAjaxSave'] = null;
this.update(json, confirm);
}.bind(this)
});
},How to use in the admin

Extension upgrade
Support
Features
Release history
Last updated