Jump to content

Adding custom fields to Product without override


Recommended Posts

Im working on 1.7.8+ version, i would like to add custom fields to product without override. (facing many issues with override, sometimes need to remove /var/cache/<dev/prod>/class_index.php).

The fields are used for frontend and backend purpose.

 

Is there a way that custom fields can be added without override? (using hooks or other way)

 

Thanks,

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

11 minutes ago, abdullacm said:

Im working on 1.7.8+ version, i would like to add custom fields to product without override. (facing many issues with override, sometimes need to remove /var/cache/<dev/prod>/class_index.php).

The fields are used for frontend and backend purpose.

 

Is there a way that custom fields can be added without override? (using hooks or other way)

 

Thanks,

take your dev to next level using PrestaShop template inheritance, before this feature one could only add to front office, now you can add/change/delete front office content.

once you master this you can write very nice front office features 

learn more here

https://devdocs.prestashop.com/1.7/themes/reference/template-inheritance/

Link to comment
Share on other sites

1 hour ago, El Patron said:

take your dev to next level using PrestaShop template inheritance, before this feature one could only add to front office, now you can add/change/delete front office content.

once you master this you can write very nice front office features 

learn more here

https://devdocs.prestashop.com/1.7/themes/reference/template-inheritance/

 

Yes im aware about this. I was talking about adding custom field to Product object model

  • Like 1
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...