Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Mar 2011
    Posts
    65
    Plugin Contributions
    0

    Default Product Info Page

    How can I add an image to my product info page?

    I don't mean an addtional product image; this image is my logo to be on all the product info pages on the right side of the product since their is a blank space there.

    I'm using the latest version

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Product Info Page

    it would be added in your:
    l/includes/templates/CUSTOM_TEMPLATE/templates/tpl_product_info_display.php file:

    to pull your logo with a link to home page add:
    Code:
    <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
    to pull just your logo add:
    Code:
    <?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?>
    hope this helps!

  3. #3
    Join Date
    Mar 2011
    Posts
    65
    Plugin Contributions
    0

    Default Re: Product Info Page

    Great, thanks for the reply.

    I see my logo displayed underneath the product image, but I would like it to appear on the right side of the image. Also, the logo I want to display is not the same one as in my header, but it is located in my images folder.

  4. #4
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Product Info Page

    to pull an image from images/ with a link to home page add:
    Code:
    <a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/YOUR_IMAGE'); ?></a>
    to pull just an image add:
    Code:
    <img src="<?php echo DIR_WS_TEMPLATE  ?>images/YOUR_IMAGE" />
    I will need a link to site to make suggestion on moving image to right.

  5. #5
    Join Date
    Mar 2011
    Posts
    65
    Plugin Contributions
    0

    Default Re: Product Info Page

    http://kamskungfucinema.com/zencart/...&products_id=1

    I want the image to occupy the blank area to the right of the dvd

  6. #6
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Product Info Page

    1st. Wrap the following around the code for the image:

    <!--bof Product Info MyImage-->
    <div class="productInfoMyImage">

    </div>
    <!--eof Product Info MyImage-->

  7. #7
    Join Date
    Mar 2011
    Posts
    65
    Plugin Contributions
    0

    Default Re: Product Info Page

    Ok...I'm not sure what you mean by "wrap it around".

    The url code for my image should go in the middle?

  8. #8
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Product Info Page

    <!--bof Product Info MyImage-->
    <div class="productInfoMyImage">
    <img src="<?php echo DIR_WS_TEMPLATE ?>images/YOUR_IMAGE" />
    </div>
    <!--eof Product Info MyImage-->

  9. #9
    Join Date
    Mar 2011
    Posts
    65
    Plugin Contributions
    0

    Default Re: Product Info Page

    Ok, awesome my image is finally up there. It's still too low though and underneath my product. If I could just move it up and too the right

    http://kamskungfucinema.com/zencart/...&products_id=1

  10. #10
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Product Info Page

    wow, ok - need to trim the whitespace around actual image.

    I see where you are going with this, really cool ideal but have to trim image down. I trimmed it, I sending it to you in a pm. upload it to replace current. I didn't change or alter just trimmed the white space.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Product info page blank but shows template no info
    By Pablo_escobar in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Jan 2014, 11:17 PM
  2. Product Info page...info column width.
    By Tantirx in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Apr 2011, 12:25 AM
  3. Product Info Page: Moving Product Name Up On Product Info Page
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Feb 2010, 08:01 AM
  4. how do i remove all links to end product info page on multi product page?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Nov 2007, 06:10 PM
  5. No product info/ image on product info page
    By ali.peracha in forum General Questions
    Replies: 4
    Last Post: 4 Apr 2007, 05:16 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