Zen Cart Logo
Forums / Basic Configuration / Pre Populate Product Description Field?

Pre Populate Product Description Field?

Locked

Views: 1,328

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Nov 2010, 4:51 PM
#1
pglad avatar

pglad

Zen Follower

Join Date:
Jun 2007
Posts:
198
Plugin Contributions:
0

Pre Populate Product Description Field?

I use an HTML table in my product description field for adding various details, is there a way I can pre populate this field with the table to avoid having to cut and paste the HTML into it every time?

I know I can set up default values for various fields via phpMyadmin but this will not work for a text field, is there a way I can do this through Zencart?

Thanks.

10 Nov 2010, 5:07 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Pre Populate Product Description Field?

Try this (remove space)
http: //www.thatsoftwareguy.com/zencart_php_in_description.html

10 Nov 2010, 5:45 PM
#3
pglad avatar

pglad

Zen Follower

Join Date:
Jun 2007
Posts:
198
Plugin Contributions:
0

Re: Pre Populate Product Description Field?

Thanks for the suggestion Kobra, but that isn't quite what I need.

When I click to add a new product and collect_info.php displays, I need some way to have an HTML table already in the product description field which I can then edit before adding the new product. Is this possible? :lookaroun

10 Nov 2010, 5:52 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Pre Populate Product Description Field?

I guess the easiest way is to have the source code for the table in a txt file that you can copy & paste when in the text mode
This can be toggled if you are using the html area editor

10 Nov 2010, 5:58 PM
#5
pglad avatar

pglad

Zen Follower

Join Date:
Jun 2007
Posts:
198
Plugin Contributions:
0

Re: Pre Populate Product Description Field?

Yeah that's what I've actually been doing, just wondered if there was a way to set a default value in the description field so the table is already there rather than having to cut and paste every time.

Thanks anyway :D