- Log in to post comments
[ ! -f /tmp/mag_mirror.zip ] && wget -nv http://www.mxperts.de/wp-content/uploads/2009/07/mag_mirror.zip -P /tmp
if [ ! -d /tmp/mag_mirror/ ]; then
unzip /tmp/mag_mirror.zip -d /tmp
fi
if [ ! -f ./app/design/frontend/default/default/template/catalog/product/list.phtml ]; then
cp ./app/design/frontend/base/default/template/catalog/product/list.phtml ./app/design/frontend/default/default/template/catalog/product/list.phtml
fi
wget -nv ${URL_NEW}/reflection.list.phtml.diff -O /tmp/reflection.list.phtml.diff
patch -p2 ./app/design/frontend/default/default/template/catalog/product/list.phtml < /tmp/reflection.list.phtml.diff
cp /tmp/mag_mirror/skin/frontend/default/default/js/reflection.js ./skin/frontend/default/default/js/
#add to ./app/design/frontend/default/default/layout/local.xml
#
# skin_jsjs/reflection.js
#