If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / DUAL Pricing version 2 for 1.3.0.2 Donations

DUAL Pricing version 2 for 1.3.0.2 Donations

Locked

Started by polarduality on 12 Aug 2006, 9:25 AM · Views: 24,378

Results 121 to 122 of 122
This thread is locked. New replies are disabled.
15 May 2008, 6:38 PM
#121
dualaudi avatar

dualaudi

New Zenner

Join Date:
May 2008
Location:
San Diego
Posts:
14
Plugin Contributions:
0

Post #121 by dualaudi

bodybangles:

I think I found the problem with the wholesale price rounding up when you go to edit a product. Look in admin\includes\modules\product\collect_info.php.

Go to line 341:

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_w', (int)$pInfo->products_price_w); ?><?php echo TEXT_WHOLESALE_PRICE_COMMENT; ?></td>

Replace with:

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_w', $pInfo->products_price_w); ?><?php echo TEXT_WHOLESALE_PRICE_COMMENT; ?></td>

OMG thank you!

16 May 2008, 2:20 PM
#122
kajunto avatar

kajunto

New Zenner

Join Date:
Jan 2007
Posts:
50
Plugin Contributions:
0

Post #122 by kajunto

bodybangles:

I think I found the problem with the wholesale price rounding up when you go to edit a product. Look in admin\includes\modules\product\collect_info.php.

Go to line 341:

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_w', (int)$pInfo->products_price_w); ?><?php echo TEXT_WHOLESALE_PRICE_COMMENT; ?></td>

Replace with:

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_w', $pInfo->products_price_w); ?><?php echo TEXT_WHOLESALE_PRICE_COMMENT; ?></td>

I already had that exact code on my collect_info.php file and it is still rounding up when i edit a product. You said in one of your other post that you made changes to other files.... which files did you make changes to?