<div class="block-item cleanse col-md-12 visible-desktop"> | |
<div class="content"> | |
<div class="clearfix"> | |
<div class="program-image visible-phone-tablet"> | |
<h3 class="visible-phone">Start Here</h3> | |
<img class="img-responsive" src="http://skin.cleanprogram.com/2014-02-24-8-26-UTC/skin/frontend/clean/default/images/clean-cleanse-home.jpg" alt="Clean Cleanse"> | |
</div> | |
<div class="program-detail col-sm-6 col-md-6 col-lg-12"> | |
<h3 class="hidden-phone">Start Here</h3> | |
<img class="visible-desktop center-block-element" src="http://skin.cleanprogram.com/2014-02-24-8-26-UTC/skin/frontend/clean/default/images/clean-cleanse-home.jpg" alt="Clean Cleanse"> |
1. Make something cool | |
2. Write stuff | |
3. Don't suck |
The idea is to use gamification in the Magento backend to help to train admins who are new to using Magento with some kind of interactive tutorial along with earning points for doing things like updating their store address in system config and creating a new product, etc.
Not totally sure, just a rough idea right now. But my thinking is - some combination of an interactive tutorial with points and badges earned for different actions.
# The number of customers who haveve only purchased once from December 2012 to December 2013 | |
SELECT customers_in_segment | |
FROM | |
( | |
SELECT count(*) AS customers_in_segment, order_count | |
FROM | |
( | |
SELECT customer_id, min(created_at) AS first_order_at, count(*) AS order_count | |
FROM sales_flat_order |
Gmail: Hey, we're caching images now, it's more secure b/c suckas can't inject nastiness on you. | |
JS: Liars! You're totally making it sound like you're improving privacy by no longer allowing email marketers to track opens using images. | |
Gmail: But....all we said was we're improving security | |
JS: Now that's just splitting hairs! |
I'm trying to figure out what the best way is to implement what I'm calling an "addon product".
The way it works is that when a customer adds the Essentials Shakes to their cart, we want to prompt them to add a Shaker Bottle (it's like a bottle that makes it easy to make shakes) to their order as well for $5.
I would have used a grouped product for this, but you can't combine configurable and grouped products, plus there are issues with subscription orders as well.
So what I'm leaning towards now is maybe a modal that pops up after they add the Essentials to their cart which prompts them to add this other product to their cart.
Somebody has to have run into this use case before.
<?xml version="1.0"?> | |
<config> | |
<sections> | |
<system> | |
<groups> | |
<backup> | |
<fields> | |
<maintenance> | |
<comment>supercalifrag</comment> | |
</maintenance> |
<?php | |
require_once(dirname(__FILE__) . '/../app/Mage.php'); | |
Mage::app('admin'); | |
$classesRaw = file_get_contents(dirname(__FILE__) . '/data/classes.txt'); | |
$classes = explode("\n", $classesRaw); | |
echo "Loading " . count($classes) . " classes\r\n"; |
# I'm certain there's a much more elegant way to do this, but I'm | |
# not too handy with bash script. | |
# Change all the instances of 2013 copyright to 2012 | |
find . -name "*.xml" -exec sed -i.bak -E "s/Copyright .c. 2013/Copyright (c) 2012/g" {} \; | |
find . -name "*.xml.template" -exec sed -i.bak -E "s/Copyright .c. 2013/Copyright (c) 2012/g" {} \; | |
find . -name "*.php" -exec sed -i.bak -E "s/Copyright .c. 2013/Copyright (c) 2012/g" {} \; | |
find . -name "*.css" -exec sed -i.bak -E "s/Copyright .c. 2013/Copyright (c) 2012/g" {} \; | |
find . -name "*.js" -exec sed -i.bak -E "s/Copyright .c. 2013/Copyright (c) 2012/g" {} \; | |
find . -name "*.phtml" -exec sed -i.bak -E "s/Copyright .c. 2013/Copyright (c) 2012/g" {} \; |