Jump to content

override - classes/product.php


Nuvish

Recommended Posts

[sOLVED]I copied classes/Product.php to override/classes/Product.php.

I have put the class declaration as - class Product extends ProductCore.

And i have put a small function in there,not much..

The override works fine(uses my small function correctly).

But the thing is, when i go to a product page, i have the word ''array'' appearing at many places.

breadcrums becomes - Accueil > Hair> Array ,

availability : Array ,

and the tab more info has content : Array

Ive tried looking a solution for this but found none..

 

Please help me..

Link to comment
Share on other sites

  • 4 weeks later...

Hi,

 

I don't know if you have the answer now.

I think that you can try to put only your new function in the override

not a full copy of the original classe.

When I faced with this problem of (Array) anywhere, I resolved by deleting the overrided init() function.

Hope that can help you.

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

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