ianric Posted January 16, 2008 Share Posted January 16, 2008 Hi again Here's my second question. I want to accept cheques from customers outside the UK but my bank charge me £5 processing. I would like to add this surcharge or at least make the customer pay something extra but couldn't see a way of doing it. I have the cheque module installed which is based on the money order but no options. I've been playing with the module and if you create a coupon with a fixed amount of -5 it gets ADDED (minus * minus= plus) to the total, yes it does, try it. The only problem is that the standard discount text doesn't appear in checkout confirmation. Just wondering if it's easy to modify the code to add the text or if someone could point me in the right direction Cheers Ian Quote Link to comment Share on other sites More sharing options...
Pepperoni Posted January 18, 2008 Share Posted January 18, 2008 Hi, looking for some advice here. I just updated this contrib from version 1.4 to the new 3.31. I had a couple of problems with the SQL tables but those have been fixed. The fundamentals of the program work; it applies the coupon code and subtracts the correct amount. However I am having one problem when one gets to the checkout_confirmation.php page. Instead of displaying "Discount Coupon XYZ for 20% Applied: -$9.00" it shows "MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG: -$9.00" I suspected this problem would trace back to the options in the Order Total module since you can edit the display format there. Well I go to the modules -> order total page and I see that it is a bit bugged. The display format section is completely invisible, as well as other options. For a better idea of what I see when I click on "Edit", see the following pic: I looked over the code on my ot_discount_coupon.php but could not find any problems. Perhaps I am overlooking something. Here is my ot_discount_coupon.php: <?php /* * ot_discount_coupons.php * August 4, 2006 * author: Kristen G. Thorson * ot_discount_coupon_codes version 3.0 * * * Released under the GNU General Public License * */ class ot_discount_coupon { var $title, $output, $coupon; function ot_discount_coupon() { $this->code = 'ot_discount_coupon'; $this->title = MODULE_ORDER_TOTAL_DISCOUNT_COUPON_TITLE; $this->enabled = ((MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER; $this->output = array(); } function process() { global $order, $currencies; if( is_object( $order->coupon ) ) { //if the order total lines for multiple tax groups should be displayed as one, add them all together if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES == 'false' ) $discount_lines = array( array_sum( $order->coupon->applied_discount ) ); else $discount_lines = $order->coupon->applied_discount; if( is_array( $discount_lines ) ) foreach( $discount_lines as $tax_group => $discount ) { if( $discount > 0 ) { //add in the tax if needed: if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX == 'Display discount with discounted tax applied' && is_array( $order->coupon->discount_tax ) ) $discount += array_sum( $order->coupon->discount_tax ); //determine the display type (with or without the minus sign): $display_type = ( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE == 'true' ? '-' : '' ); $text = $display_type . $currencies->format( $discount, true, $order->info['currency'], $order->info['currency_value'] ); //add debug text if debug is on: if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG == 'true' ) $text .= print_r( "\n\n<!-- Discount Coupons DEBUG\n".print_r( $order, true )."\nEnd Discount Coupons DEBUG-->\n\n", true ); $this->output[] = array( 'title' => $order->coupon->format_display( $tax_group ) . ':', 'text' => $text, 'value' => $display_type . $discount ); } } //determine if we need to display a second line to show tax no longer applied if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX == 'Display discounted tax in separate line' && is_array( $order->coupon->discount_tax ) ) { $discounted_tax = array_sum( $order->coupon->discount_tax ); $text = $display_type . $currencies->format( $discounted_tax, true, $order->info['currency'], $order->info['currency_value'] ); $this->output[] = array( 'title' => MODULE_ORDER_TOTAL_DISCOUNT_COUPON_TAX_NOT_APPLIED . ':', 'text' => $text, 'value' => $display_type . $discounted_tax ); } } else $this->enabled = false; } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function keys() { return array( 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable discount coupon?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS', 'true', '', '615', '1', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()), ('Sort Order', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER', '0', 'Order in which the discount coupon code order total line will be displayed on order confirmation, invoice, etc.', '615', '2', '', now()), ('Display discount with minus (-) sign?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE', 'true', '<b>true</b> - the discount will be displayed with a minus sign<br><b>false</b> - the discount will be displayed without a minus sign', '615', '3', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()), ('Display subtotal with applied discount?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL', 'true', '<b>true</b> - the order subtotal will be displayed with the discount applied<br><b>false</b> - the order subtotal will be displayed without the discount applied', '615', '4', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()), ('Display tax in discount line?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX', 'None', 'Select the method for displaying tax in the discount line.', '615', '5', 'tep_cfg_select_option(array(\'None\', \'Display discounted tax in separate line\', \'Display discount with discounted tax applied\'), ', now()), ('Exclude product specials?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS', 'true', '<b>true</b> - products with active specials will be excluded from discounts<br><b>false</b> - products with active specials will NOT be excluded from discounts', '615', '6', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()), ('Random Code Length', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH', '6', 'Length for randomly generated coupon codes.', '615', '7', '', now()), ('Display discount total lines for each tax group?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES', 'false', '<b>true</b> - the discount coupon order total lines will be displayed for each tax group for the order<br><b>false</b> - the discount order total lines will be combined and displayed as one line', '615', '8', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()), ('Allow negative order total?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE', 'false', 'Set to true if you want negative order totals when the discount is greater than the order total.', '615', '9', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()), ('Use the language file to format display string?', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE', 'false', '<b>true</b> - use the format found in language file (used for when you have multiple languages and want the order total line to format display depending on language choice)<br><b>false</b> - use the format and language below', '615', '10', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()), ('Display Format for Order Total Line', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG', 'Discount Coupon [code] applied', 'Display format for the discount coupon code order total line.<br><br>Variables:<br>[code]<br>[coupon_desc]<br>[discount_amount]<br>[min_order]<br>[number_available]<br>[tax_desc]', '615', '11', '', now()), ('Debug Mode', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG', 'false', 'To use: on checkout confirmation page, View Source in browser for debug output. <b>This must be set to false for live shops or error messages will not display.</b>', '615', '12', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); tep_db_query("CREATE TABLE IF NOT EXISTS discount_coupons ( coupons_id VARCHAR(32) NOT NULL DEFAULT '', coupons_description VARCHAR(64) NOT NULL DEFAULT '', coupons_discount_amount DECIMAL(15,12) NOT NULL DEFAULT '0.0000', coupons_discount_type ENUM ('fixed','percent','shipping') NOT NULL DEFAULT 'percent', coupons_date_start DATETIME DEFAULT NULL, coupons_date_end DATETIME DEFAULT NULL, coupons_max_use INT(3) NOT NULL DEFAULT 0, coupons_min_order DECIMAL(15,4) NOT NULL DEFAULT '0.0000', coupons_min_order_type ENUM('price','quantity') DEFAULT 'price', coupons_number_available INT(3) NOT NULL DEFAULT 0, PRIMARY KEY (coupons_id) )"); tep_db_query("CREATE TABLE IF NOT EXISTS discount_coupons_to_orders ( coupons_id VARCHAR(32) NOT NULL DEFAULT '', orders_id INT(11) DEFAULT '0', PRIMARY KEY (coupons_id,orders_id) )"); tep_db_query("CREATE TABLE IF NOT EXISTS discount_coupons_to_categories ( coupons_id VARCHAR(32) NOT NULL DEFAULT '', categories_id INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (coupons_id,categories_id) )"); tep_db_query("CREATE TABLE IF NOT EXISTS discount_coupons_to_products ( coupons_id VARCHAR(32) NOT NULL DEFAULT '', products_id INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (coupons_id,products_id) )"); tep_db_query("CREATE TABLE IF NOT EXISTS discount_coupons_to_manufacturers ( coupons_id VARCHAR(32) NOT NULL DEFAULT '', manufacturers_id INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (coupons_id,manufacturers_id) )"); tep_db_query("CREATE TABLE IF NOT EXISTS discount_coupons_to_customers ( coupons_id VARCHAR(32) NOT NULL DEFAULT '', customers_id INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (coupons_id,customers_id) )"); tep_db_query("CREATE TABLE IF NOT EXISTS discount_coupons_to_zones ( coupons_id VARCHAR(32) NOT NULL DEFAULT '', geo_zone_id INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (coupons_id,geo_zone_id) )"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } } ?> Thank you for any advice you guys can give me Quote Link to comment Share on other sites More sharing options...
allaboutwicker Posted January 18, 2008 Share Posted January 18, 2008 Hi, looking for some advice here. I just updated this contrib from version 1.4 to the new 3.31. I had a couple of problems with the SQL tables but those have been fixed. The fundamentals of the program work; it applies the coupon code and subtracts the correct amount. However I am having one problem when one gets to the checkout_confirmation.php page. Instead of displaying "Discount Coupon XYZ for 20% Applied: -$9.00" it shows "MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG: -$9.00" Thank you for any advice you guys can give me Hi, I believe the actual place for the text that shows up on the screen is in: includes/languages/english/modules/order_total/ot_discount_coupon Quote Link to comment Share on other sites More sharing options...
Pepperoni Posted January 19, 2008 Share Posted January 19, 2008 Hi, I believe the actual place for the text that shows up on the screen is in: includes/languages/english/modules/order_total/ot_discount_coupon That's true, thats why: I looked over the code on my ot_discount_coupon.php but could not find any problems. Perhaps I am overlooking something. I couldnt find a problem with it, so thats why im stumped Quote Link to comment Share on other sites More sharing options...
allaboutwicker Posted January 20, 2008 Share Posted January 20, 2008 There are 2 files named ot_discount_coupon. One here: includes/languages/english/modules/order_total/ot_discount_coupon and one here: includes/modules/order_total/ot_discount_coupon You need to check the first one under languages/english for what you need to fix. Quote Link to comment Share on other sites More sharing options...
wlmorgan Posted January 24, 2008 Share Posted January 24, 2008 Hi, I just finished installing this contribution. Unfortunately, I went down in flames right from the start. In Admin I get "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/u7/morganse/html/catalog/admin/includes/boxes/catalog.php on line 31" My text editor agrees there is a PHP syntax error but I'll be blamed if I can see it. Could someone in fresh eyes please look. //kgt - discount coupons '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>' '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' ); /*************** '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' ); ***************/ //end kgt - discount coupons The error is supposed to be on the Discount Coupons line. Thanks, Walter Quote Link to comment Share on other sites More sharing options...
wlmorgan Posted January 24, 2008 Share Posted January 24, 2008 Hi, I just finished installing this contribution. Unfortunately, I went down in flames right from the start. In Admin I get "Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/u7/morganse/html/catalog/admin/includes/boxes/catalog.php on line 31" My text editor agrees there is a PHP syntax error but I'll be blamed if I can see it. Could someone in fresh eyes please look. //kgt - discount coupons '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>' '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' ); /*************** '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' ); ***************/ //end kgt - discount coupons The error is supposed to be on the Discount Coupons line. Thanks, Walter FOUND IT. There is a missing period after "... PRODUCTS_EXPECTED . '</a><br>'" Thanks Walter Quote Link to comment Share on other sites More sharing options...
ianric Posted January 24, 2008 Share Posted January 24, 2008 Hi again Here's my second question. I want to accept cheques from customers outside the UK but my bank charge me £5 processing. I would like to add this surcharge or at least make the customer pay something extra but couldn't see a way of doing it. I have the cheque module installed which is based on the money order but no options. I've been playing with the module and if you create a coupon with a fixed amount of -5 it gets ADDED (minus * minus= plus) to the total, yes it does, try it. The only problem is that the standard discount text doesn't appear in checkout confirmation. Just wondering if it's easy to modify the code to add the text or if someone could point me in the right direction Cheers Ian Solved. I am just so good !!!!! I used the payment surcharge contrib, created a new zone with all countries apart from UK and used the built in money order, assigned it to my new zone. Job Done! Ian Quote Link to comment Share on other sites More sharing options...
Ardo Posted January 25, 2008 Share Posted January 25, 2008 (edited) Oke i been reading this thread for about 2 hr's now and i guess if i missed it ahh well. I have RC1 installed I have Discount Coupon Codes 3.31 + Bug Fix for subtotals problem installed Prob. When making a coupon for free shipping with order min of $75 the client trys to use it, they get an error. Coupon Code: 75freeshipping Description: Free shipping 4 order total <75$ (no limit) Discount Amount: 1.000000000000 Discount Type: Shipping Discount Start Date: End Date: Max Use: 0 Min Order: 75.0000 Min Order Type: Price Total Number Available: 0 Error when used with 2 items in cart Totaling $79.91..... Same error with 3 items totaling $101.87 The minimum order total for this coupon is $75.00. Some or all of the products in your cart are excluded. Any Help would be great... Ardo :thumbsup: P.s. Uhhhm heres another error just found made a 25% discount test code take a look at this... Sub-Total: $101.86 Per Item (Best Way): $10.25 Discount Coupon test for 25% Applied: -$8.74 Total: $103.37 Is my math wrong or is 8.74 not even close to 25% lol???? Edited January 25, 2008 by Ardo Quote Link to comment Share on other sites More sharing options...
Ardo Posted January 25, 2008 Share Posted January 25, 2008 The Only thing i did diffrent from the install was in /includes/classes/order.php tells you to.... FIND on line 244: $shown_price = tep_add_tax($this->products[$index]['final_price'], $this->products[$index]['tax']) * $this->products[$index]['qty']; $this->info['subtotal'] += $shown_price; Witch is difrent then what i have in my file... $shown_price = $currencies->calculate_price($this->products[$index]['final_price'], $this->products[$index]['tax'], $this->products[$index]['qty']); $this->info['subtotal'] += $shown_price; But not by much so i just replaced it as it sead to do. Could this be the prob.??? Ardo Quote Link to comment Share on other sites More sharing options...
Freelance GD Posted January 28, 2008 Share Posted January 28, 2008 (edited) Hello, Thank you for the great contribution. Its exactly what I wanted but I am facing some problems; Everything seems to be working fine in admin panel. No problem with making discount coupons and stuff in admin panel. But the problem is that, that I can see Discount Coupon Box anywhere in the checkout process. I have tried installing the contri. 2-3 times but still the same error. I dont see box neither it deducts the amount from the subtotal or total. I tried to fix all the bugs mentioned there. ( I am new with coding so there might be some problem on my side). I hope you can figure out the problem. I also checked order.php and check_confirmation.php files 2-3 times. Please help me out. Thank you in advance. Discount Coupon Codes 3.31 http://www.oscommerce.com/community/contributions,4269 EDIT: OK I got it. It appears when I select Credit Card but doesn't show in case of Cash on Delivery. What could be the problem? THank you EDIT EDIT: It again disappeared :s Cant see it any where. I used a wrong VCC 1234455.... and it gave me an error and shown me the coupon field but now there is nothing. Edited January 28, 2008 by Freelance GD Quote Link to comment Share on other sites More sharing options...
Colt15 Posted January 29, 2008 Share Posted January 29, 2008 Hi All, I'm a newbie with oscommerce, and I've just install this disc coupon module. I've must've somehow screwed up the English.php file in the includes/languages/english.php. I don't know how to fix this problem http://iwonagain.com/osCommerce/index.php/cPath/1 Check out the header and footer. Thanks in advance guys! Quote Link to comment Share on other sites More sharing options...
Freelance GD Posted January 29, 2008 Share Posted January 29, 2008 Hi All, I'm a newbie with oscommerce, and I've just install this disc coupon module. I've must've somehow screwed up the English.php file in the includes/languages/english.php. I don't know how to fix this problem http://iwonagain.com/osCommerce/index.php/cPath/1 Check out the header and footer. Thanks in advance guys! I am also new with this stuff and faced the same problem. Yes, you are right you didn't edit the english.php file correctly. Edit it again and then replace with existing. Hope this helps. Thank you Quote Link to comment Share on other sites More sharing options...
candleman Posted January 29, 2008 Share Posted January 29, 2008 (edited) The Only thing i did diffrent from the install was in /includes/classes/order.php tells you to.... FIND on line 244: $shown_price = tep_add_tax($this->products[$index]['final_price'], $this->products[$index]['tax']) * $this->products[$index]['qty']; $this->info['subtotal'] += $shown_price; Witch is difrent then what i have in my file... $shown_price = $currencies->calculate_price($this->products[$index]['final_price'], $this->products[$index]['tax'], $this->products[$index]['qty']); $this->info['subtotal'] += $shown_price; But not by much so i just replaced it as it sead to do. Could this be the prob.??? Ardo. Either your using a different version of OSC than this was designed for or you have some other contributin installed that already modified that statement. You can go by line numbers, just look for the exact statement it says to find. If you can't find it, then the reason is most likely one of the above I listed Edited January 29, 2008 by candleman Quote Currently running 76 contibutions. Link to comment Share on other sites More sharing options...
Colt15 Posted January 29, 2008 Share Posted January 29, 2008 nevermind I got it fixed. but I'm still having problems with the layout on the checkout_payment.php. The tables are all wrong and it doesn't match the template. Quote Link to comment Share on other sites More sharing options...
Colt15 Posted January 29, 2008 Share Posted January 29, 2008 nevermind that too, fixed the tables too! LOL Great Module btw!! Quote Link to comment Share on other sites More sharing options...
Guest Posted January 29, 2008 Share Posted January 29, 2008 Hello, Im hoping that I didnt miss someone else posting this issue before. I have had the contribution installed for about a month now, and up until today everything has worked great. Yesterday I created several coupon codes, doing nothing different than I have in the past, and for some reason none of them work. There have been no changes to our site since I created the last working coupon so as a test, this morning I created one using the exact same information as I had with one I made on the 18th when everything was working, for the same product, and it worked fine. I was hoping someone might have an idea on why this may be happening. Quote Link to comment Share on other sites More sharing options...
braineatingalien Posted January 29, 2008 Share Posted January 29, 2008 Hi I need help installing this coupon code. whenever I copy the files over I can add the coupon and everything but as soon as I clear my browsers history and cookies and stuff I can no longer get into the admin section. it says page not found and displays http://n-mod.com/catalog/admin/FILENAME_LOGIN I think what the problem is, is that when I clear the history it logs me out and then it tries going back to the login screen but it cant because something is messed up. It would be awesome if I could get this working. thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2008 Share Posted January 30, 2008 Hi I need help installing this coupon code. whenever I copy the files over I can add the coupon and everything but as soon as I clear my browsers history and cookies and stuff I can no longer get into the admin section. it says page not found and displays http://n-mod.com/catalog/admin/FILENAME_LOGIN I think what the problem is, is that when I clear the history it logs me out and then it tries going back to the login screen but it cant because something is messed up. It would be awesome if I could get this working. thanks I'm having the EXACT same problem. I installed this thing to the letter (3 times!) and keep getting the same thing. Any ideas? Quote Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2008 Share Posted January 30, 2008 I'm having the EXACT same problem. I installed this thing to the letter (3 times!) and keep getting the same thing. Any ideas? FINALLY! A fix to this problem. Why it hasn't been found anywhere in this thread amazes me. Anyway, in catalog/admin/includes/filenames.php, the following line needs to be added at around line 35: define('FILENAME_LOGIN', 'login.php'); That'll fix it! Quote Link to comment Share on other sites More sharing options...
candleman Posted January 30, 2008 Share Posted January 30, 2008 Is anyone using this successfully on the latest version of osC? I was reading through some of the threads and it seems some people where having problems with it on rc1 and I'm running rc2. Thanks Quote Currently running 76 contibutions. Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2008 Share Posted January 30, 2008 Is anyone using this successfully on the latest version of osC? I was reading through some of the threads and it seems some people where having problems with it on rc1 and I'm running rc2. Thanks after running my fix in the post before yours, everything seems to be running okay for me. f.y.i. - i'm running rc1. Quote Link to comment Share on other sites More sharing options...
braineatingalien Posted January 30, 2008 Share Posted January 30, 2008 Thanks steve it looks like thats going to work im going to try it soon. I never even thought of adding my own direction thing Quote Link to comment Share on other sites More sharing options...
candleman Posted January 31, 2008 Share Posted January 31, 2008 after running my fix in the post before yours, everything seems to be running okay for me. f.y.i. - i'm running rc1. Installed it into RC2 and it's working fine. I checked my file for the definition that seemed to be missing from some of yours and it's in mine by default. Quote Currently running 76 contibutions. Link to comment Share on other sites More sharing options...
Guest Posted February 1, 2008 Share Posted February 1, 2008 Nice contribution! I've got the latest version installed with all the fixes and it seems to be working well through the checkout process. The checkout confirmation page shows the coupon line and totals are correct. However, in the confirmation email(s) and when displaying orders from account history, there is no reference to the coupon. You get things like: Item 1 $1.00 Item 2 $1.00 Subtotal $1.80 with no reference to the coupon amount, in this case -0.20. The amounts are correct for the order as placed but the coupon information is not shown so it doesn't appear to add up correctly. Is this situation true for all installations of this module and I need to figure out modifications to the appropriate files or is there something out of whack with my installation? Is anyone using this successfully on the latest version of osC? I was reading through some of the threads and it seems some people where having problems with it on rc1 and I'm running rc2. I'm runnng RC2. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.