how split the category description
- vodka
- Phoca Enthusiast
- Posts: 53
- Joined: 06 Apr 2022, 21:57
how split the category description
please tell me how to split category description into two parts before and after the pictures for Phoca Cart (J4)
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how split the category description
Hi, there is no such option for description. So this needs to be customized.
e.g. per template override, where own output will be set and description will be divided to e.g. short and long description
or plugin can be created. There are following events in category view:
- onPCVonCategoryBeforeHeader
- onPCLonCategoryGetOptions
- onPCLonCategoryInsideLayout
- onPCVonCategoryItemAfterAddToCart
Jan
e.g. per template override, where own output will be set and description will be divided to e.g. short and long description
or plugin can be created. There are following events in category view:
- onPCVonCategoryBeforeHeader
- onPCLonCategoryGetOptions
- onPCLonCategoryInsideLayout
- onPCVonCategoryItemAfterAddToCart
Jan
If you find Phoca extensions useful, please support the project
- vodka
- Phoca Enthusiast
- Posts: 53
- Joined: 06 Apr 2022, 21:57
Re: how split the category description
please tell me the path to the file that is responsible for displaying the category description
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how split the category description
Hi,
components/com_phocacart/views/category/tmpl/default_header.php
Jan
components/com_phocacart/views/category/tmpl/default_header.php
Jan
If you find Phoca extensions useful, please support the project
- vodka
- Phoca Enthusiast
- Posts: 53
- Joined: 06 Apr 2022, 21:57
Re: how split the category description
Thank you
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: how split the category description
OK
If you find Phoca extensions useful, please support the project