Jump to content

misspiggy

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

About misspiggy

  • Birthday 09/28/1957

Profile Information

  1. Customer Loyalty Discount Scheme >> ot_lotalty_discount v1.3(Astrid) Contribution can be found here: Customer Loyalty Discount Scheme I was told by a shop owner that a rounding off error of amounts occured in the Customer Loyalty Discount Scheme 1.1 of the author: Clement Nicolaescu so I created a small FIX. (posting of 5 Aug 2004 - Fix to rectify the rounding off error with figures is the correct one.) ############################################################## THE FIX: I have added a few lines to the file ot_loyalty_discount.php to make sure that this rounding off error of amounts is rectified. The amount of discount is immediately rounded off to two figures after the comma, before it is used. ############################################################## PLEASE NOTE: Before installing the new script ot_loyalty_discount.php (catalog/includes/modules/order_total/ot_loyalty_discount.php) You must first do as follows >> (i) Go to admin >> Order Total Modules Remove (with button) the Module Customer Loyalty Discount (removes the Module from the database !!) (ii) Then remove the old script ot_loyalty_discount.php from your folder order_total (iii) Go back to admin >> Order Total Modules >> no Module Customer Loyalty Discount can be seen (iv) You can now safely place the new script in the appropriate map: (catalog/includes/modules/order_total/ot_loyalty_discount.php) and the language script in the appropriate language map: catalog/includes/languages/english/modules/order_total/ot_loyalty_discount.php) Please make sure that the scripts have the right permissions and no syntax errors !! (v) Go back to admin >> Order Total Modules >> Module Customer Loyalty Discount can be seen again!! (vii) Install this Module now with the appropriate button and edit as needed. Hope this helps !! SCREENSHOTS: order_confirmation.gif Order_Total_Modules.gif
×