- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2018
07:26 AM
06-20-2018
07:26 AM
I would like to add new field call discount that calculate from product's price - product's special price and make it able to filter by search criteria.
I think I should use Extension Attributes but I not sure how to implement it.
Can anyone help suggest?
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2018
10:31 PM
06-25-2018
10:31 PM
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2018
10:29 PM
06-25-2018
10:29 PM
Re: How to add calculate field to Product repository
Hi @jirawat_pattanayutanachot,
Isn't possible for you to use a custom attribute with a custom backend model to get the price difference?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2018
10:31 PM
06-25-2018
10:31 PM