Results 1 to 2 of 2

couple of questions.

This is a discussion on couple of questions. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; 1) How do I get the large image to show up in product description. Instead of going through clicking 'click ...

      
  1. #1
    New Member
    Join Date
    Sep 2004
    Posts
    21
    Rep Power
    0


    Default couple of questions.

    1) How do I get the large image to show up in product description. Instead of going through clicking 'click to enlarge'.

    2) When you click on the product catagory, it there a way a person can enter the quantity and directly order ? I'll give u the url for example http://printfairmont.com/order/index.php?cPath=30

    In the above eg, I get item number, product name, prince and the 'buy now' is there a way to specify 'quantity to order' on this page ?

  2. #2
    New Member
    Join Date
    Sep 2004
    Posts
    22
    Rep Power
    0


    Default

    it's v simple - I did it for this site: www.sugarpaper.com/store. Assuming you want the same kind of thing:

    upload the big image for the product via the admin tool (i used one around 333 x 350).

    Then you need to edit the /catalog/product_info.php page and replace the table with the thumbnail and javascript popup with this one which has the large image in the left hand cell and the title, description and price in the right hand one:

    <table border="0" cellpadding="0" cellspacing="2">
    <tr>
    <td valign="top"><? echo '<img src="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" border="0">'; ?></td>
    <td><?php echo tep_draw_separator('pixel_trans.gif', '15', '1'); ?></td>
    <td valign="top" class="content"><span class="pricesPinkBold"><?php echo $products_name; ?></span><br><?php echo stripslashes($product_info['products_description']); ?><br><span class="pricesPinkBold"><?= $products_price; ?></span><br><br><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
    </tr>
    </table>

    that should be all there is too it!!

    cheers

    Jase

Similar Threads

  1. Couple questions--any help please?
    By countingsheep in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 04-05-2006, 06:08 PM
  2. Couple of questions
    By paulj in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-15-2005, 09:22 PM
  3. Couple questions having to do with spacing and boxes
    By Craig in forum osCommerce 2.2 Modification Help
    Replies: 8
    Last Post: 09-16-2004, 08:13 AM
  4. Couple of Questions??
    By samyj in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 12-02-2003, 09:23 PM
  5. A couple of questions
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-23-2002, 07: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
  •