Remove invalid id field from benchmark query

Simplified query to only select essential fields:
- product_view.offer_id
- product_view.gtin
- product_view.title
- benchmark_price

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-23 18:13:00 +01:00
parent c13efdcb0d
commit 1b12eb53d0

View File

@@ -473,11 +473,9 @@ class Informatiq_SP_Google_API {
// Fields from product are prefixed with product_view.
$query = array(
'query' => "SELECT
product_view.id,
product_view.offer_id,
product_view.gtin,
product_view.title,
product_view.price,
benchmark_price
FROM price_competitiveness_product_view",
);