I run my online shop with Woocommerce. I have created several checkboxes on the product level (specific custom post type).
Bio, Upcycling, Swiss Made, Handmade, Fair & Social
If I enter a new product or if I modify an existing product I can maintain this checkboxes.
Now I'd like to display for each selected checkbox a specific Icon on the single product page, in the area of product description.
Even I have a licence for "View" I think this could be done with some code directly in the template.
Can you give me an example how the code has to look like?
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
Serge, since your custom checkboxes field is storing multiple options, it is not possible with Views shortcode wpv-if, I suggest try create a custom shortcode for it, like this:
nothing is displayed. Did I setup the custom field correctly (please see attachment)? I also tried with the value "hallo" instead of the path of the icon.
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
Could you send the login details of your website to my email: luo.y@onthegosystems.com, also point out the problem page URL and where I can edit theme files, thanks
The topic ‘[Closed] Showing an icon for selected checkbox’ is closed to new replies.