Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2009
    Posts
    5
    Plugin Contributions
    0

    red flag Desription Paragraph

    I am trying to add a sort of disclaimer to all of my zen carts, thousands of pages. Now is there an easier way to add a product description paragraph at the bottom of every page in the stores without having to do this page by page? Maybe a database insert by wide spread method and if so how can i do this.
    Last edited by Survone; 2 Oct 2009 at 06:24 PM. Reason: Missed 1 sentence

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Desription Paragraph

    Using your templates and overrides you could just add it to the tpl_product_info_display.php where you want it to show ...

    Or, if you needed it everywhere you could add it to the footer in the tpl_footer.php ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Oct 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Desription Paragraph

    Quote Originally Posted by Ajeh View Post
    Using your templates and overrides you could just add it to the tpl_product_info_display.php where you want it to show ...

    Or, if you needed it everywhere you could add it to the footer in the tpl_footer.php ...
    I appreciate the quick response on this but im a n00b to this can you maybe explain in more detail.

  4. #4
    Join Date
    Oct 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Desription Paragraph

    Quote Originally Posted by Survone View Post
    I appreciate the quick response on this but im a n00b to this can you maybe explain in more detail.
    I like the first solution on the product page insert. If I want it just under the product info where would i look at in that tpl file to find this? And will this do it across the whole system or just that 1 page? If so then solution #2 is the way i really need a just a one paragraph insert into the footer.
    Last edited by Survone; 2 Oct 2009 at 06:55 PM. Reason: adding 1 sentence

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Desription Paragraph

    To place it on the One page for the product_info page, you would customize the:
    tpl_product_info_display.php

    in your templates and overrides ...

    If you do not have that file in your templates and overrides, you would get the original from:
    /includes/templates/templates_default/templates/tpl_product_info_display.php

    then copy that to your templates and overrides directory:
    /includes/templates/your_template_dir/templates/tpl_product_info_display.php

    To place it on ALL pages of your site would be the footer:
    /includes/templates/templates_default/common/tpl_footer.php

    and use your templates and overrides for that:
    /includes/templates/your_template_dir/common/tpl_footer.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Oct 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Desription Paragraph

    okay now i unserstand thank you so much. One more thing will this only show on the product pages or the whole site?

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Desription Paragraph

    If you put it in the footer template ... then you will see it on ALL pages ...

    If you put it in the product_info template file, then you will see it on only ONE page ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Oct 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Desription Paragraph

    So there is no true way of just placing the disclamer on the site without going page by page in the products only then.

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Desription Paragraph

    Work with me here ... maybe I am not explaining this clearly ...

    The FOOTER is displayed on ALL pages of your site ... if you want this on ALL pages of your site, add it to the FOOTER ...

    The product_info is the detail page of your Products ... if you ONLY want this on the product_info then you put it in that template and it will NOT show on ALL pages and ONLY show on the product_info for your Products ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Desription Paragraph

    When Linda referred to "one page" in her explanations above, she meant one type of page, or perhaps more clearly, one particular code page, in this case your product_info page. The product_info code page is one part of the set of code pages which go together to display all of your products, one by one, each on its own rendered page in the browser.

    [And having tried to clarify this myself, I'm beginning to get the feeling I'm sinking in quick sand. ]

    Rob

 

 

Similar Threads

  1. spliting a paragraph
    By lions1855 in forum General Questions
    Replies: 6
    Last Post: 27 Feb 2010, 09:57 PM
  2. how to copyprotect images & product desription?
    By rickiesdiscount in forum General Questions
    Replies: 2
    Last Post: 4 Nov 2008, 09:38 AM
  3. First Paragraph change
    By virago in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Sep 2006, 05:56 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