Hi guys, I've hit a bit of a roadblock trying to set tax values on products away from the back end.
In the JS API, I've tried setting the attribute:
"price_obj": {
"name": "",
"value": "100",
"calculate_tax": true,
"value_has_tax": false,
"_tmp": []
}
And in a trigger, I've tried setting the price_obj attribute to set value:
Array( "name" => "", "value" => "100", "calculate_tax" => true, "value_has_tax" => false, "_tmp" => Array() )
Both methods are throwing errors and I can't seem to find a workaround.
Does anyone have any ideas on how to set these attributes?
Jeremy