lib/onebox/engine/amazon_onebox.rb in onebox-1.8.61 vs lib/onebox/engine/amazon_onebox.rb in onebox-1.8.62
- old
+ new
@@ -155,9 +155,11 @@
summary = raw.at("#productDescription")
result[:description] = og[:description] || (summary && summary.inner_text)
end
+ result[:price] = nil if result[:price] == "$0" || result[:price] == 0
+
result
end
end
end
end