Jump to content

[SOLVED] alternative for Product::getByReference() - because of deprecated


Recommended Posts

what you mean by no luck? error code? or what?


you changed code of your producT:getByReference call with proper variables? see differencies:

public static function getByReference($reference)

public static function searchByName($id_lang, $query)

Link to comment
Share on other sites

At first I herped then I derped.


I replaced all the functions and changed the options I was passing through, not realizing that actually I had named some of variables incorrectly. 


Thanks for the help Vekia, that actually has done the job just fine!

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...