# ダイナミックグリッド内の重複した製品の削除

同じ商品を何度も見せるのではなく、より多くの商品を顧客に見せましょう。

**parent\_product\_id**を共有する場合、最初の製品のみがコンテンツ内に表示されます。 たとえば、テンプレートには、*カートから放棄された製品のグリッドと、推奨製品*の 2 番目のグリッドがあります。 *製品 A が両方のグリッドに該当する*場合、最初のグリッド (*カート放棄*) にのみ表示されます。 *Product B がProduct A*と同じ**parent\_product\_idを共有する**場合、 *Product B は*どちらのグリッドにも表示されません。

コンテンツで使用される動的グリッドに製品を 1 回だけ表示するには、 **\[コンテナ] > \[詳細]に移動し**、 **\[重複製品の削除] を有効にします。**

![remove-duplicate-products.png](/files/sWbHMiKm4twKf7QvICay)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.dxable.com/optimizely/platform/optimizely-data-platform/personalize-content/remove-duplicate-products-in-dynamic-grids.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
