Spree has nifty callbacks for controller,
create.before
create.after
update.before,
but what about new.before?
new_action.before :method_name
Showing posts with label ecommerce. Show all posts
Showing posts with label ecommerce. Show all posts
Tuesday, May 20, 2014
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
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.
do these:
create a module,
makesure to hook onto displayFooter
$this->context->smarty->assign("HOOK_LEFT_COLUMN", "");
$this->context->smarty->assign("HOOK_RIGHT_COLUMN", "");
Wednesday, February 27, 2013
Did you know malaysia have 15 states and federal territory?
Putrajaya is a federal territory of malaysia
http://en.wikipedia.org/wiki/States_and_federal_territories_of_Malaysia
http://en.wikipedia.org/wiki/States_and_federal_territories_of_Malaysia
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/
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...
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...
Subscribe to:
Posts (Atom)