Attributes: image select no title and no selection sign. Image checkbox double selection add only one variant to cart

Phoca Cart - complex e-commerce extension
Cartnewbie2
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Jan 2024, 16:16

Attributes: image select no title and no selection sign. Image checkbox double selection add only one variant to cart

Post by Cartnewbie2 »

Hello,

I am a newbie with Phoca cart. I couldn't find an answer to my question:
when I set an attribute with the image select type attribute
1) images are shown without a title (hoovering on the variant pop-ups the title but from a customer perspective I don't think that is obvious and clear) (that obliges you as a workaround to add written a label on the variant image you will upload increasing back end catalog setting work)
2) when I select one variant no selection sign appears on the image (while with image checkbox it does) and only if you set dynamic price change you might notice that you have actually selected something (also this does not look clear from a customer perspective)

I would be nice to have both shown and applied. Is there any hidden options that I am missing?

Also the image checkbox solution I have read it is meant to allow multiple selections and not a single exclusive one. However when you select 2 variants for example and the add to cart button only one variant price is calculated in the cart while both are shown

Thanks for your attention in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48397
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Attributes: image select no title and no selection sign. Image checkbox double selection add only one variant to ca

Post by Jan »

Hi, by select variant you can select one value, by checkbox variant you can select more values.

Can you paste some screenshots to know what do you exaclty mean with 1) and 2)?

Jan
If you find Phoca extensions useful, please support the project
Cartnewbie2
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Jan 2024, 16:16

Re: Attributes: image select no title and no selection sign. Image checkbox double selection add only one variant to ca

Post by Cartnewbie2 »

When you add an attribute and specify 2 options if you chose as type select image and you add a small image to the option the two images are shown under the attribute title (pick a size) as the 2 available variants. The two small images have no flag, even if one of them is set as default and no description of the variant (i.e. XL, M) is immediately readable. You have to hoover on the small image to have the text to appear. It would be nice that the title of the option is shown under or over the small image and not only when you hoover on them. Also if you select one image or on the default it would be nice to have a flagged sign (like you have with checkbox select).

The only way you can distinguish the two option is currently to add an big image in the options before the small images because when you click on the small image the big image is changing and you can undestand what you have selected. If you don't do it you are simply unable to distinguish what variant is selected if you do not edit the images adding a label, expecially if the price stays the same.

Regarding point 2
If you use checkbox image and select 2 variants both appear in the checkout but the total price is equal to option 1 price or option2 price, not the option price1+ option price2

screenshot link
https://imgur.com/a/i86kAg8

in the screenshot:
option 1 is the bulgarian flag. It is the default option. The image has not text describing the option, no flag sign on it. If the book image was not there clicling on option 2 (the chinese flag) you would not see anything changing except the different price in this case. You wouldn't even know on which selection you are (if a border appeared around the image or a flag sign on it you would). In this case if you click on the chinese flag the big image changes into a map

screenshot two after clicking on option 2 the chinese flag

https://imgur.com/IY1fHoe
the big image has changed but the small images show no selection so no one can understand what has been actually selected if not because of the big image change and eventually the price change

screenshot 3
https://imgur.com/mjfO89V

In this screenshot the type is image checkbox. The selections are evident because of the checkbox and the flag signs on the small images. One apparent contradiction here is that the big image does not change if you select both the small images (if the big images are different it would be better that both are shown). If you select only one checkbox the big image changes

screenshot 4
Now we leave both selection and click add to cart with quantity 1

first of all after clicking on the add to cart button there is not hint that something has been added to the cart on the same page. From a customer perspective this is also confusing. The page is reloading and I get back to the same product page. A confirmation that the article has been added to the cart would be helpful

https://imgur.com/fU88iHI

Checking the cart both the items appear as per selection bottle 100 ml and bottle 200 ml but the total price is the price of bottle 2 (40e) while bottle 100 ml price (20e) is not counted
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48397
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Attributes: image select no title and no selection sign. Image checkbox double selection add only one variant to ca

Post by Jan »

Hi,

as written in documentation, some features cannot be used logically in some combinations. If you have two attributes, there is no logical way to display right large image when some of the attribute is selected.

So some features are limited to only one attribute.

Mostly, standard attributes are not used as when more, the logic does not work, e.g. t-shirt:

- T-Shirt can have color and size but it cannot have only size without color, the same it cannot have only color without size. This is why there is Advanced Stock Management - to make combination of all possible attribute options:
https://www.phoca.cz/documentation/115- ... management

So there are some combinations of features which will always not work - like having one image from two different attributes - this is not possible if not advanced stock management is used.

Anyway - all types of attributes have layout so they can be overriden by template override, e.g.:

components/com_phocacart/layouts/attribute_options_checkbox.php

All can be found in folder: components/com_phocacart/layouts/

Jan
If you find Phoca extensions useful, please support the project
Post Reply