Codeinwp / Codeinwp/woocommerce-product-addon

Thumbnail image next to option

Open
#613 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
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:

  1. Pineapple
  2. Olives
  3. 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

  1. this image should be a thumbnail, maybe only 30-50px large.
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.