jmelich Posted April 17, 2020 Share Posted April 17, 2020 (edited) Hi there, I've spent my morning trying to add a field on combinations object resulting as harder as i've thought. Does someone know how to do it? I need to add a field price and wholesale_price from combination object to it, so i need id (actually have it) and pricing. I tried all combinations and also debugging but not understanding it logic and why cannot include my atribute values resulting null protected $webserviceParameters = array( ... 'associations' => array( 'categories' => array( 'resource' => 'category', 'fields' => array( 'id' => array('required' => true), ), ), 'images' => array( 'resource' => 'image', 'fields' => array('id' => array()), ), 'combinations' => array( 'resource' => 'combination', 'fields' => array( 'id' => array('required' => true), 'price' => array('required' => true), 'wholesale_price' => array('required' => true), ), ), ... Edited April 17, 2020 by Becquel (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now