Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Category Description on Category Page
Author « Topic »  

notyethot
Starting Member

United Kingdom
10 Posts

Pre-sales questions only
(More Details...)

Posted - 11/12/2021 :  10:08:31  
Can you please point me in the direction of instructions on how to include the 'Category Description' from the Admin Add Category page onto the categories.php page?
Thanks in advance.

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 11/12/2021 :  13:13:04  
Hi Adam

In the admin head to Product Admin > Categories then select the category. This will open up the screen to modify the category & you will see two boxes totled Category Description & Category Header. Those boxes will accept HTML code. Make sure to have the Froala HTML editor enabled so as to see the full range of editing options.



What you have in the description box will show on the website category screen.

If you haven't installed the Froala editor this will help you out
https://www.ecommercetemplates.com/free_downloads.asp#htmleditor

Steve
Bolton Lancashire

Edited by - 1818charlie on 11/12/2021 13:25:47

notyethot
Starting Member

United Kingdom
10 Posts

Pre-sales questions only
(More Details...)

Posted - 11/15/2021 :  02:48:01  
Thanks Steve. The issue here is that I have content that I have already added in the Category Description field but I doesn't appear on the category page. I'm thinking that I might have deleted some code or that I have set something to false or that I'm making an incorrect assumption about the way it works.

Here is the categories page:
http://1113526757.n49738.test.prositehosting.co.uk/categories.php?cat=Hook-up

Here are the category settings:
https://www.awdesign.net/images/category.jpg

Neither the text or the category image are displayed. I'll add a Content region to the page if it's not possible to display the information in a category that other categories can be added to.

Thanks,
Adam

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 11/15/2021 :  03:13:04  
Morning Adam

This feature is particularly useful if you are using the dynamic title / meta description tag feature as you can remove the category name and / or the category description from the publicly viewable categories page whilst entering them in the category admin page so they can be used for the dynamic title / meta description tags.

Removes the category name
$nocategoryname=TRUE;

Removes the category description
$nocategorydescription=TRUE;

Steve
Bolton Lancashire

Edited by - 1818charlie on 11/15/2021 03:14:35

notyethot
Starting Member

United Kingdom
10 Posts

Pre-sales questions only
(More Details...)

Posted - 11/15/2021 :  05:52:27  
$nocategorydescription=TRUE; this wasn't set.

When I tried $nocategorydescription=FALSE; nothing changed.

The image still isn't there either.

notyethot
Starting Member

United Kingdom
10 Posts

Pre-sales questions only
(More Details...)

Posted - 11/15/2021 :  07:32:39  
After some fiddling around and reading through the PHP I have discovered that 'Category Header' is probably what I'm looking for in terms of functionality. It doesn't get placed where I want it on the page but I can possibly fix that with CSS Grid. Thanks for your suggestions.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000