Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bluecamel

Pioneers
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Real Name
    Jeff

Bluecamel's Achievements

  1. Sure! HTTP Server: Apache PHP Version: 5.2.5 (Zend: 2.2.0) Server OS: Linux 2.4.21-60 Database: MySQL 5.0.67 osCommerce Online Merchant v2.2 RC2 (from application_top.php) Hope this information helps.
  2. It appears that this is working correctly. Can I ask what you did to change to get the parm to work ? Thanks for helping with this and thanks for the Mod!
  3. I used the code that was located on That Software Guy <!-- bof osCommerce Quantity Discounts Contribution Example 4 Marketing Text --> <tr><td> <?php $value = "ot_quantity_discount.php"; require_once(DIR_WS_LANGUAGES . $language . '/modules/order_total/'. $value); require_once(DIR_WS_MODULES . "order_total/" . $value); $discount = new ot_quantity_discount(); if (($discount->check() > 0) && ($discount->is_discountable((int)$HTTP_GET_VARS['products_id'])) ) { echo '<div class="content" id="discountPolicy4">'; echo '<table border="1" bgcolor="#FFFF66"><tr><td>Amount Spent</td><td>Discount</td></tr>'; $dislist = $discount->get_discount_parms(); $raw_dislist = $discount->get_discount_parms(true); global $currencies; for ($i = 0; $i < sizeof($dislist); $i++) { echo '<tr><td>' . $currencies->display_price($dislist[$i]['level'], 0); if ($i == (sizeof($dislist) - 1)) { echo " + "; } else { echo " - "; echo $currencies->display_price($raw_dislist[$i+1]['level'] - 0.01, 0); } echo "</td><td>" . $dislist[$i]['discount'] . "</td></tr>"; } echo '</table>'; echo '<br /></div>'; } ?> </td></tr> <!-- eof Quantity Discounts Contribution Example 4 Marketing Text --> I copied and pasted the code, uninstalled through admin with still no resolution.
  4. I have installed this mod and everything works as in giving the discount, my question is I am trying to use the "Quantity Discounts Marketing 4 output" I have set up the Discount Level 1, Discount Level 2, Discount Level 3, etc but when I look at the chart on the product page it return results like: *note the 0.00 dollar amounts Amount Spent Discount $0.00 - $60.99 15% $0.00 - $99.99 20% $0.00 + 25% If you look at the chart above I would think it would return: Amount Spent Discount $40.00 - $60.99 15% $61.00 - $99.99 20% $100.00 + 25% I am trying to figure out why it isn't showing correctly? Could someone help me out with this? What am I missing?
  5. This installed great I just had a couple questions. 1. How to adjust the image on "click to inlarge" 2. How would you add more "product stats" Any help in the right direction would be great! Thanks for the great contribution.
×
×
  • Create New...