josegrad Posted May 8, 2015 Share Posted May 8, 2015 Hi, I can get details of products using the webservice, such as width, depth, height. But the units are not included in the provided data. Using the configurations resources we can get a (very cryptic) list of all the configurations. The configuration with id 105 contains what I need: {:configuration=>{:id=>105, :value=>"cm", :name=>"PS_DIMENSION_UNIT", :id_shop_group=>{}, :id_shop=>{}, :date_add=>"0000-00-00 00:00:00", :date_upd=>"2015-05-08 09:11:12"[spam-filter] My question is: Is this id fixed for this configuration, so can I trust that this id 105 will return this information on any shop? Or is there another way to get the units? It would be great to have these things documented but I haven't been able to find anything about it. Thanks. Link to comment Share on other sites More sharing options...
josegrad Posted May 11, 2015 Author Share Posted May 11, 2015 (edited) Well I was able to check from two different shops that 105 returns the dimensions unit. Not much but can't test more shops right now.. Edited May 11, 2015 by josegrad (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