*

ZP2021

  • **
  • 13 posts
Category Description
« on: February 19, 2021, 07:44:29 PM »
Hi,

How can I enable category description on web page?
Picture: https://prnt.sc/1015qqe

*

ZP2021

  • **
  • 13 posts
Re: Category Description
« Reply #1 on: February 20, 2021, 12:06:29 AM »
And category images not shown in category and subcategory.
Picture: https://prnt.sc/101cu8q

I have options in admin - but it is not appear on web-page.

Please help!

*

ZP2021

  • **
  • 13 posts
Re: Category Description
« Reply #2 on: February 20, 2021, 01:22:57 AM »
I am done with description... I am use this code: <?php echo osc_category_description($locale = “”); ?>
But still can`t add category image.
Could you please help? What I need to add?

*

mocody

  • ****
  • 139 posts
  • Only Marketing matters
Re: Category Description
« Reply #3 on: February 20, 2021, 07:30:03 AM »
@ZP2021

i think you need to use font awesome 4.7 for Beta Theme,
it's already integrated with the theme options,
see the link below

https://fontawesome.com/v4.7.0/icons/

*

ZP2021

  • **
  • 13 posts
Re: Category Description
« Reply #4 on: February 20, 2021, 12:48:57 PM »
@mocody

Thank you for your reply. No, there is option to upload  large jpg*. 
Picture: https://prnt.sc/101cu8q

*

MB Themes

Re: Category Description
« Reply #5 on: February 20, 2021, 12:54:38 PM »
@ZP2021
Here is code to get large category image.
Code: [Select]
$cat_id = @osc_search_category_id()[0];
$img = osc_base_url() . 'oc-content/themes/beta/images/large_cat/' . $cat_id . '.jpg';
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ZP2021

  • **
  • 13 posts
Re: Category Description
« Reply #6 on: February 22, 2021, 12:43:22 AM »
Thank you!

*

ZP2021

  • **
  • 13 posts
Re: Category Description
« Reply #7 on: February 22, 2021, 12:47:57 AM »
One more question... I was add category image and description in new <div id>. What I need to add and where to refresh it automatically?

*

MB Themes

Re: Category Description
« Reply #8 on: February 22, 2021, 08:12:39 AM »
@ZP2021
It must be included in list of refresh boxes for ajax search, if you mean that. (global.js)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots