Jump to content

celdish

Members
  • Content count

    30
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Thomas

Recent Profile Visitors

5,814 profile views
  1. celdish

    Payment modules not showing

    I have the exact same problem?? In the modules section none of the modules show up it only says which directory to find them. And this directory seems to be correct. Can anyone take a look at this issue. Thanks :)
  2. celdish

    Recover Cart Sales

    We have a problem..... When a customer finishes an order at my webshop and reaches the Checkout_succsess.php site the items which they have bought should be removed from their shopping cart. However, on my site, when the customer logs in again later on the items they have purchased are still in the cart. This is a problem, because I am using the recover cart sales module, and I send out emails asking why people who have put stuff in their cart why they did not checkout. Now even, the people who HAVE checked out gets this emails, because the items they bought was not removed automatically from the shopping cart and are still there. Recover cart sales sends a message to everyone who has items in their shopping cart. Can anyone help? the webshop is http://www.beltespenner.com/oscommerce/
  3. celdish

    OSC-Affiliate

    PLEASE HELP ME!! This is disaster, i have many people who are on my effiliate, and now it suddenly stopped working. It is registrering banner impressions and clicks, but if somebody buys something it is not registrered and the customer does not get comission. I have seen one difference in my store... if I buy something and complete the order.. Before these products where removed from the shopping cart, but if the customer logs in later after having placed an order the same products are still in the shopping cart.¨ There is one error I am getting, but i think this has allways been there, even when the contribution was working: in admin under affiliates>affiliates i get this error: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/beltespe/public_html/oscommerce/admin/affiliate_affiliates.php on line 524 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/beltespe/public_html/oscommerce/admin/affiliate_affiliates.php on line 526 Warning: reset() [function.reset]: Passed variable is not an array or object in /home/beltespe/public_html/oscommerce/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/beltespe/public_html/oscommerce/admin/includes/classes/object_info.php on line 18 Please hep me, I am desperate:)
  4. celdish

    [Contribution] Auction Module

    great to see that people are working to improve this script. There are still quite a few improvements this auctions script deserves. See previous pages to see what need to be done on the script. Thanks to everyone who is improving the script!!! :thumbsup:
  5. I have commented out the line "require_once( DIR_FS_CATALOG.DIR_WS_CLASSES.'discount_coupon.php' );" in includes/modules/order_total/ot_discount_coupon.php i keep getting this error: Fatal error: Cannot redeclare class ot_discount_coupon in /home/beltespe/public_html/oscommerce/includes/modules/order_total/ot_discount_coupon.php on line 16 This is my code for /includes/modules/order_total/ot_discount_cupon.php <?php /* * ot_discount_coupons.php * August 4, 2006 * author: Kristen G. Thorson * * ot_discount_coupon_codes version 2.0 * * Released under the GNU General Public License * */ //try removing this line if you're getting an error like Fatal error: Cannot redeclare class discount_coupon in ***path to shop***/includes/classes/discount_coupon.php on line 14 //require_once( DIR_FS_CATALOG.DIR_WS_CLASSES.'discount_coupon.php' ); 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( tep_not_null( $order->info['coupon'] ) ) { $this->coupon = new discount_coupon( $order->info['coupon'] ); //print_r( $order ); //kgt - use this to debug order object contents //print_r( $this->coupon ); //kgt - use this to debug coupon object contents //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 = array( array_sum( $order->info['applied_discount'] ) ); else $discount = $order->info['applied_discount']; foreach( $discount as $key => $value ) { if ($value > 0) { $display_type = ( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE == 'true' ? '-' : '' ); $this->output[] = array('title' => $this->format_display( $order->info['coupon'], $key ) . ':', 'text' => $display_type.$currencies->format( $value, true, $order->info['currency'], $order->info['currency_value'] ), 'value' => $display_type.$value); } } } else $this->enabled = false; } function format_display( $coupon, $tax_group ) { global $order, $currencies; //if using multiple languages, get the language format string from the proper language file, otherwise, use the module configuration field $display = ( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE == 'true' ? MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY : MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_FORMAT ); //replace the variables with their proper values: $display = str_replace( '[code]', $this->coupon->code, $display ); $display = str_replace( '[percent_discount]', ( $this->coupon->coupon['coupons_discount_percent'] * 100 ).'%', $display ); $display = str_replace( '[coupon_desc]', $this->coupon->coupon['coupons_description'], $display ); $display = str_replace( '[coupons_min_order]', $currencies->format( $this->coupon->coupon['coupons_min_order'], true, $order->info['currency'], $order->info['currency_value'] ), $display ); $display = str_replace( '[coupons_number_available]', $this->coupon->coupon['coupons_number_available'], $display ); $display = str_replace( '[tax_desc]', $tax_group, $display ); return $display; } 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_RANDOM_CODE_LENGTH', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_FORMAT'); } 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 ('Display Discount Coupon', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS', 'true', 'Do you want to display the discount coupon value?', '615', '1','tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('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())"); 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 ('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())"); 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 ('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())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Random Code Length', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH', '6', 'Length for randomly generated coupon codes.', '615', '5', now())"); 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 ('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', '6', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); 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 ('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', '7', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Display Format for Order Total Line', 'MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_FORMAT', 'Discount Coupon [code] applied', 'Display format for the discount coupon code order total line.<br><br>Variables:<br>[code]<br>[coupon_desc]<br>[percent_discount]<br>[coupons_min_order]<br>[coupons_number_available]<br>[tax_desc]', '615', '8', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } } ?>
  6. you wouldn't mind letting us know what you did. WE have the same problem....
  7. where can i download the contribution now.. it is not wvailable on www.celtware.com anymore either.. please help.. I want his :)
  8. I can't find the contribution on www.oscommerce.com can anyone get me the link for the download of this contribution.. thanks
  9. i am wondering if it is a way to apply this contribution to all the images that allready have been uploaded to the website or do you have to upload all the images one more time for it to take effect. Meaning that if i allready have 500 products with images, must I go into eah product and upload the image for the product again or does this contribution go through all products and resize the thumbnail etc autmatically? Thank you to anybody who replies!
  10. celdish

    [Contribution] Auction Module

    great nick!! I found another error i believe. When people bid over you, you receive an email saying you are overbid. i think that everyone in a bid list receives a email when someone new places a bid. So lets say you place the first bid, and after that there are 10 other higher biders, you receive 10 emails saying you have been overbid. I think this happens, but i am not positively sure.
  11. i amwondering if it is a way to apply this contribution to all the images that allready have been uploaded to the website pr doy ou have to upload all the images one more time for it to take effect. Meaning that if i allready have 500 products with images, must I go into eah product and upload the image for the product again or does this contribution go through all products and resize the thumbnail etc autmatically?
  12. celdish

    [Contribution] Auction Module

    Here is a TO DO list for the script. All other contributions are also mostly welcome of course! Great if people post what they are working on, so nobody works on the same modifications. I have come to this TO DO LIST after using the script for some time now and seen what modifications are needed to make it into a perfect contribution and a must-have for all OSC users... Nobody has yet contributed the modifications marked in BLACK Someone has contributed the modification marked in blue BLUE 1. The administrator has an auction admin panel were he can set up auctions, and monitor bid activity. You choose the item you want to auction out from a complete product list containing all the products you have in the store. If the product is also in the store itself, when you enter the product to purchase it, it will only be available as an auction. To prevent this you must make a copy of the items you want to auction out. And place this in an inactive category. Then you will find it only under the auction site and it will also be available for normal purchase in the store. Possible Solution: When you create an auction it should automatically be created a copy of the product which is to be used for the auction. Then you do not have to manually make a copy of every product before you place it our for auction. The layout of the admin panel is not really superb either. 2. When an auction is over the countdown is changes to ?Auction ended?, however it is still possible to place bids. Possible Solution: The best solution here would be that when an auction is finished, it should automatically have its status set to ?inactive? and be removed from the web shop. (Contributed by deathgod) 3. The administrator must manually go in and accept the highest bid. When this is done an email is sent to the bidder telling him that they have won. The item is placed in the persons sopping cart at the highest bid price. For some reason the VAT tax is added to the price after the auction is over. The winner must now log in and complete the order and choose their preferred payment method. The administrator can accept several bids per auction, and this is actually very good. Maybe there are several bids you are satisfied with and are willing to sell the item for. Possible Solution: However if you accept several bids the price which the item is placed in the shopping cart at, is always the highest bid, and sometimes it also ends up being the product original price also. Here there are some errors that must be fixed. The email that is sent to the people whose bid has been accepted but is not the highest bidder is now the same as the highest bidder email. If you ask me theses emails should be different ? more like this: ?You have entered a bid on our auction and as stated in our Terms & Conditions an auction can have several winners. The item is placed in your shopping cart at your bid price, please go and finalise your order. 4. The way the script is now, if the persons whom bids have been accepted does not finalize the order, nothing happens. The administrator must then go in manually and check who has and has not finalized there order, and place an order manually for the customer. Possible Solution: Here it would be very smart if the script automatically generated an order after 7 days if the person has not finalized the order themself. This order should then be with Cash on Delivery payment. It would also be smart with a button next to each bid in admin section saying ?generate order? or something like this. When these orders are generated automatically, the auction should be deleted automatically from the admin section, since all the aspects of the auction is over. 6. The listing of the auctions are now sorted after which auction was last created by the admin. Possible Solution: Here the best would be to list the auctions by how much time is left. So that the auctions with least time left comes on the top. 7. It should also be an ?I accept the terms and conditions ?check boss next to the ?place bid? button. (contributed by marcusdesign) 8. Maybe the bid list should also contain the time which the bid was placed. (contributed by marcusdesign) 9. Maybe instead of customer name on the bid list, it should be customer ID#. (contributed by marcusdesign) Let's get down to work!
  13. celdish

    [Contribution] Auction Module

    Here is a TO DO list for the script. All other contributions are also mostly welcome of course! Nobody has yet contributed the modifications marked in RED Someone has contributed the modification marked in blue BLUE 1. The administrator has an auction admin panel were he can set up auctions, and monitor bid activity. You choose the item you want to auction out from a complete product list containing all the products you have in the store. If the product is also in the store itself, when you enter the product to purchase it, it will only be available as an auction. To prevent this you must make a copy of the items you want to auction out. And place this in an inactive category. Then you will find it only under the auction site and it will also be available for normal purchase in the store. Possible Solution: When you create an auction it should automatically be created a copy of the product which is to be used for the auction. Then you do not have to manually make a copy of every product before you place it our for auction. The layout of the admin panel is not really superb either. 2. When an auction is over the countdown is changes to ?Auction ended?, however it is still possible to place bids. Possible Solution: The best solution here would be that when an auction is finished, it should automatically have its status set to ?inactive? and be removed from the web shop. (Contributed by deathgod) 3. The administrator must manually go in and accept the highest bid. When this is done an email is sent to the bidder telling him that they have won. The item is placed in the persons sopping cart at the highest bid price. For some reason the VAT tax is added to the price after the auction is over. The winner must now log in and complete the order and choose their preferred payment method. The administrator can accept several bids per auction, and this is actually very good. Maybe there are several bids you are satisfied with and are willing to sell the item for. Possible Solution: However if you accept several bids the price which the item is placed in the shopping cart at, is always the highest bid, and sometimes it also ends up being the product original price also. Here there are some errors that must be fixed. The email that is sent to the people whose bid has been accepted but is not the highest bidder is now the same as the highest bidder email. If you ask me theses emails should be different ? more like this: ?You have entered a bid on our auction and as stated in our Terms & Conditions an auction can have several winners. The item is placed in your shopping cart at your bid price, please go and finalise your order. 4. The way the script is now, if the persons whom bids have been accepted does not finalize the order, nothing happens. The administrator must then go in manually and check who has and has not finalized there order, and place an order manually for the customer. Possible Solution: Here it would be very smart if the script automatically generated an order after 7 days if the person has not finalized the order themself. This order should then be with Cash on Delivery payment. It would also be smart with a button next to each bid in admin section saying ?generate order? or something like this. When these orders are generated automatically, the auction should be deleted automatically from the admin section, since all the aspects of the auction is over. 6. The listing of the auctions are now sorted after which auction was last created by the admin. Possible Solution: Here the best would be to list the auctions by how much time is left. So that the auctions with least time left comes on the top. 7. It should also be an ?I accept the terms and conditions ?check boss next to the ?place bid? button. 8. Maybe the bid list should also contain the time which the bid was placed. (contributed by marcusdesign) 9. Maybe instead of customer name on the bid list, it should be customer ID#. (contributed by marcusdesign) Let's get down to work!
  14. celdish

    [Contribution] Auction Module

    1. Hey Nick, I think it is a good idea to remove the install intruction until the script is bugfree. 2. I also agree that we should label it //BOF AUCTIONS CONTRIB - The following code does %BACKFLIPS% //EOF AUCTIONS CONTRIB 4. The problem with the countdown that it is set after each single computer time. So if you set you time on the computer back 2 houres the countdown will last for another 2 houres. Here we should program it so that the countdown is based on the server time. Great to see the script coming along. I believe this will become one of the most popular OSC modules. L8r guys!
×