♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 (edited) @raiwa @LeeFoster I did a quick test run on the latest package. I created 2 customer accounts so that I am able to test the referral feature. Test 1: Place normal order and see if points are given to customer. Worked as it should. Points stay on pending till confirmed by admin. Test 2: As new customer place an order and enter e-mail address of other customer as referral. Also worked as it should. Referral points stay on pending till confirmed. Order points also given and also staying on pending till confirmed. Test 3: Placing an order and paying the whole amount with points only. In admin -> HT module settings I have the following inside. Award points for order with redeemed points -> True Still points are not given after placing order. (Bug 10? ) Not even sure points should be given at this point since the whole amount was paid in points. And the item is basically free of charge. Test 4: Placing order and this time covering only partial of total with points.This time points are given and stay pending till confirmed. Test 5: Write review for a purchased product. Worked as should, points are in Referral staying pending till confirmed. -------------------------------------------------------------------------------------------------- Other things I mentioned Missing text definition in Points payment module define('TEXT_POINTS', 'Points'); *********************************************** Missing footer module? ************************************************ Text definition in products_reviews.php and product_reviews_writing.php is missing define('REVIEW_HELP_LINK', ' Write a Review and earn <b>%s</b> worth of points.<br />Please check the %s for more information.'); In both files this following code needs to be removed <?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> ************************************************* This is all till now. I cannot test the PayPal Standard stuff and also the e-mails. Edited September 18, 2017 by Tsimi raiwa 1 Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 @raiwa Hi Rainer I just uploaded a few changes and fixes to my fork. Mostly included the stuff I mentioned before and I also cleaned the (txt) install manual. Added missing new files and added/removed a few steps. Now I will start with the translation but don't hope too much my German is not what it used to be after 11 years over here things tend to get forgotten. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 7 hours ago, Tsimi said: Inside includes/languages/english/hooks/shop/points/points_hooks.php FIND define('TEXT_REDEEM_SYSTEM_PAYING', 'Please select points payment to pay your entire order with your points. (%s points %s) <i class="fa fa-arrow-right"></i>'); REPLACE WITH define('TEXT_REDEEM_SYSTEM_PAYING', 'Please select the <strong>Points</strong> payment method to pay your entire order with your points. (%s points %s)'); DONE 4 hours ago, Tsimi said: Test 3: Placing an order and paying the whole amount with points only. In admin -> HT module settings I have the following inside. Award points for order with redeemed points -> True Still points are not given after placing order. (Bug 10? ) Not even sure points should be given at this point since the whole amount was paid in points. And the item is basically free of charge. This is how it works. Points are given on order total: // customer pending points added if ($order->info['total'] > 0) { Even if the order is partially paid by points, only for the part paid by real money, points are given. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 1 minute ago, Tsimi said: Now I will start with the translation but don't hope too much my German is not what it used to be after 11 years over here things tend to get forgotten. No prob, I can revise german. It's important that the base is done. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 4 hours ago, Tsimi said: Missing footer module? I only added the modifed template file to replace the core template. I saw that you created complete alternative modules. I can do this also if you prefer. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 5 hours ago, Tsimi said: Text definition in products_reviews.php and product_reviews_writing.php is missing define('REVIEW_HELP_LINK', ' Write a Review and earn <b>%s</b> worth of points.<br />Please check the %s for more information.'); In both files this following code needs to be removed <?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> @LeeFoster, These definitions are already removed from english.php. They should be included in the new modules language files. The separator should be removed also in the new modules. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 5 hours ago, Tsimi said: This is all till now. I cannot test the PayPal Standard stuff and also the e-mails. I'm using a nice small programm to catch e-mails under my windows develop environment: https://github.com/changemakerstudios/papercut If you are using Skype, you may need to change the smtp port from 25 to anything else in php.ini and papercut options. I'm using 28 instead. PayPal standard later on. Tsimi 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
LeeFoster Posted September 18, 2017 Share Posted September 18, 2017 On 17/09/2017 at 8:37 AM, raiwa said: @LeeFoster, would this be a job for you, point 2+3? You could take the product_info module as an example. Did you already create a module for the reviews page? There seems to be one in there but it doesn't work. Quote Link to comment Share on other sites More sharing options...
LeeFoster Posted September 18, 2017 Share Posted September 18, 2017 6 hours ago, Tsimi said: Test 3: Placing an order and paying the whole amount with points only. In admin -> HT module settings I have the following inside. Award points for order with redeemed points -> True Still points are not given after placing order. (Bug 10? ) Not even sure points should be given at this point since the whole amount was paid in points. And the item is basically free of charge. I think this should be changed to allow point redemption on partial points payments only. I wouldn't want someone getting points for spending points. Also I get the below error when on the referral points screen in admin, though I think referral points and pending points should be merged. Quote Warning: array_merge(): Argument #2 is not an array in E:\xampp\htdocs\store\admin\customers_points_referral.php on line 422Warning: reset() expects parameter 1 to be array, null given in E:\xampp\htdocs\store\admin\includes\classes\object_info.php on line 21Warning: Variable passed to each() is not an array or object in E:\xampp\htdocs\store\admin\includes\classes\object_info.php on line 22Warning: array_merge(): Argument #2 is not an array in E:\xampp\htdocs\store\admin\customers_points_referral.php on line 422Warning: array_merge(): Argument #2 is not an array in E:\xampp\htdocs\store\admin\customers_points_referral.php on line 422 Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 (edited) 1 hour ago, raiwa said: I only added the modifed template file to replace the core template. I saw that you created complete alternative modules. I can do this also if you prefer. Ah, I see... I was looking for a new module. Duh! I created new modules for the navbar and shopping box because I didn't want to overwrite/replace any files, not even the modules that come with osC from the beginning. Just a simple copy & paste job with new titles and file names and the code changes, done. The only thing that cannot be done as new module is the "pages" account thing. That is kinda weird code. @LeeFoster Quote I think this should be changed to allow point redemption on partial points payments only. This is how it works at the moment. If a customer pays the whole order with points only he doesn't get any. Only if he uses partial points. If this something you don't like to give then just set Award points for order with redeemed points -> false and you're good. I also cannot recreate your errors. Edited September 18, 2017 by Tsimi raiwa 1 Quote Link to comment Share on other sites More sharing options...
LeeFoster Posted September 18, 2017 Share Posted September 18, 2017 Ignore my errors this was due to me testing the review module but not making a review. I've made the review module that is included work too. I'll post the update shortly. Tsimi and raiwa 2 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 1 hour ago, LeeFoster said: Did you already create a module for the reviews page? There seems to be one in there but it doesn't work. @LeeFoster Yes I created one and it works for me. Can you double check. You need to modify reviews.php or use the new one uploaded. @Tsimi can you check and confirm, please. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
LeeFoster Posted September 18, 2017 Share Posted September 18, 2017 8 minutes ago, raiwa said: @LeeFoster Yes I created one and it works for me. Can you double check. You need to modify reviews.php or use the new one uploaded. @Tsimi can you check and confirm, please. Sorry I was looking at product_reviews.php and product_reviews_write.php. I've amended these with the same changes in reviews.php so it's one switch for all 3 Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 (edited) @raiwa Reviews module works just fine and as @LeeFoster pointed out you can use the same call code for product_reviews.php and product_reviews_write.php Oh and btw. translating the FAQ page is a friggin nightmare! Edited September 18, 2017 by Tsimi raiwa 1 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 1 minute ago, Tsimi said: Reviews module works just fine and as @LeeFoster pointed out you can use the same call code for product_reviews.php and product_reviews_write.php Yep, wasn't aware that's the same content. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 @raiwa Yeah, I didn't know either till @LeeFoster mentioned it. That's great, 3 for 1 so to speak. So @LeeFoster didn't need to create new modules for those pages the one you did does the job just fine. I updated my github with the latest changes and updated the txt install manual. raiwa 1 Quote Link to comment Share on other sites More sharing options...
LeeFoster Posted September 18, 2017 Share Posted September 18, 2017 7 minutes ago, Tsimi said: @raiwa Yeah, I didn't know either till @LeeFoster mentioned it. That's great, 3 for 1 so to speak. So @LeeFoster didn't need to create new modules for those pages the one you did does the job just fine. I updated my github with the latest changes and updated the txt install manual. Yep, saved me a job Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 (edited) @raiwa What sounds better to you? Treuepunkte Bonuspunkte Loyalitätspunkte or just simple Punkte Edited September 18, 2017 by Tsimi Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 I gotta take a break for today. I got the my_points.php translated and the FAQ site until Question 3. I always hated language stuff. Catch you later guys... @raiwa You want me to push the latest github changes? Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 (edited) 1 hour ago, Tsimi said: @raiwa What sounds better to you? Treuepunkte Bonuspunkte Loyalitätspunkte or just simple Punkte Difficult. Google says "Belohnungspunkte", but sounds me a bit "oldfashion". Maybe "Bonuspunkte" is good to cover all meanings from reviews to referral and shopping points. EDIT: Just remembered now that in the 60's there existed a redeem point sistem in real stores called "Rabattmarken". So maybe it could be called "Rabattpunkte", or is it also too "oldfashion" :-) Edited September 18, 2017 by raiwa Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 1 hour ago, Tsimi said: @raiwa You want me to push the latest github changes? Yes, please. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
bonbec Posted September 18, 2017 Share Posted September 18, 2017 Great work guys It's very interesting. I think you can use "Treuepunkte" : this is the term used by a competitor on the German version of his site. Quote with OsC 2.2 since 2006 ... Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 3 minutes ago, bonbec said: Great work guys It's very interesting. I think you can use "Treuepunkte" : this is the term used by a competitor on the German version of his site. Thanks. "Treuepunkte" in the strict sense, covers only shopping points, it's not so good for referring and reviews. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 18, 2017 Author Share Posted September 18, 2017 @raiwa Pull request generated. Regarding the points it is indeed difficult to decide. I looked at 2 different shops that have such points system and German language in their shops and both say Treuepunkte on every page except for the FAQ page there they call them Bonuspunkte or Bonuspunkte System. Right now I am using Treuepunkte but I can change that anytime. @bonbec Thank you. We could use a French translator if you're up to it.... Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 18, 2017 Share Posted September 18, 2017 38 minutes ago, Tsimi said: Right now I am using Treuepunkte but I can change that anytime. Then leave it, who wants to change it: search and replace :-) Just for curiosity, google search results: bonuspunkte system online shops: 111.000 treuepunkte system online shops: 59.900 Loyalitätspunkte system online shops: 15.900 rabattpunkte system online shops: 4.890 Tsimi 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets 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.