ALT Description text not present

Phoca Cart - complex e-commerce extension
Faggiano
Phoca Member
Phoca Member
Posts: 11
Joined: 20 Sep 2023, 16:46

ALT Description text not present

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ALT Description text not present

Post 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
If you find Phoca extensions useful, please support the project
Faggiano
Phoca Member
Phoca Member
Posts: 11
Joined: 20 Sep 2023, 16:46

Re: ALT Description text not present

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ALT Description text not present

Post 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
If you find Phoca extensions useful, please support the project
Faggiano
Phoca Member
Phoca Member
Posts: 11
Joined: 20 Sep 2023, 16:46

Re: ALT Description text not present

Post 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 !
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: ALT Description text not present

Post by landed »

That can't work for each image.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: ALT Description text not present

Post 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
If you find Phoca extensions useful, please support the project
Faggiano
Phoca Member
Phoca Member
Posts: 11
Joined: 20 Sep 2023, 16:46

Re: ALT Description text not present

Post 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
Post Reply