Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

deep-silver

Archived
  • Posts

    352
  • Joined

  • Last visited

Everything posted by deep-silver

  1. soon i will have version1.10 with a simple way to show customers the points they will earn before buying. im still testing it to make sure its work on other currencies and putting my mind on how to fit it into the instrctions without having people posting me for errors that not really there. but if you need it asap i can mail it to you without taking no responsibility for it. will require you to modify catalog/products_info.php catalog/includes/functions/redemptions.php catalog/includes/languages/english/products_info.php and to add new line into configuration table. P.S= Disturbing me is not a problem as long as who ever do it, do it right as well as take responsibility to support people for any changes made to the original contrib by him/her. and not to pass support to me!
  2. By the way i forgot to mantion but in your reality $1.43 is actually rounded up 284.98 x 0.005= 1.4249 and so on.......
  3. Good points in a way of thinking. since the customers earn points for the amount they spend, if the buy a pruduct that already discounted they will simpley earn less points but the still spent money and deserve the points for it. Any way maybe it will still be a good idea to add this features with the option of turning it on/off just incase someone out there feel bad with giving points for discounted products. basectly it means that who ever will use this features,not really want to sale the discounted products and want the customers to push customers to pay a full price then i don't know if its a good idea to have a an ON SALE products for stores owners thinking this way
  4. Good idea. when time permit i will work on version V2.00 that will have this and as per post no.#63 way to exclude items for point rewards if items are already discounted as specials and earning points only on items with full price. A way customer could se how many points they will earn, before buying the product will require modifiy to catalog/products_info.php and admin/catagories.php this is running on my friend shop, i just dide'nt wont to make the STEP BY STEP INSTALLATION instrctions too diffcoult. All the ideas thats will probably add more flavor to this contrib. Thank you for that
  5. To all people who PM me in regard to the text editor i recommended in the INSTALL.txt well doing a yahoo search is not a big deal i don't understand why you coud'nt find it but any why here are the links to..... Crimson Editor http://www.crimsoneditor.com/ WinMerge http://winmerge.sourceforge.net/ so no more pm in regard please.
  6. for the customers to earn exact amount they have to spend the exact amount. You can try to avoid un rounded priceses but it wont help you with multi currencies . 1 dollar is not equals to 1 yen and not to 1 EURO. IF you really want you can remove any (int) before the points quary and play around with the DECIMAL(8,4) in data base table customers_points_pending as well as changing the customers_shopping_points in table customers from INT(11) to DECIMAL(your,choice). changes should be made by experienced users only. But Remember that applying this change will couse other currencies in refer to points to show long numbers(not sure if its the right math)and other currencies will never show round no.
  7. Hi. Thank you for pointing that. and yes this contribution rounds down if it is less than a dollar when earnd and kind of round up when a customer redeem the points. I first came across this issue when i tested this contribution with other currencies as i had no problem with Japanese yen(contribution made for a Jap friend at the beganing)The Japanese YEN define with 3 digit after the 1000 so the prices are like 2,000 YEN, 3,500YEN 1,980YEN so rounding up and down is not a problem. but the less digit on the price the more rounding issue accure. the same as the tax issue in regard to multi currencies used. this can be fixed on the spot if the store is using only one currency , but i think that is better to have a contribution that is fully oscommerce rulled rether then carring for points rounded up/down. Just to make it clear I've just changed the price in the test shop for Frantic [DVD-FRAN] [DVD-FRAN] to $284.98 . I also added other shipping options and Money Order per your request. Go to the test shop and by this item. http://www.deep-silver.com/shop/product_in...&products_id=15 then go to my points page and confirm that you have 284 points in pending. after that go to admin http://www.deep-silver.com/shop/admin/ and first set the points to sero for the customer John doe then go to admin customer pending page you will see that the points for that order are 248 while the value show $1.42 and this is the real redeem value for the customer. so if you confirm the pending points for this order (also Queue customers points table) and go back to my points page you will see that John doe points value show $1.42. while the confirmed points show 284 points. its show this way because since the table show the points and not thier value its set to (int)$points['points_pending'] so if you modify my_points.php(line 152) and remove the (int) before ....$points['points_pending'] the points will show 284.9800 so the points are there but to show it nicely i rounded them. i.e (with your setting) Buying item cost 39.99 will reward you with 39 points and when you redeem those point valued at $0.20 ($39.99 x $0.005 = $0.19995) The big issue is only in the math, in reall shop i dont think that offering $0.005 as a rewards is worth spending your time installing this module. something to think about :thumbsup: P.S 199.99 x 0.05= 9.9995 and 199.99 x 0.005= 0.99995
  8. Well... Good Job now you have GV Module run. I'm happy for you 2. The line you refer to is a check to confirm the payment status im not sure what to tell you but since this line is part of oscommerce original code and you got the module runing with no problem you should leave it as it is. You should remember that the less line you change in oscommerce original code the better it is. because any new version of oscommerce will always based on the original code and not on mine or GV code. thats the reson why this points/reawrds module written in a way that there are only one or two lines to comment out from oscommerce original code . but the line you refer to is in points/rewards module so i add it to the code i gave you(your post above). In refer to your scound Q im not sure i understand what you tried to write. but as far as i know any error that appear at the top of the page with the RED LINE is in the main languag files. the base of GV mod hold the define lines at the main language file i.e catalog/includes/languages/english.php but someone change it to show any GV error as a payment error so most likely the define language lines as been move but if by any case if you missing language line just add them in the main language.php(i.e catalog/includes/languages/english.php) and they sure to show. I hope that this will help you archive what you looking for . Good Luck
  9. O.k Are you trying to say i'm using Credit Class & Gift Voucher contribution ? you should wirte this at the start so other users with the same issue can learn from your post. To you and all other using GV cuppon mod. I added a screenshot with GV box just to show how it looks and did not mean that i support GV module. the Credit Class & Gift Voucher contribution as been there for long time and so many people have mad so much change so its really hard to tell. but let my try to help anyway..... Please be carefull and make sure to back up catalog/checkout_confirmation.php The INSTALL.txt for Points/Rewards Module v1.00 has require 2 steps to preform in catalog/checkout_confirmation.php Please make sure that you have the most updated version of Points/Rewards Module v1.00 ,download it from my site and make sure that you are having The INSTALL.txt for Points/Rewards Module v1.00 and not The INSTALL.txt for Points and Rewards v1.21 . after preforming the first step use this code as the 2nd step. this is only for shops using Credit Class & Gift Voucher contribution and im not sure that it will work for you but i think that you should give it a try. o.k enough talk now this is the code. Replace your line that start with.... if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules).......... with this and please be carefull doing it ##### Points/Rewards Module v1.00 check for errors BOF ####### //force customers to select other payment method if the points total not enough to cover the cost. //ICW includes for CREDIT CLASS //if ( ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { if ( (is_array($payment_modules->modules)) && (sizeof($payment_modules->modules) > 1) && (!is_object($$payment)) && (!$credit_covers) && ($order->info['total'] > $customer_shopping_points_spending )) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL')); } // customer can't use points over the order total if ($customer_shopping_points_spending * REDEEM_POINT_VALUE > $order->info['total']) { $customer_shopping_points_spending = 0; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(REDEEM_SYSTEM_ERROR_POINTS_OVER), 'SSL')); } ######## Points/Rewards Module v1.00 EOF #################*/ Now test it with and without GV, if it work I will be VERY happy(and maybe you too :lol: ) but if not let us know so maybe we can try other way(can't think of one now). By the way i'm not sure if its your post or the code but, the way your code is in regard to this section just don't look right to me so I had to try it and from some reson if your voucher account not enough to cover the cost its bring you back to checkout_payment.php but i dont see ERROR_NO_PAYMENT_MODULE_SELECTED in the way that oscommerce handle the errors you should see a red line with the error message(same as errors handeled by Points/Rewards Module v1.00). maybe you should check it up.
  10. Yes. The idea of points limit is to push customers to earn those points, and if they reach the 200 points and spend them in the shop we want them to spend some more before they can redeem again. You have to see it as a discount system so by default the setting is 1 points per 1 currency spent while the redeem rate is 1 point = $0.10. so if you do your math you will see that you give away a 10% discount in this case. but you have to remember that 10% is 10% for any amount spend so the more they spend the more they earn. but if a customer able to redeem point just after redeeming is 200 you will see that the 10% is not 10% any more(I hope that you understand what i mean ( because as for shop owners we prefer that the customers use less points and spend more cash that whats the online shop is for. Just play around with the admin section(as long as its on) and you will get the idea. Let me know if you have any other FAQ or whatever. DEEP SILVER ACCESSORY p.s= for everyone please don't use the contact page at deep-silver.com to send me emails even if its just a" thank you for a great contribution" its still fills up my mail account and i feel bad for not able to replay. and another thing. I think that the best way to thank me for this Mod is to go over the languages files and fix my grammers spelling mistakes.(and im sorry for that but, my language is not english)
  11. Are you happy with the change in your DB?? as you advised users to use your cod.... =================================================== UPDATE `configuration` SET `configuration_title` = 'Points per ?1 purchase', `use_function` = NULL , `set_function` = NULL WHERE configuration_id` =191 LIMIT 1; UPDATE `configuration` SET `configuration_title` = '? Redeem per point', `use_function` = NULL , `set_function` = NULL WHERE `configuration_id` =192 LIMIT 1; =================================================== what makes you so sure that other users configuration_id value match your value configuration_id` =191 ??????. and im really wondering, applying this change made any diff in the way this module deals with the values for corrency???? It shows YEN but cosider it $, EURO, YEN POND RUPPIES, PESSOS, or whatever currency you want it will always used the default currency defined by admin. But go ahead and change it if its make you sleep better. :thumbsup:
  12. Well..... What ever as long as you happy with my contribution thats fine but please DO NOT uploads to the contribution page a zip that NOTcontain all of this package.(and write that it is). Some people need screenshots and modified oscommerce files so they can get more idea of this and to be able to compair with the files they have. If you really want put the whole packge at your site, setup a test shop and then give them a link to the where they can get this packge. P.S I'm not american and dude say nothing to me(Ihope that its not as bad as it sound :) DEEP SILVER ACCESSORY
  13. To all of you out there. It's good to know that you can run this mod on your site and thank god that all the post here regard the YEN or $ got clear and more then all the problem with missing fuction that some people where having errors. well to be hunest I really don't find any diff in the catalog/includes/functions/redemptions.php that i have in my site and the one that had been fixed if you compers the files you will see that its the same file. the most recent updated or latest or call it what ever you want but its still Points/Rewards Module v1.00 since nothing changed in the files and WORKING vesrsion was up and running way before who ever made it to v.100 and the screenshots and live test can confirm that, for me its still Points/Rewards Module v1.00 and its still consider beta and subject to bugs or error. even if its looks like it run well you must remember that i just made it and it take time before other users try it enough to find bugs. BUT its really dosent metter you can call it Points/Rewards Module v1.00 or Points/Rewards Module v1.2 its up to you as long as you happy it with then im happy to .that is the reson i made it from the first place. God bless all of us. DEEP SILVER ACCESSORY p.s please don't mine my spelling mistakes :lol:
  14. Thank you for your time and afford. Now when the test shop is on and runing well (I hope.) i can try to help and do my best the most importent is that anybody who download this make sure to get the full version from my site and to check to make sure no errors accure while downloading the zip. some people get broken files from some resons. I'm sorry but I had to limit the admin section and I'm sure that you understand. I don't know how much longer i can keep this test site on since it bring lots of traffic to my site. so the sever load is slow. also people making change to admin section while others trying the customer side test and thats make a lot of mass with the points result and i think that you know what i mean. Thank you again. DEEP SILVER
  15. To make sure everyone knows this is a beta project and that maybe there are errors, bugs or god knows what. The zip uploaded in oscommerce contributions site only contain this *Points & Rewards Module BETA* with ONLY files needed. I've setup a test shop in order for you to test this module, please pay respact and try not to spend long time logedin so others can test it as well. Products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed and no mail will sent in or out via this site.. Any information seen on these products is to be treated as fictional. To test the customer side please use... http://www.deep-silver.com/shop/ E-Mail Address: [email protected] Password: users to test the admin use this link http://www.deep-silver.com/shop/admin/ if you like it you will be able to downloaded from the test site and here..... http://www.deep-silver.com/oscommerce/poin...eward_v1.00.zip Please note that the test shop is there for short time only.(untill end of Jun.2005) sorry evryone.
  16. To all of you trying to install this. I just want to tell you that i worked hard for this and the sceenshots provided are not something that i drow, those are reall sceenshoots on a fresh install. so i wanted to share this with oscommerce Community. I will try to do my best to try to help people with this module but, please don't just post an error . Please make sure you give as much information as possible. like php,sql,server fresh install or not. Its seem like it works for some shops and give a hard time to some others the best way is to test it on a fresh install and not to modify yours, see how it goes and if it works for you then you should give it a try.(if you want). To all out there that worry about the YEN shown on this module its just a word you can change it with whatever you want its really DONT matter the real count is in the value box so if your value box say 0.1 and your currency set to $, the Exchange Rates will show : Awards : $1.00 = 1 point(s) Redeem : 1 point(s) = $0.10 in the admin page so if you still care that it say YEN and not DOLLAR then go ahead in change this word in redemptions.sql(line 36 and 37)before execute the statements. (some modified shop maybe need to work this out so it will function well) there are maybe some bugs or whatever makes it go wrong i eally don't know since i tested it on my pc and friends shop. i made this for a friend of mine. she needed it for her live shop located in japan.(i've been asked not to give the site name). When i live shop will be ready i will post the links to it here. till then don't rush( you waited so long for such a module so wait just a little more) This mod as just uploaded and considers as beta, like any other modules out there people fix bugs or try to improve or just ajust it to thier need.) Just keep it on a small fire come back once in a while and check the forum for some usefull infromation and then maybe when you see enough seccessfull install posted here that the right time to install it.
  17. Hi there. i think that the answer to all of that can be found in the readme and install files (you did read it right??????) INSTALL.txt (line no.30) ####### STEP BY STEP INSTALLATION ################ installation procces aprox. 45.min did you see that. well i can't really tell you how long it well take its really case by case. if you so worried don't install it.
  18. Hi evrybody. Thanks for your interest in this module. I made a mistake the STEP BY STEP INSTALLATION instrctions chapter G. This is the correction for chepter C. ############################################## G. open catalog/checkout_process.php Clear sessions used at checkout if by any chance they still active. Find... (aprox. line 275) tep_session_unregister('comments'); ... and add after..... tep_session_unregister('customer_shopping_points');// Points/Rewards Module v1.00 tep_session_unregister('customer_shopping_points_spending');// Points/Rewards Module v1.00 ############################################## I've tested this on a some shops. and on my pc with windows server and sql version 4.0 php version 4.3. I will now try to set up a live test shop on my server to give some more idea and maybe find any error while using linux system with apache
  19. The idea comes from contributions... http://www.oscommerce.com/community/contributions,2082 http://www.oscommerce.com/community/contributions,2221 but they are not required and its NOT an update to them . Please note that even if this contribution carry the same title as contributions 2221, they are NOT the same and you WON'T be able to merged this module with contributions 2221. that's the reason i did not uploaded there, if you already installed contributions 2221 or cosidering it, you will have to make your choice amoung the two. (NOT like contributions 2221, this module does NOT require any of the functions required by Credit Class & Gift Voucher so you can use it with or without Gift Voucher contribution(tested) What does this module do ? ------------------------------------ I think that the title say it all. This is a Points and Reawrds system,(more or like a cash back or discount system) aimed to popup sales and get new usrs to signup. The system awards shopping points to customers for the amount they spend. Points consider as cash when redeemed, so points are in pending status untill approved by admin.(manually) Once approved, customers can then use those points to pay for order druing checkout. Admin features. ------------------------------------ 1.Enable/Disable the Points System. 2.Enable/Disable the Redemptions System.(maybe you would like to offer a gift and not money back). 3.Set the number of points awarded for evry $1.00 spent(or whatever based on your currency system). 4.Set the value of each point(based on your currency system). 5.Enable/Disable points awarded for shipping fees. 6.Enable/Disable Products Restriction. 7.Set the model name allowed When Products Restriction enabled.(only one group) 8.Enable/Disable Points Limitation. and set the number. of points needed before they can be redeemed. 9.Enable/Disable Welcome Points. and set the Points amount to be auto-credited for New signup customers. 10.Admin can view/add/delete customers points with/without queuing customers points table(optimised the database). Customes features. ------------------------------------ * New signup customers can be awarded with welcome points. * Customers can earn points(cash back) for an item purchased at the store. * Customers can choose the amount of points they would like to spend. * Customers can view their shoping points account status. The system designed to use minimum database space, customers points hold in customers table while all other points hold in customers_points_pending table. Once pending points approved by admin, pending points move to customers account so table used stay optimised. Redeemed points recorded in customers order history only. What this module does not do ? ------------------------------------ 1.The system designed for a small to medium shops. Since shopping points cosider as money when redeemed. awarded points default status is pending. Customers shopping points account will never be auto-credited(except points for new signup if enabled). if you own a large shop with lots of orders daily, it could be hard to keep track of points then this system is NOT for you. 2.When admin delete order while points status for that order is still pending. those points will also be deleted, however if admin already approved those points, admin must delete them manually(via admin panel). This module as been tested on a fresh install of osCommerce Version 2.2MS2 as well as on a fully modified versions (includes Credit Class & Gift Voucher contribution). Please use it at your own risk. This zip package includes... * A folder contain all files and images required by this module .(sorry,only english language files provided). * A folder contain all images, new and modified files required by this module (for a fresh install). * A folder contain screenshots admin and catalog(I think that all contributions uploaded here should have). * Step by step installation instrctions(corrently only in english). All support handled through the osCommerce forums. Please do not email directly. As a respect to the contributors and as part of GNU General Public License You are not allowed to remove any of the comments/links to oscommerce web site.
  20. Hi there Just installed on ms2.2 , work fine have one problem when the link for cuppon info appear on the shopping cart box the link give an java script error and the popup cuppon help file will not open. anyone has the same problem? is this a bug? any idea how to fix it? cheers.. ben
  21. 1. the newst version is mixed up the CC class check for JCB while using VISA and check for visa when using JCB 2. the help file link will not show(the link itself wont show)
  22. thanks for your replay. I made the test on the latest version but still the same maybe people just don't put their mind on the small things if you modify a product that has a set it will always overwrite the one before even if you only modify the price,image,itc...
  23. Hi there Thanks for a nice cont' Ive just notice that once you install and use Attributes Set you can not add/remove a single Attributes to this product ex. products use Attributes Set SIZE X,M,L and you want to remove X only you can do that true the Products Attributes page but once you modify this -products again it will overwrite it Attributes and will add it back Attributes Set so you can never delete a single Attributes . I wish i can find an answer to this since i would like to use this cont' thank you BEN
×
×
  • Create New...