[Skip to main content](#vessel-content)

#   チェックアウト時の「当店の規約」のポップアップ表示で、正しい記事を表示させる方法

##

- **[tomo](/forum/user/3305-tomo "View tomo's Profile")**
- [![tomo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3305-tomo "View tomo's Profile") Topic Author
- [ Offline](/forum/user/3305-tomo)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 4 months ago [\#21158](#21158) by [tomo](/forum/user/3305-tomo "View tomo's Profile")  *[チェックアウト時の「当店の規約」のポップアップ表示で、正しい記事を表示させる方法](/forum/6-japanese-support/21158#21158 "こんにちは、お世話になっております。  上記の題についてですが、 ForumのTOPIC: &quot;Articles&quot; word on my terms of use title... でHIKAスタッフがアドバイスしているようにViewを編集したのですが、表示してほしいArticleを表示してくれません。  私のショップには、規約に関するJoomla　Articleは2つあります。 1つは長文で、もう一つはチェックアウト時用に簡易にまとめたものです。 チェックアウト時に表示させたいのは、簡易規約の方なんですが、長文規約が表示されます。  具体的には下記のようにViewを編集しました。 Joomla　Articleは3つあり、簡易規約のIDは３、長文規約のIDは１です。  $text = ''.$text.'';  間違い、もしくは解決方法を教えてください。")* was created by *[tomo](/forum/user/3305-tomo "View tomo's Profile")*

こんにちは、お世話になっております。

上記の題についてですが、
ForumのTOPIC: "Articles" word on my terms of use title...
でHIKAスタッフがアドバイスしているようにViewを編集したのですが、表示してほしいArticleを表示してくれません。

私のショップには、規約に関するJoomla Articleは2つあります。
1つは長文で、もう一つはチェックアウト時用に簡易にまとめたものです。
チェックアウト時に表示させたいのは、簡易規約の方なんですが、長文規約が表示されます。

具体的には下記のようにViewを編集しました。
Joomla Articleは3つあり、簡易規約のIDは３、長文規約のIDは１です。

$text = '&lt;a href="'.JRoute::_('index.php?option=com_content&amp;view=article&amp;id='.$terms_article.'&amp;3=3&amp;tmpl=component').'" class="modal" rel="{handler: \'iframe\', size: {x: 450, y: 480}}" target="_blank"&gt;'.$text.'&lt;/a&gt;';

間違い、もしくは解決方法を教えてください。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC8yMTE1OD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14305
-
-

15 years 4 months ago [\#21160](#21160) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: チェックアウト時の「当店の規約」のポップアップ表示で、正しい記事を表示させる方法](/forum/6-japanese-support/21158#21160 "こんにちは、お世話になっております。  上記の題についてですが、 ForumのTOPIC: &quot;Articles&quot; word on my terms of use title... でHIKAスタッフがアドバイスしているようにViewを編集したのですが、表示してほしいArticleを表示してくれません。  私のショップには、規約に関するJoomla　Articleは2つあります。 1つは長文で、もう一つはチェックアウト時用に簡易にまとめたものです。 チェックアウト時に表示させたいのは、簡易規約の方なんですが、長文規約が表示されます。  具体的には下記のようにViewを編集しました。 Joomla　Articleは3つあり、簡易規約のIDは３、長文規約のIDは１です。  $text = ''.$text.'';  間違い、もしくは解決方法を教えてください。")*

こんにちは、

Hikashopをご利用いただき、ありがとうございます。

この
$text = '&lt;a href="'.JRoute::_('index.php?option=com_content&amp;view=article&amp;id='.$terms_article.'&amp;3=3&amp;tmpl=component').'" class="modal" rel="{handler: \'iframe\', size: {x: 450, y: 480}}" target="_blank"&gt;'.$text.'&lt;/a&gt;';
には、設定ページの販売規約オプションに選んだ記事を使います。このオプションの記事が、簡易規約の記事であることをご確認下さい。
また、&amp;3=3は間違いです。おそらく、下記がお客様のなさりたかったことだと思います：
$text = '&lt;a href="'.JRoute::_('index.php?option=com_content&amp;view=article&amp;id=3&amp;tmpl=component').'" class="modal" rel="{handler: \'iframe\', size: {x: 450, y: 480}}" target="_blank"&gt;'.$text.'&lt;/a&gt;';
これですと、設定ページのオプションを無視してID3の記事を使用できます。

それでは、今後ともHikashopをよろしくお願いいたします。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC8yMTE1OD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tomo](/forum/user/3305-tomo "View tomo's Profile")**
- [![tomo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3305-tomo "View tomo's Profile") Topic Author
- [ Offline](/forum/user/3305-tomo)

Less More

- Posts: 7
- Thank you received: 0
-
-

15 years 4 months ago [\#21189](#21189) by [tomo](/forum/user/3305-tomo "View tomo's Profile")  Replied by *[tomo](/forum/user/3305-tomo "View tomo's Profile")* on topic *[Re: チェックアウト時の「当店の規約」のポップアップ表示で、正しい記事を表示させる方法](/forum/6-japanese-support/21158#21189 "こんにちは、お世話になっております。  上記の題についてですが、 ForumのTOPIC: &quot;Articles&quot; word on my terms of use title... でHIKAスタッフがアドバイスしているようにViewを編集したのですが、表示してほしいArticleを表示してくれません。  私のショップには、規約に関するJoomla　Articleは2つあります。 1つは長文で、もう一つはチェックアウト時用に簡易にまとめたものです。 チェックアウト時に表示させたいのは、簡易規約の方なんですが、長文規約が表示されます。  具体的には下記のようにViewを編集しました。 Joomla　Articleは3つあり、簡易規約のIDは３、長文規約のIDは１です。  $text = ''.$text.'';  間違い、もしくは解決方法を教えてください。")*

回答、ありがとうございました。
Viewを編集しなくても、CONFIGULATIONのCHECK OUTにある設定変更で、Ariticleを選択することができました！
またお世話になると思います、よろしくお願いします。

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzYtamFwYW5lc2Utc3VwcG9ydC8yMTE1OD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
