Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Facebook Pixel Code for X-Cart 5

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 04-04-2016, 03:01 AM
 
risabb risabb is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 75
 

Default Re: Facebook Pixel Code following in xcart 5

if I edit tpl files, the code will appear in EVERY page, not just one page. I just want the code to appear in a checkout page. Is there a way to this and get the code in the <head> of the checkout page?
__________________
Risa
X-Cart ver. 4.0.19 GOLD
Reply With Quote
  #12  
Old 04-04-2016, 08:28 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Facebook Pixel Code following in xcart 5

Quote:
I just want the code to appear in a checkout page.
You are to put the js code inside the "{if:getTarget()=#checkout#}...{endif:}" check.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #13  
Old 05-11-2017, 04:19 AM
  kvatchinsky's Avatar 
kvatchinsky kvatchinsky is offline
 

Newbie
  
Join Date: Nov 2016
Posts: 7
 

Default Re: Facebook Pixel Code for X-Cart 5

Hi Sergey, does the referred by you link: http://devs.x-cart.com/en/how-to_articles/how_to_add_facebook_pixel_%D1%81ode_to_x-cart_pages.html
for add Facebook pixels works for X-Cart Business 5.3.2.9 too?
the article states: This article applies to the specific versions of software: X-Cart 5.2.16 and earlier

Also could you direct me how to apply the SQL patch to X-Cart 5 database, because the information available looks like refer only to old versions where in Admin/Tools there was option to do that In my version of X-Cart 5 Business there is no Tool in Admin that offers applying SQL patches.

Thanks

Krasimir
__________________
X-Cart Free 5.3.2.9
Braintree payment gateway 5.3.2.1
MailChimp Integration with Ecommerce-360 support 5.3.2.3
Reply With Quote
  #14  
Old 05-15-2017, 11:09 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Facebook Pixel Code for X-Cart 5

The article is for X-Cart 5.2.x only. But there is another article that explains how to migrate 5.2.x modules to 5.3.x:
http://devs.x-cart.com/en/migration_guides/updating_modules_from_5.2_to_5.3_branch.html

In X-Cart 5 there are no SQL patches. Everything is done via editing Model classes and re-deploying the site (the re-deploy process will adjust the table structure).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:02 AM.

   

 
X-Cart forums © 2001-2020