Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Can rely on 'attrs'? #100

Closed
yoadsn opened this issue May 1, 2016 · 2 comments
Closed

Question: Can rely on 'attrs'? #100

yoadsn opened this issue May 1, 2016 · 2 comments

Comments

@yoadsn
Copy link

yoadsn commented May 1, 2016

(Is this the right place for discussion and questions?)
I want to display the product description after fetching it.
I can see the description is only available under the attrs property of the product model.
Can I rely on this API or is it considered internal?

What is the best practice here? (I can see not reference to the attrs property in the docs.)

Thanks!

@minasmart
Copy link
Contributor

It's considered internal. Also, I'm pretty sure the field you're looking for is called body_html. I'm going to create an issue to expose this field though. I think it was a miss during the initial push to get this out. Thanks for mentioning it!

@minasmart
Copy link
Contributor

Closing in favour of #103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants