Jump to content

Add product features description field (PS 1.7.6.8)


Recommended Posts

Hi All,

Need some suggestions.

I'm working with the new project where Products Features Values will be used as additional information. So in this case I have done some modifications to the shop theme to display additional tab and list of selected Product Features Values.

What I'm looking is to display additional details for each Feature Value.

Lets say we have Feature "Tools" and Feature Values "Hammer" and "Handsaw". In this case I will need to get an option to get extra field in the database to provide Feature Description together with Feature Values. Result mus be like:

Hammer 

  • Wear safety glasses or goggles, or a face shield (with safety glasses or goggles).
  • Strike a hammer blow squarely with the striking face parallel to the surface being struck.
  • Always avoid glancing blows and over and under strikes.

 

Handsaw:

 

  • Hold stock being cut firmly in place.
  • Use a helper, a supporting bench or vise to support long stock if required.
  • Keep teeth and blades properly set.
  • Protect teeth of saw when not in use.
  • Keep saw blades clean.

 

I'm looking for suggestions of how to get this description field:

Product Features database table.

Ability to create and edit Product Features as usual with this extended field added.

Ability to select Features as usual on product edit page (Admin side).

Fetch this new field in TPL file.

 

Thanks all for your suggestions and ideas.

 

 

Link to comment
Share on other sites

  • 3 years later...
  • 9 months later...

Hello, 

I'm trying to add some fields to the features value form but without success. 

The links provided are not available anymore. Can someone help with the links or help me with some code that I can use to add some text fields? 

 

Thanks! 

Edited by RaresC (see edit history)
Link to comment
Share on other sites

On 10/10/2024 at 6:18 PM, RaresC said:

Hello, 

I'm trying to add some fields to the features value form but without success. 

The links provided are not available anymore. Can someone help with the links or help me with some code that I can use to add some text fields? 

 

Thanks! 


Hi everyone,

I am also looking for a solution to extend product feature in PS8.1. 

Any ideas where to start? I would like to add additional field like "URL" and be able to access it from the Smarty


EDIT:
Ok I can see I can use these hooks in my module to modify Feature 
actionAdminFeaturesFormModifier
actionAdminFeaturesControllerSaveAfter
actionFeatureFormBuilderModifier
actionAfterUpdateFeatureFormHandler
actionAfterCreateFeatureFormHandler

image.thumb.png.bd3afc06c60b57c97b1f4a79188d6a48.png

But it won't affect Feature Value screen... Still looking for a solution 

image.thumb.png.2fd44a25bd966eb7c7d31b6c5787133e.png

Edited by limera1n
Added screenshots (see edit history)
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...