Showing posts with label ecommerce. Show all posts
Showing posts with label ecommerce. Show all posts

Tuesday, May 20, 2014

Spree new.before?

Spree has nifty callbacks for controller,
create.before
create.after
update.before,
but what about new.before?

new_action.before :method_name

Sunday, March 3, 2013

prestashop disable right column via hook?

need to disable right or left column via hook?
do these:

create a module,
makesure to hook onto displayFooter


$this->context->smarty->assign("HOOK_LEFT_COLUMN", "");
$this->context->smarty->assign("HOOK_RIGHT_COLUMN", "");


Alternative way is to go into Modules > Positions And edit the module, and add in exception page name onto the exception box. It's separated by comma.

Thursday, March 8, 2012

magento error in admin

by default, magento does not show any error exception in admin / backend.
To enable error, go to :

duplicate errors/local.xml.sample as local.xml

Then you will have the error exception been printed.

Next, if you encounter unable to determine cache_dir,
you may follow the instruction here:
http://www.designersandbox.com/magento/%E2%80%9Ccould-not-determine-temp-directory-please-specify-a-cache_dir-manually%E2%80%9D-after-magento-is-installed/

Friday, November 4, 2011

magento rant

First, their javascript validation for setup Fail big time!
once it failed to validate, no matter what you have change in that field, it will not validate anymore!
need to refresh the page, that sucks big time!

installation, took more than 2minutes!
200+tables, omg, do we need that much?

PHP Memory limit of 256MB ?? omg...