This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
Checkout.prototype.gotoSection = Checkout.prototype.gotoSection.wrap(function(parentMethod, section, reloadProgressBlock) { | |
// Call parent method. | |
parentMethod(section, reloadProgressBlock); | |
var _gaq = _gaq || []; | |
try { | |
// push current checkout section to google analytics if available. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<action type="dataflow/convert_parser_csv" method="parse"> | |
<var name="delimiter"><![CDATA[,]]></var> | |
<var name="enclose"><![CDATA[]]></var> | |
<var name="fieldnames"></var> | |
<var name="map"> | |
<map name="sku"><![CDATA[sku]]></map> | |
<map name="image"><![CDATA[image]]></map> | |
<map name="image_label"><![CDATA[image_label]]></map> | |
<map name="small_image"><![CDATA[small_image]]></map> | |
<map name="small_image_label"><![CDATA[small_image_label]]></map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace all files line endings from current directory onwards. | |
$ find . -type f -exec perl -pi -e 's/\r\n?/\n/g' {} \; | |
# Only replace line endings in php files within current directory | |
$ perl -pi -e 's/\r\n?/\n/g' *.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<layout version="0.1.0"> | |
<!-- the block is set to show on the individual product page; change the layout name to use this block on other pages. | |
You can also add the block to other layouts --> | |
<catalog_product_view> | |
<reference name="left"> | |
<block type="randomtestimonial/template_random" name="random.testimonial"> | |
<!-- remove comments to set the title of this testimonial block or leave commented out to use the CMS block title --> | |
<action method="setTitle" translate="title"><title>What Customers Say...</title></action> | |
<!-- set the cms block identifier prefix for all cms blocks to be used with this template --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- app/etc/modules/Meteorify_Checkout.xml --> | |
<config> | |
<modules> | |
<Meteorify_Checkout> | |
<active>true</active> | |
<codePool>local</codePool> | |
</Meteorify_Checkout> | |
</modules> | |
</config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
WEBDIR=/var/www/mysite.com | |
GIT_WORK_TREE=$WEBDIR git checkout -f | |
cd $WEBDIR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<layout> | |
<catalogsearch_term_popular> | |
<reference name="head"> | |
<action method="setRobots"><value>NOINDEX,NOFOLLOW</value></action> | |
</reference> | |
</catalogsearch_term_popular> | |
</layout> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Update Order increment id to start at 123456789 | |
UPDATE `eav_entity_store` SET `increment_last_id` = '123456789' WHERE `entity_type_id` = '5';` | |
-- Update Invoice increment id to start at 123456789 | |
UPDATE `eav_entity_store` SET `increment_last_id` = '123456789' WHERE `entity_type_id` = '6'; | |
-- Update Credit Memo increment id to start at 123456789 | |
UPDATE `eav_entity_store` SET `increment_last_id` = '123456789' WHERE `entity_type_id` = '7'; | |
-- Update Shipment increment id to start at 123456789 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This configuration is what is provided by PageCache by Varnish for Magento module: | |
# http://www.magentocommerce.com/magento-connect/pagecache-powered-by-varnish.html | |
# default backend definition. Set this to point to your content server. | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "80"; | |
} | |
# admin backend with longer timeout values. Set this to the same IP & port as your default server. |
OlderNewer