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

#   Facebook Conversion Pixel

##

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

Less More

- Posts: 26
- Thank you received: 1
-
-

8 years 3 weeks ago -  8 years 3 weeks ago [\#299449](#299449) by [wwwopptwcom](/forum/user/45048-wwwopptwcom "View wwwopptwcom's Profile")  *[Facebook Conversion Pixel](/forum/27-checkout/896026-facebook-conversion-pixel#299449 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  + checkout / end.php  or    www.hikashop.com/forum/checkout/875406-f...onversion-pixel.html  + checkout / end.php  I have two ways to pay.")* was created by *[wwwopptwcom](/forum/user/45048-wwwopptwcom "View wwwopptwcom's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.2 Code:

&lt;!-- Facebook Pixel Code --&gt; &lt;script type='text/javascript'&gt; !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', 'xxxxxxxxxxxx', {}, {agent: 'pljoomla'}); fbq('track', 'Purchase', {value:'0.00', currency:' TWD '}); &lt;/script&gt; &lt;noscript&gt; &lt;img height="1" width="1" style="display:none" alt="fbpx" src="https://www.facebook.com/tr?id=xxxxxxxxxx&amp;ev=PageView&amp;noscript=1"/&gt; &lt;/noscript&gt; &lt;!-- End Facebook Pixel Code --&gt;

+ checkout / end.php

or

[ www.hikashop.com/forum/checkout/875406-f...onversion-pixel.html](https://www.hikashop.com/forum/checkout/875406-facebook-conversion-pixel.html)
Code:

&lt;?php if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true; $app =JFactory::getApplication(); $order_id = $app-&gt;getUserState('com_hikashop.order_id'); $orderClass = hikashop_get('class.order'); $order = $orderClass-&gt;get($order_id); $currencyClass = hikashop_get('class.currency'); $currency_id = intval($order-&gt;order_currency_id); $currency = $currencyClass-&gt;getCurrencies($currency_id, $null); echo "{'value':'".$order-&gt;order_full_price."','currency':'".$currency[$currency_id]-&gt;currency_code."'}])"; ?&gt;

+ checkout / end.php

I have two ways to pay.

Last edit: 8 years 3 weeks ago by [wwwopptwcom](/forum/user/45048-wwwopptwcom "View wwwopptwcom's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NjAyNi1mYWNlYm9vay1jb252ZXJzaW9uLXBpeGVsP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

8 years 3 weeks ago -  8 years 3 weeks ago [\#299465](#299465) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Facebook Conversion Pixel](/forum/27-checkout/896026-facebook-conversion-pixel#299465 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  + checkout / end.php  or    www.hikashop.com/forum/checkout/875406-f...onversion-pixel.html  + checkout / end.php  I have two ways to pay.")*

Hi,

You can add that in the file "show_default" via the menu Display&gt;Views and it will appear on the product page.

**\[Moderator :\] Please don't edit your message a long time after had posted it, if you have more elements to provide create a new message.**
regards

Last edit: 8 years 3 weeks ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

8 years 3 weeks ago [\#299506](#299506) by [wwwopptwcom](/forum/user/45048-wwwopptwcom "View wwwopptwcom's Profile")  Replied by *[wwwopptwcom](/forum/user/45048-wwwopptwcom "View wwwopptwcom's Profile")* on topic *[Facebook Conversion Pixel](/forum/27-checkout/896026-facebook-conversion-pixel#299506 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  + checkout / end.php  or    www.hikashop.com/forum/checkout/875406-f...onversion-pixel.html  + checkout / end.php  I have two ways to pay.")*

What you mean is to say
The above two codes
Regardless of that kind
All added directly to...show_default

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NjAyNi1mYWNlYm9vay1jb252ZXJzaW9uLXBpeGVsP3RtcGw9bWFya2Rvd24=) 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: 86541
- Thank you received: 14304
-
-

8 years 3 weeks ago [\#299508](#299508) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Facebook Conversion Pixel](/forum/27-checkout/896026-facebook-conversion-pixel#299508 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.13 -- PHP version -- : 7.2  + checkout / end.php  or    www.hikashop.com/forum/checkout/875406-f...onversion-pixel.html  + checkout / end.php  I have two ways to pay.")*

Hi,

Neither of these codes can be added "as is". You'll have to modify them to add dynamic data. And no it's not in show_default. It's probably in checkout/end or checkout/after_end that you want to add the code.
But you'll have to modify it. You need to be a developer for that or hire one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5NjAyNi1mYWNlYm9vay1jb252ZXJzaW9uLXBpeGVsP3RtcGw9bWFya2Rvd24=) 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.048 seconds

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