Jump to content

[SOLVED] How to get manufacturer link in php modul


Julio Perales
 Share

Recommended Posts

Hello i'm developing a brand's module slider, i took manufacturer-list as base but when i write in my module (tpl), and my ps version is 1.5.4 :

 

$link->getmanufacturerLink($manufacturer.id_manufacturer) 

(cause error)

 

 

i've tried

$link->getmanufacturerLink(1) 

(cause error)

 

and there is the error too.

 

Either i try to link to bankwire:

 

$link->getModuleLink('bankwire', 'payment')

 

and in this case i obtain a valid link, i think i've a valid link object

 

Any suggestions?

Edited by vekia (see edit history)

Share this post


Link to post
Share on other sites

i have a white page... (tpl error)

 

 

But i've tried also to pass the link via php, and when i add it in php there is an error like this:

 

Cannot redeclare class ManufacturerCore in C:\xampp\htdocs\prestashop\classes\Manufacturer.php on line 466

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More