Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Show Specials Price under Product in Admin

    Is there a way to show a products 'specials' price under the Product itself in Admin? It's a bit counter-intuitive to have to go to 'catalog/specials' to see if there is a sale price for a product. Would be great if it just showed up under 'Product Price' when you are editing a product.

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    11

    Default Re: Show Specials Price under Product in Admin

    i actually have it next to the products net price. on the same collect_info.php:

    Code:
              <tr bgcolor="#ebebff">
                <td class="main"><?php echo TEXT_PRODUCTS_PRICE_NET; ?></td>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_price', $pInfo->products_price, 'onKeyUp="updateGross()"') . '&nbsp;&nbsp;&nbsp;&nbsp;' . (zen_get_products_special_price($pInfo->products_id) ? '<span class="productSalePrice">' .zen_get_products_special_price($pInfo->products_id). '</span>':'');  ?></td>
              </tr>
    i'm sure one could style it better..... but hey, its the admin!

    good luck!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Show Specials Price under Product in Admin

    Quote Originally Posted by carlwhat View Post
    i actually have it next to the products net price. on the same collect_info.php:

    Code:
              <tr bgcolor="#ebebff">
                <td class="main"><?php echo TEXT_PRODUCTS_PRICE_NET; ?></td>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '##' . zen_draw_input_field('products_price', $pInfo->products_price, 'onKeyUp="updateGross()"') . '########' . (zen_get_products_special_price($pInfo->products_id) ? '<span class="productSalePrice">' .zen_get_products_special_price($pInfo->products_id). '</span>':'');  ?></td>
              </tr>
    i'm sure one could style it better..... but hey, its the admin!

    good luck!
    do you perhaps have a screenshot of that.. sounds like a good fix.. oh and can you update it from there??

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    11

    Default Re: Show Specials Price under Product in Admin

    i do NOT have it set to update it from there. i'm sure with a little bit of coding (ok... maybe a bunch more than a little), one could do it. mine is just set to display.
    Attached Images Attached Images  
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Show Specials Price under Product in Admin

    Quote Originally Posted by carlwhat View Post
    i do NOT have it set to update it from there. i'm sure with a little bit of coding (ok... maybe a bunch more than a little), one could do it. mine is just set to display.
    thanks i got it to display just fine.. and then i tried adding the following coding to allow it to be updateable.. but, it didn't work. and not being good with php, i'm kind of stuck there:

    HTML Code:
    <tr bgcolor="#ebebff">
                <td class="main"><?php echo TEXT_PRODUCTS_PRICE_SPECIAL; ?></td>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_price_sorter', $pInfo->products_price_sorter, 'onKeyUp="updateSpecialsGross()"') . '&nbsp;' . (zen_get_products_special_price($pInfo->products_id) ? '<span class="productSalePrice">' .zen_get_products_special_price($pInfo->products_id). '</span>':'');  ?></td>
              </tr>
    using that code, it shows just fine but when you try to change the amount, it just reverts back to the specials price stored for that product. i thought 'onKeyUp="updateSpecialsGross()"' would allow it to be updated..

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    11

    Default Re: Show Specials Price under Product in Admin

    yeah, i doubt that function (updateSpecialsGross) exists, so you would have to define that function....

    as i said, its a bit more work than just displaying it....

    in addition, i'm not sure that's what you want to do right there. if you look at the gross and the net, one is updating the other. and neither one is updating the table in the database. they are just updating the display that you see on page....

    so again, its a bunch more work to update a specials price from that page....

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. Salesmaker not show under Specials?
    By n8pbm in forum Setting Up Specials and SaleMaker
    Replies: 49
    Last Post: 6 Mar 2017, 07:16 AM
  2. Show Shipping in Admin Under Catagories/Product
    By mhawkins in forum General Questions
    Replies: 0
    Last Post: 8 Jun 2010, 04:05 PM
  3. Is this possible? Specials-show price/products-no price
    By enigma666666 in forum General Questions
    Replies: 9
    Last Post: 13 May 2010, 08:57 AM
  4. not show price under product name
    By panbingliang in forum Basic Configuration
    Replies: 0
    Last Post: 16 Sep 2008, 06:21 PM
  5. Include specials end date to under specials price?
    By this side up in forum Setting Up Specials and SaleMaker
    Replies: 7
    Last Post: 13 Jun 2007, 04:47 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