Lucas
06/20/2025, 6:26 AM_.extend(LiveOrderModel.prototype, {
initialize: _.wrap(LiveOrderModel.prototype.initialize, function (fn) {
fn.apply(this, _.toArray(arguments).slice(1));
this.on('after:sync', function () {
this.set('custbody_test_field', 'T');
}.bind(this));
})
});
Chris
06/20/2025, 1:06 PMcustbody_test_field
actually showing up on the back-end?Sebastian Alexis Gonzalez
06/20/2025, 2:32 PMLucas
06/24/2025, 2:56 AMChris
06/24/2025, 1:45 PMput
request going to the back-end by looking at LiveOrder.Model.ss in the network panel and see if your field is included in the payload.Lucas
06/24/2025, 2:34 PMLucas
06/24/2025, 2:34 PMLucas
06/24/2025, 2:35 PMChris
06/24/2025, 5:40 PMput
call, your custom attribute custbody_test_field
should be in there somewhere.