YotpoLtd / magento2-module-yotpo-reviews

Open Software License 3.0
23 stars 38 forks source link

yotpo_rich_snippets table average_score only allowed to save as integer #207

Closed hengzhang-pro closed 4 years ago

hengzhang-pro commented 4 years ago

Hello,

We encounter the issue average_score is not matched in Yotpo API. The problem is even score return from API is a float number eg 4.3, when it save to database it is become 4.

The solution is change the Lenght of average_score data from 10,0 to 10,2

BR Heng

yotpaul commented 4 years ago

Thanks for the report @t2zhhe00 I'll open up a task for this internally.

yotpaul commented 4 years ago

@t2zhhe00 a bug has been opened about this, thanks again for reporting!

yotpaul commented 4 years ago

Will be addressed by #219

yotpaul commented 4 years ago

Correction, addressed by https://github.com/YotpoLtd/magento2-module-yotpo-reviews/pull/221