Results 1 to 2 of 2

How would I move the 'add to cart' toolbar above?

This is a discussion on How would I move the 'add to cart' toolbar above? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I use mopics extensively through my site to showcase the items with lots of pictures. This is great except I ...

      
  1. #1
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default How would I move the 'add to cart' toolbar above?

    I use mopics extensively through my site to showcase the items with lots of pictures. This is great except I don't like making people go to the very bottom of the page to click the add to cart button. I would like to leave the add to cart button (and associated toolbar) where it is, but also put it above the mopics section. Where would I put this code?

    Thanks.

  2. #2
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default RE: How would I move the

    I am using the template 'css-fluid-1' , and I found the code in template/fallback/content/product_info.tpl.php

    that is the file that does most of the setting up for the site. The code for the bar I was looking to move is...

    Code:
    <tr>
            <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
              <tr class="infoBoxContents">
                <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
                  <tr>
                    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                    <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
                    <!-- Wish List 2.3 Start -->
                    <td align="center" class="main"><?php echo tep_draw_hidden_field('wishlist_action', 'add_wishlist') . tep_image_submit('button_wishlist.gif', IMAGE_BUTTON_ADD_WISHLIST, 'onClick="document.cart_quantity.action=\''. tep_href_link(FILENAME_WISHLIST, tep_get_all_get_params(array('action')) . 'action=add_wishlist') . '\';document.cart_quantity.submit();"'); ?></td>
                    <!-- Wish List 2.3 End   -->
                    <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
                    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
    Hope this helps someone else out.

Similar Threads

  1. how to move index.php
    By rnomis in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 02-21-2004, 05:19 PM
  2. Move to TOP category doesn't work
    By Robrob in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-07-2004, 01:30 PM
  3. How Do I Move Delete and Move Boxes Around?
    By OyedeleG in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 03-18-2003, 01:37 AM

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
  •