Print Page | Close Window

Category Description Box Move

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=4636
Printed Date: 07-July-2025 at 10:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Category Description Box Move
Posted By: Peace
Subject: Category Description Box Move
Date Posted: 26-July-2011 at 11:42pm
Hey,

I want to move "pcPageDesc" (in the category pages) below all of the products. Simple enough, right? Well, I also wanted to make another content box to replace "pcPageDesc" above the products (let's call the new box "pcUpperPageDesc"), but I want to be able to edit both "pcPageDesc" and "pcUpperPageDesc" from within the pcControlPanel. Is this possible (and if so, explain how), or do I have to choose which box to keep editable within the pcControlPanel and make the other one hardcoded (so that I have to change its contents from some file on my hosting server)?

Thanks,
Peace



Replies:
Posted By: whizzinpc
Date Posted: 27-July-2011 at 10:02pm
We did this. You just need to copy the description code to the new location and change the place its getting the description from. You will need to add a column in the db categories table to do this. You can just use search function to find which pages use the category description in the pc folder and admin folder.
Here is an example.
http://www.memorablegifts.com/gifts/pc/Baptism-Gifts-c298.htm" rel="nofollow - http://www.memorablegifts.com/gifts/pc/Baptism-Gifts-c298.htm



Posted By: Peace
Date Posted: 28-July-2011 at 3:29am
And you can edit both fields from within pcControlPanel? And if so, where would the second field be in pcControlPanel's category page configuration for?


Posted By: Peace
Date Posted: 03-August-2011 at 2:05am
BUMP!


Posted By: whizzinpc
Date Posted: 03-August-2011 at 10:45am
It will be just below the long description when your editing a category.


Posted By: whizzinpc
Date Posted: 03-August-2011 at 10:56am
I sent you a pm of the project I did. I basically added a field to the database called BottomDesc and then edited all the files. So if you view the files in the zip just search for BottomDesc to find the code I added. We are running 4.1BA Sp1 so make sure you use your own files and just use winmerge or something to compare and copy the code you need.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net