Skip Navigation

[Resolved] Creating the custom shop page

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to add an a custom icon
Solution:

What I would recommend doing is to create a checkbox with the links to images as their values and then set the name of the checkbox to the icon that you want the user to select.

Then on the frontend you can wrap the url in a img tag like this.

<img src="[types field='checkbox-field' output='raw'][/types]" />
This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 6 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#632298

Tell us what you are trying to do?
Display the right fields on shop page
One of the things the i want to do is display a selected image (icon) on the right place.

Kindly go to hidden link
You might need to login.
Login as
user: buyer1
pass: 1

In this page, you will see the marketplace. There is a square picture of the product and round blue images that look like an icon.

The blue icons image currently now are just direct image link. The things i wanted to do is to have user be able to select (not required upload) image from a set of prefix image during the product addition.

And then this image icon will be display out on the shop page.

I cant figure out how to make the selection image and then display

#633130

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jack,

What I would recommend doing is to create a checkbox with the links to images as their values and then set the name of the checkbox to the icon that you want the user to select.

Then on the frontend you can wrap the url in a img tag like this.

<img src="[types field='checkbox-field' output='raw'][/types]" />

Please let me know if this helps.
Thanks
Shane