Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Posts
    5
    Plugin Contributions
    0

    Idea or Suggestion Did i modify the code correctly? Move the attribute near to near the add to cart.

    Hello i need to move the 'attribute' near to near the 'add to cart', I don't know anything about coding, but after searched a lot of threads here i modified the file: includes\templates\theme423\templates tpl_product_info_display.

    Not sure if it has been done correctly- any one can check this for me??
    I appreciate any help!!!Thank you


    The code been modified:

    Code:
    <!--bof Add to Cart Box -->
    
    <!--eof Add to Cart Box-->
    
    <!--bof Attributes Module -->
    <?php
      if ($pr_attr->fields['total'] > 0) {
    ?>
    <?php
    /**
     * display the product atributes
     */
      require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
    <?php
      }
    ?>
    <!--eof Attributes Module -->
    
    <!--bof Product details list  -->
    
    <!--eof Product details list -->
    Modifications have already been done but didn't see any change on the shop page.
    The shop page: http://goo.gl/Ta16K

  2. #2
    Join Date
    Jun 2012
    Posts
    5
    Plugin Contributions
    0

    Default Re: Did i modify the code correctly? Move the attribute near to near the add to cart.

    Please help

  3. #3
    Join Date
    May 2009
    Posts
    1,213
    Plugin Contributions
    2

    Default Re: Did i modify the code correctly? Move the attribute near to near the add to cart.

    It appears you took the code in these blocks

    Code:
    <!--bof Product description -->
    
    <!--eof Product description -->
    <br class="clearBoth" />
    
    <!--bof Add to Cart Box -->
    
    <!--eof Add to Cart Box-->
    
    <!--bof Product details list  -->
    
    <!--eof Product details list -->
    and moved them, and left the attributes code where it used to be after them

    Code:
    <!--bof Attributes Module -->
    <?php
      if ($pr_attr->fields['total'] > 0) {
    ?>
    <?php
    /**
     * display the product atributes
     */
      require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
    <?php
      }
    ?>
    <!--eof Attributes Module -->
    Get yourself a fresh untouched copy of the file, and move the blocks with their bof/eof comments, so you know what is where.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 9 Jan 2009, 12:33 PM
  2. add new image in the checkout page near the paypal
    By puz219 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Dec 2008, 10:33 AM
  3. add to cart box on every item on my home page near the details button
    By crash_bandicoot in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Feb 2008, 11:41 AM
  4. add to cart box on every item on my home page near the details button
    By crash_bandicoot in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Feb 2008, 08:23 PM
  5. how to move ezpages links to the top near login
    By fulltilt in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Oct 2006, 12:11 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR