Results 1 to 1 of 1
  1. #1
    Join Date
    May 2006
    Location
    Virginia U.S
    Posts
    173
    Plugin Contributions
    3

    help question Help adding update button within the new product page

    If it is possible I would like to add an update button within the add a new product page so I do not have to preview it every time before adding or editing a product.

    I tried using the developers toolkit to sniff out some code but I could not quite nail it down.

    I tried adding this to collect_info.php on lines 234 and 575 but I know something is not right with it.

    Code:
    <td class="main" align="center"><?php echo zen_draw_hidden_field('products_date_added', (zen_not_null($pInfo->products_date_added) ? $pInfo->products_date_added : date('Y-m-d'))) . zen_image_submit('button_preview.gif', IMAGE_PREVIEW) .  '&nbsp;&nbsp;<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '') . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . '">' . zen_image_button('button_update.gif', IMAGE_UPDATE) .      '&nbsp;&nbsp;<a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . (isset($_GET['pID']) ? '&pID=' . $_GET['pID'] : '') . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '')) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?></td>
    Would someone please point me in the right direction
    Attached Files Attached Files
    How can there be nothing? Nothing is something!

 

 

Similar Threads

  1. Move update Button on Frist product adding page!
    By crixus in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Oct 2013, 09:56 PM
  2. v151 Need Help in adding a add to cart button on product info page
    By rmu065 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 Apr 2013, 01:50 AM
  3. Adding button by the side of attribute options in product page
    By himal in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 24 Feb 2010, 12:54 PM
  4. Need Help Adding a button to product page - Apple Zen
    By directdesign in forum Addon Templates
    Replies: 3
    Last Post: 2 Feb 2010, 10:29 AM
  5. Adding a Product Details Button to the Featured Products Page
    By susb8383 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Dec 2009, 05:27 PM

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