Skip to content

Instantly share code, notes, and snippets.

View anthonycreek's full-sized avatar

Anthony Creek anthonycreek

View GitHub Profile
@shinesoftware
shinesoftware / Perfect Audience: Magento Tracking Code
Last active August 29, 2015 14:07
This code helps you to track on a Magento Store visitors and the conversions using the Perfect Audience service.
/*
This code should be inserted to the bottom of this file: /app/design/frontend/default/default/template/page/html/footer.phtml
Make sure to update your perfect audience tracking info (line 34).
Tested with Magento 1.9.0.1
Thanks to Sam327
*/
<!-- Start of Perfect Audience Script -->
<script type="text/javascript">
(function() {
@Maksold
Maksold / local.xml
Last active May 28, 2021 20:02
#magento #xml - local.xml boilerplate
<?xml version="1.0"?>
<layout>
<default>
<!--Root/Default Layouts-->
<reference name="root">
<!--Appending Block-->
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
</reference>
<!--CSS and JS Files-->
@ashsmith
ashsmith / .gitignore
Last active April 22, 2022 00:06
Magento 1.x .gitignore
# Never save database creditentials in your repo. Keep a dummy copy with a different name eg "local.xml.dev"
app/etc/local.xml
downloader
# If you'd like to keep the downloader, use the following instead:
# downloader/.cache
# downloader/cache.cfg
# downloader/connect.cfg
# All of the var folders can be excluded.