Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Pre Populate Product Description Field?

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

  3. #3
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default 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?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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

  5. #5
    Join Date
    Jun 2007
    Posts
    195
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. v151 How to pre-populate hidden field in php email form?
    By frank18 in forum General Questions
    Replies: 3
    Last Post: 18 Nov 2013, 06:47 AM
  2. Replies: 1
    Last Post: 17 Sep 2013, 05:30 PM
  3. Easy Populate upload issues with description field
    By wonderbread101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 15 Jan 2012, 08:24 PM
  4. Pre-populating product description
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 May 2008, 04:22 PM
  5. Missing product name and description in Easy Populate
    By rikko101 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 17 May 2007, 05:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg