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.
ALT Description text not present
- Jan
- Phoca Hero
- Posts: 48389
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: ALT Description text not present
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.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 20 Sep 2023, 16:46
Re: ALT Description text not present
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.
- Jan
- Phoca Hero
- Posts: 48389
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: ALT Description text not present
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
components/com_phocacart/layouts/image.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 20 Sep 2023, 16:46
- landed
- Phoca Professional
- Posts: 121
- Joined: 15 Sep 2023, 10:51
Re: ALT Description text not present
That can't work for each image.
- Jan
- Phoca Hero
- Posts: 48389
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: ALT Description text not present
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 20 Sep 2023, 16:46