Page 1 of 1

ALT Description text not present

Posted: 31 Dec 2023, 11:03
by Faggiano
Hello everyone,
i'm using Phoca Cart 4.0.10 , J 4.4.1 and no other plugins for the cart at the moment.
I would like to add the ALT text for pictures, products and, if possible, for images categories.

I found the documentation at this link :
https://www.phoca.cz/documentation/115- ... 80-options

But it's not clear how it works, and for sure don't give the possibility to add the ALT description to the cart images.

Is there a plugin tht works this way ?
Sould i need to act via code ?

Thank you to all.

Re: ALT Description text not present

Posted: 03 Jan 2024, 00:38
by Jan
Hi, not sure what do you exactly mean. Images have standard alt tag, e.g. category image has alt tag as category title, product image as product title. :idea:

Jan

Re: ALT Description text not present

Posted: 04 Jan 2024, 11:50
by Faggiano
Jan wrote: 03 Jan 2024, 00:38 Hi, not sure what do you exactly mean. Images have standard alt tag, e.g. category image has alt tag as category title, product image as product title. :idea:

Jan
The problem is the ALT description that in seo is very important.
Any picture should have a name, for example windows-house-wood-black.jpg and relative description as title :
"The black wood windows for your house"

Phoca can only retrieve and add the description from file name, this is not good for seo and structured data.

Re: ALT Description text not present

Posted: 04 Jan 2024, 14:00
by Jan
Hi, if you need to change the alt description, just use template override and customize it for your self, e.g. the file for product images you can find here:
components/com_phocacart/layouts/image.php

Jan

Re: ALT Description text not present

Posted: 04 Jan 2024, 19:14
by Faggiano
Jan wrote: 04 Jan 2024, 14:00 Hi, if you need to change the alt description, just use template override and customize it for your self, e.g. the file for product images you can find here:
components/com_phocacart/layouts/image.php

Jan
Thank you !

Re: ALT Description text not present

Posted: 05 Jan 2024, 18:07
by landed
That can't work for each image.

Re: ALT Description text not present

Posted: 10 Jan 2024, 01:02
by Jan
Hi, we are talking about product image, if you want to edit other type of image, then in depends on part where this image is displayed.

Jan

Re: ALT Description text not present

Posted: 10 Jan 2024, 08:42
by Faggiano
Jan wrote: 10 Jan 2024, 01:02 Hi, we are talking about product image, if you want to edit other type of image, then in depends on part where this image is displayed.

Jan
ok, tank you