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

ProductService.xml now returns idCode of features, correct product availability and productFeatureId #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danieltaylor-nz
Copy link
Member

@danieltaylor-nz danieltaylor-nz commented May 29, 2020

This modifies the product services to return a bit more data.

  • productAvailability now returns the quantity available for each variant instead of just a boolean. In addition, there was a bug where quantity from one variant was affecting others. This was resolved with out-map-add-to-existing="false"
  • The variants now also return the idCode for the product feature. This helps when the ID code can be used for such things as HEX num on a color.
  • The Product Features now also return the productFeatureId where previously only 'description' was returned. Front end UI would be better served with an Id for elements such as combo boxes and radio buttons to choose between features.

@danieltaylor-nz danieltaylor-nz changed the title Returned idCode of features, correct product availability and product… ProductService.xml now returns idCode of features, correct product availability and productFeatureId May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant