Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Specials in Admin Panel (try change net to gross)


enimatto

Recommended Posts

Posted

Hello Everyone!

 

I try to set display of products in "Specials" in Admin Panel to prices with gros.

Actually I have only displaying all my products in net price, and I want to change it.

 

I found this function in admin/specials.php , which displays name of my products (name + price net, example: Nike Shoes (50EUR):

 

<?php echo (isset($sInfo->products_name)) ? $sInfo->products_name . ' <small>(' . $currencies->format($sInfo->products_price) . ', ' . $currencies->display_price($sInfo->products_price,tep_get_tax_rate($sInfo->products_tax_class_id)) .')</small>'.tep_draw_hidden_field('products_id',$sInfo->products_id) : tep_draw_products_pull_down('products_id', 'style="font-size:10px" onchange="resetMarkdown();updateNetFromMarkdown();updateGross();"', $specials_array); echo tep_draw_hidden_field('products_price', (isset($sInfo->products_price) ? $sInfo->products_price : '')); ?>

 

Enyone can help with this?

Thanks.

 

PS. I have one contribution in specials.php which is:

http://addons.oscommerce.com/info/6581

This contribution helps little - displays two kinds of input fields with new special price (Net and Gros).

But it doesn't resolve problem with displaying price of products only in net.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...