Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Toronto, Ontario, Canada
    Posts
    469
    Plugin Contributions
    0

    Default Add a Link (hyperlink) inside the porducts area

    ok it sort of works

    1. create new product - done
    2. add in link of page you wat it to go to - done
    3. load into cart - done
    4. it shows up way at the bottom and not in the prduct description


    What I wat to do is have someone click to see the product and then if they like what they see - click the link that takes them to my on demand printing service - something like the zen cart book.

    Any ideas?

    Thanks

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Add a Link (hyperlink) inside the porducts area

    Modify the order in which elements are displayed in the Product Info page by editing tpl_product_info_display.php ...

    Find the element:-

    PHP Code:
    <!--bof Product URL -->
    <?php
      
    if (zen_not_null($products_url)) {
        if (
    $flag_show_product_info_url == 1) {
    ?>
        <p id="productInfoLink" class="productGeneral centeredContent"><?php echo sprintf(TEXT_MORE_INFORMATIONzen_href_link(FILENAME_REDIRECT'action=url&goto=' urlencode($products_url), 'NONSSL'truefalse)); ?></p>
    <?php
        
    // $flag_show_product_info_url
      
    }
    ?>
    <!--eof Product URL -->
    ... and CUT / PASTE it in a different part of the file - higher up...

    Each of the elements is "sectioned" by these html commented describers:

    <!--bof XXXXXXXX -->

    ... some code here...

    <!--eof XXXXXXXX -->

    ... so make sure you keep them all separate, but shifting them around changes the display order on the page.
    20 years a Zencart User

  3. #3
    Join Date
    Sep 2008
    Location
    Toronto, Ontario, Canada
    Posts
    469
    Plugin Contributions
    0

    Default Re: Add a Link (hyperlink) inside the porducts area

    Ok Schoolboy - I fianlly got the chance to work on this one and am stuck..

    Were do I put the paste? I tried higher up but not working - not sure if I'm putting it into right place

 

 

Similar Threads

  1. why the links inside the admin area are not https?
    By mavik in forum General Questions
    Replies: 4
    Last Post: 8 Apr 2011, 05:06 PM
  2. Custom link INSIDE "My Account" area for EACH client
    By mistresszhivago in forum Managing Customers and Orders
    Replies: 0
    Last Post: 19 Oct 2010, 07:00 AM
  3. shopping cart on top of the page(inside header area)
    By Ms_X in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Mar 2010, 03:18 PM
  4. Help to add link separator inside Category box
    By mkm in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 26 Jun 2009, 07:29 AM
  5. Add a link in the comment area of an option name
    By meko19 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 17 Dec 2006, 11:51 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