Page 1 of 1

how split the category description

Posted: 06 Apr 2022, 22:11
by vodka
please tell me how to split category description into two parts before and after the pictures for Phoca Cart (J4)

Re: how split the category description

Posted: 06 Apr 2022, 23:56
by Jan
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

Re: how split the category description

Posted: 07 Apr 2022, 14:59
by vodka
please tell me the path to the file that is responsible for displaying the category description

Re: how split the category description

Posted: 11 Apr 2022, 13:32
by Jan
Hi,

components/com_phocacart/views/category/tmpl/default_header.php

Jan

Re: how split the category description

Posted: 21 Apr 2022, 21:37
by vodka
Thank you

Re: how split the category description

Posted: 22 Apr 2022, 23:42
by Jan
OK