> For the complete documentation index, see [llms.txt](https://help.pagefly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pagefly.io/pagefly-help-center-japanese/faqtotoraburushtingu/faqs/all-about-issues-of-using-shopify-themes-for-pagefly-pages.md).

# PageFly使用時のShopifyテーマに関する問題

### 概要

PageFlyを使用している際に、現在のShopifyテーマとの間で競合が発生する場合があります。特に、テーマが高度にカスタマイズされたカート機能を持っている場合や、PageFlyとの互換性の問題があることが知られているテーマを使用している場合に起こりえます。

この記事では、PageFlyページで[Shopifyテーマの使用に関するすべての関連問題](https://help.pagefly.io/manual/all-about-issues-of-using-shopify-themes-for-pagefly-pages/)について学びます。

### PageFlyページのShopifyテーマに関する問題への対処法

#### カートが自動的に更新されない

基本的に、PageFlyはShopifyテーマと問題なく連携します。しかし、特定のカートメカニズムを持つ一部のテーマでは、PageFlyとの間で競合が発生し、カートドロワーが自動的に更新されないという結果を招くことがあります。

この問題の詳細については、[この記事](https://help.pagefly.io/manual/cart-drawer-does-not-automatically-update/)をご確認ください。

#### PageFlyページに新しいテーマを使用させる

テーマを公開したり、古いテーマから新しいテーマにPageFlyのコンテンツを移行したりすると、PageFlyページは自動的にそのテーマを適用します。

場合によっては、一部のPageFlyページが同期されていないことがあります。その場合、これらのページを再度確認して再公開する必要があります。

確認方法は以下のとおりです。

![](/files/2UV8uflwH38SwWHUbAzm)

例えば、ストアにページが多すぎてShopify APIの制限に達する可能性がある場合、一度にすべてのページが適切に同期されないことがあります。したがって、すべてのPageFlyページを二重チェックする必要があります。

### 使用例

* セクションをフル幅にする: テーマの競合が原因で、PageFlyエディターでフル幅に見えるセクションがライブビューでフル幅にならない場合があります。これを修正するには、以下のいずれかのコードを使用してみてください。
* ページ上部の空白: テーマの競合が原因で、この問題に直面することがあります。これを修正するには、このコードを使用してみてください。

```css
.main-content {
  padding-top: 0px !important;
  margin-top: 0px !important;
}
```

### ヒントとベストプラクティス

* 「**Override theme styling**」オプションを「**Styling**」タブで有効にすると、ライブビューでページがページエディターとまったく同じように表示されるようにできます。

![](/files/ZFprq43STGgbbild3eE3)

### よくある質問

**1. PageFlyページで2つのテーマを使用できますか？**

いいえ、できません。PageFlyページでは1つのテーマのみを使用できます。

**2. 未公開のテーマをPageFlyページでプレビューすることは可能ですか？**

不可能です。PageFlyページは公開されているテーマでのみ動作するため、使用したいテーマを公開する必要があります。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.pagefly.io/pagefly-help-center-japanese/faqtotoraburushtingu/faqs/all-about-issues-of-using-shopify-themes-for-pagefly-pages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
