PHP to extract Product Color Options

Open to all! Ask other shopowners for help.
madruga
Member
Posts: 38
Joined: Thu Mar 16, 2023 12:43 pm
Phoenix Version:
Has thanked: 22 times
Been thanked: 2 times

Re: PHP to extract Product Color Options

Post by madruga »

raiwa wrote: Thu Apr 04, 2024 6:33 pm No problem if it works for you :+1: . Just wondered if your customers will always correct identify the colour option name in the pull down with the sample colours.
You do not need to use the available Addons. You could recode the option selection to a radio list which shows the colour samples in the radio description and make it easier for your clients. Just an idea. :)
Mine works as follows:

1. The available colour options are displayed next to product. Click a colour, and the product displayed changes to the colour you clicked. Example the t-shirt your are viewing changes to the colour you clicked and with same design on it.

2. If you click a colour on the dropdown box, the product displayed changes to the colour you clicked in the dropdown box. Example the t-shirt your are viewing changes to the colour you clicked and with same design on it. Also, the dropdown box now has the selected colour at top ready for adding to basket.

Pretty straightforward and very clean. I like the visual display of the colour options next to products, and not in the dropdown box. Many customer of mine never knew they could visually see my product in the colour they select in the dropdown box but I already had that. They wanted to see actual colour options next to products.

Thank to all for help and input with this.

colour_options.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by madruga on Fri Apr 05, 2024 4:19 pm, edited 1 time in total.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: PHP to extract Product Color Options

Post by burt »

That's great, well done.
You might like to upload it as an addon so that other users can benefit.

https://phoenixcart.org/forum/addons/


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply