Jump to content

Adding the Model year for the products


David Henry
 Share

Recommended Posts

We are setting a site that sells vehicles, yes we can list manufactures and models but I don't see an easy way to add "Year" so that it's really easy to update.

 

Does anyone know is this is possible through a module?

 

Alternatively...

 

Does anyone know how to custom build this?

 

David

Share this post


Link to post
Share on other sites

Do you mean listed in the front office? If so, then yes it's possible I guess but would take a little work unless you just use the blocklayered module. That can be used to FILTER on a feature (although not sort I don't think).

 

There's a hook in the CategoryController (ActionProductListOverride) that lets you build your own product listing - that's probably where I'd start on a custom solution.

 

If it's the Back Office then all you would need to do is override AdminProductController to change which fields are presented in the listing (plus probably a callback and/or table join/additional sql to look up the feature value).

Edited by Paul C (see edit history)

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