Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Dynamic text in Product Description?

    Hi Gang!

    I have a variable text I'd like to display in certain products description such as:

    "Current manufacturing time: 3-4 weeks"

    Is there a php trick I could do so that I do that only once but is displayed on all the products I would like? Maybe with a simple php echo somehow?

    thanks,
    gabstero

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

    Default Re: Dynamic text in Product Description?

    Is there a php trick I could do so that I do that only once but is displayed on all the products I would like? Maybe with a simple php echo somehow?
    Where will the decision as to if to display or not be made? Most anything can be coded but one needs to decide if this is harder than adding manually
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Dynamic text in Product Description?

    Quote Originally Posted by kobra View Post
    Where will the decision as to if to display or not be made? Most anything can be coded but one needs to decide if this is harder than adding manually
    Thanks Kobra!

    I basically need it to be displayed only on say about 20 products description body.
    The thing is that the dynamic text (my case is the manufacturing time) changes from week to week, so it can become a drag to update those descriptions on all of those 20 pages.
    I was thinking I could maybe have some sort of dynamic php piece of code (echo maybe) in the place of that message I want displayed, but tweaking that from maybe a database field, or a separate form maybe?

    Is there maybe a module that already does that but I am un-aware of?

    thanks!
    gabstero

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

    Default Re: Dynamic text in Product Description?

    As far as I am aware of - this area is html only so php is not parsed if entered You may find some html to do this???
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,514
    Plugin Contributions
    126

    Default Re: Dynamic text in Product Description?

    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Nov 2007
    Posts
    342
    Plugin Contributions
    0

    Default Re: Dynamic text in Product Description?

    THANKS SO MUCH!!!!!

    Gabstero

 

 

Similar Threads

  1. Dynamic Attributes Value In Product Description
    By TesterServers in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 1 Nov 2009, 04:50 AM
  2. Centralising the product description text on product info page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Apr 2009, 10:17 AM
  3. Product description text
    By moksha in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Apr 2008, 12:05 AM
  4. creating dynamic links on product description
    By sn0ut in forum General Questions
    Replies: 2
    Last Post: 11 Nov 2006, 01:38 PM

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