Skip to content

Instantly share code, notes, and snippets.

View Owanesh's full-sized avatar
:shipit:
Focusing

Salvatore ␄ Owanesh

:shipit:
Focusing
View GitHub Profile
@Owanesh
Owanesh / head.phtml
Last active December 17, 2020 14:30 — forked from rafaelstz/after-body-start.phtml
Facebook Pixel Code for Magento Stores
<?php
/* **** Pixel Facebook ****
app/design/frontend/<yourtheme>/default/template/page/html/head.phtml
Magento ver 1.9.1.0
content_ids can contains ID or SKU, what's on your facebook catalog?
*/
?>
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
@Owanesh
Owanesh / urls.py
Last active April 20, 2020 16:20 — forked from revolunet/views.py
Create your custom error pages in Django, and use your context.
from django.conf.urls import handler404, handler500
handler500 = website_views.server_error
handler404 = website_views.page_not_found