Jump to content

Adding payment logos to home page


Recommended Posts

I'd like to know how to add the logos representing the available payment methods onto the Home Page of my website?

 

I've tried transplanting the Block Payment logo to hook into the Homepage content but it tells me "This module cannot be transplanted to this hook"

 

Any ideas? I'd like it to sit on the left hand column under the Specials module

 

My site is

www.sleepersdirect.com.au but is not fully live yet so may not be always visible.

 

Any help very gratefully received.

Thanks

Link to comment
Share on other sites

you have to modify module .php file.

 

add $this->registerHook('home) to:

public function install()
{
 Configuration::updateValue('PS_PAYMENT_LOGO_CMS_ID', 0);
 if (!parent::install())
  return false;
 if (!$this->registerHook('leftColumn'))
  return false;
 if (!$this->registerHook('header'))
  return false;
 return true;
}

 

then add additional funciton:

 

public function hookHome($params)
{
return $this->hookLeftColumn($params);
}

 

 

unfortunately, without module modifications it isn't possible to achieve this. this is the only way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...