利用規約のリンクを取得し、それに Fancybox を追加しましたが、リンクをクリックすると、ファンシー ボックス コンテナー内のコンテンツだけでなく、Web ページ全体が表示されます。
リンクの形式は、site/online-store/au/content/3-terms-and-conditions-of-use?content_only=1 です。
しかし、content_only=1 は何もしていないように見えますか?
利用規約のリンクを取得し、それに Fancybox を追加しましたが、リンクをクリックすると、ファンシー ボックス コンテナー内のコンテンツだけでなく、Web ページ全体が表示されます。
リンクの形式は、site/online-store/au/content/3-terms-and-conditions-of-use?content_only=1 です。
しかし、content_only=1 は何もしていないように見えますか?
問題は、このリンクが https ページから非 https コンテンツをロードしていることです。
これを修正するには、controller/front/ParentOrderController.php を編集します。
$this->link_conditions = $this->context->link->getCMSLink($cms, $cms->link_rewrite, false);
最後のパラメーターをtrueに変更して、httpsの使用を強制します
$this->link_conditions = $this->context->link->getCMSLink($cms, $cms->link_rewrite, true);