Codeinwp / Codeinwp/woocommerce-product-addon
Thumbnail image next to option
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 15
- Forks
- 9
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 16
Description
What problem does this address?
This ticket is a feature request to let the admin define a small thumbnail image to appear next to the selectable Custom Fields on a product page.
This makes it easier for for a customer to "see" what the option will provide
What is your proposed solution?
In the admin view, when editing a PPOM field with multiple options (eg Checkbox, Radio, or Select), a new column would be added to each row (of Options) in the Add Options tab. This filed would let the admin choose a small thumbnail image for each of the options.
For example, if the user has a PPOM field of type "Checkbox", then the could have the following options for the checkbox:
- Pineapple
- Olives
- Tomato
And they could show a small icon of each of the above toppings next to each of the checkbox items.
I'd like to stress that
- this image should be a thumbnail, maybe only 30-50px large.
- the image isn't to replace the text of the option; it's to compliment it adjacent to the text
Will this feature require documentation? (Optional)
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing the admin view's PPOM field editor and the Add Options tab, then follow how Checkbox, Radio, and Select options are rendered on the product page. Done means admins can assign small thumbnails and customers see 30–50px images adjacent to the option text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- full-stack
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100