jayashanka Posted August 24, 2023 Share Posted August 24, 2023 Hi, I'm trying to add custom fields product page. Fields should display in admin and vendor both side in Add/Edit Product page. Also showing few custom fields values in Front Single Product side. I couldn't find any supportive developer document for this. Appreciate your help on this. Link to comment Share on other sites More sharing options...
endriu107 Posted August 24, 2023 Share Posted August 24, 2023 What this custom field should do in front office? Link to comment Share on other sites More sharing options...
jayashanka Posted August 24, 2023 Author Share Posted August 24, 2023 (edited) 56 minutes ago, endriu107 said: What this custom field should do in front office? Hi @endriu107 Front Office (Single Product Page) Bonus Point : Show the bonus point that customer can earn by purchasing product. Bonus point will calculate by backend function. BackOffice (Add/Edit Product Page) Textfield: Reserved Profit (double value) Dropdown: Percentage/Fixed based on dropdown value, text input type change Edited August 24, 2023 by jayashanka (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted August 24, 2023 Share Posted August 24, 2023 I think you need to create module with DB table where you will keep all data from prducts. In BO you can use hook like displayAdminProductsExtra or any other workinkg in product and on product save you must put data from extra fields to DB. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now