Thread: Change pru

Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    38
    Plugin Contributions
    0

    Default Change pru

    Hello,

    I wonder how to change the location of the product name after you clicked on it. the name appears to the tight of the image, but the have it below the image.

    I've searched the forum but cannot find a solution. Properly because i don't know what the name of this page is. I've attached a screenshot for a better explanation.

    Thanks in advance.

    Michael
    Attached Images Attached Images  

  2. #2
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Change pru

    Quote Originally Posted by roekoe View Post
    Hello,

    I wonder how to change the location of the product name after you clicked on it. the name appears to the tight of the image, but the have it below the image.

    I've searched the forum but cannot find a solution. Properly because i don't know what the name of this page is. I've attached a screenshot for a better explanation.

    Thanks in advance.

    Michael
    You need to edit the includes/templates/override/templates/tpl_product_info_display.php file.

    Thanks,

    Anne

  3. #3
    Join Date
    Feb 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: Change pru

    Quote Originally Posted by picaflor-azul View Post
    You need to edit the includes/templates/override/templates/tpl_product_info_display.php file.

    Thanks,

    Anne
    I was afraid of that, but wasn't sure of it and hoped it could be done via the admin.
    Thx for your reply.

    regards,
    Michael

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Change pru

    Nothing to be afraid of mate...

    Move this:
    includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->


    To this:
    includes/templates/YOUR_TEMPLATE/templates/tpl_modules_main_product_image.php

    <?php
    echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->
    </div>
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  5. #5
    Join Date
    Feb 2010
    Posts
    38
    Plugin Contributions
    0

    Default Re: Change pru

    That worked (but you already knew that ). Thanks!

    Do how to align the the pricebox vertically by the way? I really appreciate that you helped me out with the product name thing, so please don't spend much time on this.
    Click image for larger version. 

Name:	align.png 
Views:	41 
Size:	30.3 KB 
ID:	13708

  6. #6
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Change pru

    Glad it worked for you :)

    There are a number of ways to move the add to cart box based on the location of the div container in the code and how your CSS has been setup.

    This would move it down efficiently:
    includes/templates/YOUR_TEMPLATE/css/stylesheet.css

    #cartAdd {
    padding-top: 2em;
    }
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

 

 

Similar Threads

  1. Change Store name and adress for language change
    By mrrcomp in forum Basic Configuration
    Replies: 0
    Last Post: 25 Aug 2008, 05:12 AM
  2. Change language by URL. - Incoming link will change the curency
    By thailandosc in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 10 Jul 2008, 11:41 PM
  3. Why make it so difficult to change things evereyone will want to change?
    By birdoasis in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Jan 2007, 12:01 AM
  4. Replies: 2
    Last Post: 31 Dec 2006, 07:04 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