Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Adding Facebook Pixel Conversion Code In Cscart Version 4.2.4 Rate Topic   - - - - -

 
  • madhuri
  • Advanced Member
  • Members
  • Join Date: 27-Aug 14
  • 110 posts

Posted 03 March 2015 - 07:28 AM #1

Hello,
I want to add the facebook pixel conversion code for my registration page.I want to add code in head section of registration page.Please could you guide me how to achieve this.It would be a great help.




Thank You

 

Posted 23 March 2015 - 05:07 PM #2

you can do it with module "my changes" (by default it is disabled so enable it) by adding the "design/themes/%THEME%/templates/addons/my_changes/hooks/index/scripts.post.tpl" file
where %THEME% is theme of your store front (by default - responsive)

The file content will be:
{if $smarty.request.dispatch == "profile.add"}
<script type="text/javascript">
	// Custom JS code
</script>
{/if}

after that don't forget to clean up cs-cart template and browser cache

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19574 posts

Posted 24 March 2015 - 08:32 AM #3

you can do it with module "my changes" (by default it is disabled so enable it) by adding the "design/themes/%THEME%/templates/addons/my_changes/hooks/index/scripts.post.tpl" file
where %THEME% is theme of your store front (by default - responsive)

The file content will be:

{if $smarty.request.dispatch == "profile.add"}
<script type="text/javascript">
	// Custom JS code
</script>
{/if}

after that don't forget to clean up cs-cart template and browser cache


There is an error in the code. The content should be

{if $smarty.request.dispatch == "profiles.add"}
<script type="text/javascript">
	    // Custom JS code
</script>
{/if}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 24 March 2015 - 05:57 PM #4

There is an error in the code. The content should be

thanks for correction

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19574 posts

Posted 25 March 2015 - 04:38 PM #5

There is an error in the code. The content should be

thanks for correction


Welcome!

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.