Attribute field name mismatch in Get Product Details and Get Product Variations
-
Hi Team,
There is a mismatch in the attribute field name for the below APIs :
GET https://stokkur.wpcomstaging.com/wp-json/cocart/v1/products/406/variations
Response Snippet:
"attributes": { "attribute_malad": { "id": 0, "name": "Malae?", "option": "Veldu m?guleika" } },
GET https://stokkur.wpcomstaging.com/wp-json/cocart/v1/products/406
Response Snippet:
"attributes": { "attribute_malae?": { "id": 0, "name": "Malae?", "position": 0, "is_attribute_visible": true, "used_for_variation": true, "options": [ "Nei - Baunir", "Já - Filter", "Já - Mokkakanna", "Já - Pressukanna", "Já - Aeropress", "Já - Espresso" ] } }
As you can see in the above snippets, “attribute_malad” and “attribute_malae?” are different. Can you please check why there is a mismatch?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Attribute field name mismatch in Get Product Details and Get Product Variations’ is closed to new replies.