osCmax v2.5 User Manual
Results 1 to 5 of 5

feature request - for the add_to_cart button on product_info to be on top of page too

This is a discussion on feature request - for the add_to_cart button on product_info to be on top of page too within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I would do this myself but would rather ask here first before hand. Is it possible to place a duplicate ...

      
  1. #1
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Default feature request - for the add_to_cart button on product_info to be on top of page too

    I would do this myself but would rather ask here first before hand. Is it possible to place a duplicate submit button of 'button_in_cart.gif' right below the product price? (on the top right of the page). This way customers can quickly add to cart instead of scrolling all the way down to do so.

    The button is currently nested inside of 2 if statements, which made me think twice about modifying it on my own.

    thanks
    bh

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: feature request - for the add_to_cart button on product_info to be on top of page too

    Jeez, product_info.tpl.php is a real jungle compared to 2.0.25

    If I read it correctly, then you should include all of:
    PHP Code:
                                <?php // START: PGM Edit to switch Add to Cart image if stock = 0 
                                  
    if ($product_info['products_quantity'] == && STOCK_IMAGE_SWITCH == 'true') { ?> 
                                    <td class="main" align="right" rowspan="2"><?php echo tep_draw_hidden_field('products_id'$product_info['products_id']) . tep_image_submit('button_out_of_stock.gif'IMAGE_BUTTON_IN_CART); ?></td> 
                            <?php } else {  
                                      if (
    BASKET_CART == 'cart') { ?> 
                                        <td class="main" align="right" rowspan="2"><?php echo tep_draw_hidden_field('products_id'$product_info['products_id']) . tep_image_submit('button_in_cart.gif'IMAGE_BUTTON_IN_CART); ?></td> 
                                <?php } else { ?> 
                                        <td class="main" align="right" rowspan="2"><?php echo tep_draw_hidden_field('products_id'$product_info['products_id']) . tep_image_submit('button_in_basket.gif'IMAGE_BUTTON_IN_BASKET); ?></td> 
                                <?php }  
                                  } 
    // END: PGM Edit to switch Add to Cart image if stock = 0 ?>
    Now stop dreaming up new stuff and get testing proper!
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Default Re: feature request - for the add_to_cart button on product_info to be on top of page too

    sounds right. what left needs to be tested in order for us to make this thing go stable?

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: feature request - for the add_to_cart button on product_info to be on top of page too

    Extra Product Fields - but hold fire on this as I am about to upgrade it to the latest release.
    Vouchers/Coupons - seems a bit wobbly
    Email Output - I want to make sure all the emails are properly formatted
    Affiliates
    Shipping & Payment modules in OPC and normal checkout.
    Checking that things like QPBPP for SPPC and hide from groups works in all the different modules ...
    pgmarshall
    _______________________________

  5. #5
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Default Re: feature request - for the add_to_cart button on product_info to be on top of page too

    Anyway I can test for specific things, in these areas let me know. I'm building SVN sites all week and just going through stuff in general. For me personally, that individual shipping module is the 2nd most important shipping module to have by my side. Hopefully we can get it working in some fashion...

Similar Threads

  1. [osCmax v2.5x] request feature - to edit the affiliate info page from the admin
    By blackhawk in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 01-28-2011, 10:51 AM
  2. feature request - add extra fields to contact form page
    By blackhawk in forum osCmax v2 Customization/Mods
    Replies: 5
    Last Post: 01-22-2011, 09:49 AM
  3. [osCmax v2.5x] feature request - feature products optional for detailed product page
    By blackhawk in forum osCmax v2 Customization/Mods
    Replies: 8
    Last Post: 01-16-2011, 01:52 PM
  4. feature request - external links for information page listing
    By blackhawk in forum osCmax v2 Customization/Mods
    Replies: 7
    Last Post: 01-16-2011, 07:24 AM
  5. [Feature Request] MS2-MAX v1.xx
    By michael_s in forum osCmax v1.7 Discussion
    Replies: 106
    Last Post: 05-28-2005, 12:27 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
  •