Even it doesnt matter ... still its superb addon ...
GOOD WORK !:thumbsup:
Printable View
Hi,
First - thanks for this add on. It's great.
I have one weird problem I was wondering if anyone can help with.
In my admin section it shows the following headings.
Catalog > BOX_REWARD_POINTS
Customers > BOX_GROUP_REWARD_POINTS_REDEEM
Customers > BOX_CUSTOMER_REWARD_POINTS
and the same with a few other options. Any idea's how I fix this. Everything appears OK on the store front.
Thanks
John
Looks like you're missing the admin language files, make sure you've uploaded all those files in the mod :)
i was able to install and it works like it should - very nice... one problem though; in the admin / configuration menu i have two entries for the Reward Points one works, the other does not..... any thoughts?
Hey all,
Can anyone give a hand with un-installing the Rewards Module?
It is a GREAT mod but we have decided to go a different direction with discounts.
Is it possible to turn it off?
I would rather do that just in case we ever wanted to revert to using it. I tried removing all of the files that said "reward" and removing the three reward tables in myphp. The I tried restoring all of the order.php files in the admin and the includes classes folders but continued getting missing descriptions and checkout buttons so I reinstalled to get the functionality back.
Thanks anyone!
Nice mod. I like it
But one question about IDEA.
I give to Customers some points when the spend money....Spend 100 USD - take 100 Points.
Nice
When customer use Points for pay for my goods - I have nothing. But Customer hase bonus.
It is nice too... advertising and hi need stay in my shop if need some free gifts.
But when hi place order for 100 USD and pay by Points - not money. Why I need give him 100 points ????? For what??? Hi have goods free - spend own Points and take gift...
But hi hase gift and take 100 points. It is too match....
Must be change - points change to goods... But I dont like give him 100 point when hi pay by points - not money
Can I change something for dont give points to Customer if it pay buy points - not real money?
My english is terrible but meibe somebody understand me 8)
Yes this is a great mod.
Has anyone yet figured out a way to use only partial points to pay instead of forcing the customer to redeem all of the points at one time?
Im list this topic and find last version
Now Im happy. great MOD
thank you
which is the exactly process to uninstall?
if when I install, I first upload files and then execute the SQL patch
to uninstall I need execute the uninstall SQL patch and after that delete the files?
thanks in advance...
This is the way that I would uninstall the mod. Make sure you back up the files just in case.
Of course you could always just disable it from the Admin just in case you ever want to use it again. That is even better.
Let me know how it works out for you if you do uninstall it.
I played around in my "demo test cart" to see if I could disable this mod without uninstalling it. You can turn this mod off by doing the following:
Admin > Modules > Order Total Modules
Uninstall > Reward Points
Uninstall > Reward Points earned
That should do it.
I do it, but still show me the points in each product...Quote:
I played around in my "demo test cart" to see if I could disable this mod without uninstalling it. You can turn this mod off by doing the following:
Admin > Modules > Order Total Modules
Uninstall > Reward Points
Uninstall > Reward Points earned
That should do it.
Yes I noticed this.
I was able to uninstall this mod in my demostore by running the uninstall script and then deleting all of the files. No problems at all.
I did have problems when I did not delete all of the files after running the sql uninstall script.
Good luck!
ok, I will do it
Yes- the uninstall is just the reverse of the install. Remove all the files including the ones in your custom folder and run the uninstall.sql patch.
I'll add a config to the next version that will allow a site-wide switch off of the mod without uninstalling. This should make it a lot easier for people to try the mod out and postpone it if it does not meet expectations.
ok, something is wrong... very wrong...
when I execute the uninstall sql patch, I obtain this message:
1146 Table 'scrappin_zc1.configuration' doesn't exist
in:
[DELETE IGNORE FROM configuration WHERE configuration_group_id=@group_id;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I delete the files... and now, my front door is not ok... my product description and my right column is not there anymore when I click in a product for details, look:
http://scrappingwhispers.com/store/i...roducts_id=885
and in the admin area, I still have things from the mod, with errors, for example:
Configuration/Reward Points
Warning: call_user_func(UseRewardPointStateFunction) [function.call-user-func]: First argument is expected to be a valid callback in /home3/scrappin/public_html/store/admin/includes/functions/general.php on line 1544
Warning: call_user_func(UseRewardPointNewAccountAwardFunction) [function.call-user-func]: First argument is expected to be a valid callback in /home3/scrappin/public_html/store/admin/includes/functions/general.php on line 1544
I need help with urgency! please!
ok, I check again all files, and found some that I forgot delete it and now, in my front door all looks ok
just in my admin area... only still have this page with this errors:
Configuration/Reward Points
Warning: call_user_func(UseRewardPointStateFunction) [function.call-user-func]: First argument is expected to be a valid callback in /home3/scrappin/public_html/store/admin/includes/functions/general.php on line 1544
Warning: call_user_func(UseRewardPointNewAccountAwardFunction) [function.call-user-func]: First argument is expected to be a valid callback in /home3/scrappin/public_html/store/admin/includes/functions/general.php on line 1544
yes, I delete it... in admin/includes/javascript
I don't have files related with the mod
RPD? I don't know what is that... :huh:
From the readme file in the mod zip:
Reward Point Mod Diagnostic Tool.
This is available here: http://www.omnicia.com/rpd.zip
If you have renamed your admin folder, you will need to open up rpd.xml in a plain text editor and change admin to your actual admin folder name
If memory is correct LOL you upload the files to your store directory then browse to your_site/your_store/rpd.php and it will give you a list of all files and if they are still there or missing :)PHP Code:
<?xml version="1.0" encoding="windows-1252"?>
<rpa>
<folders>
<folder>admin
I take a look in your store, you have the mod installed... is working? or you assign points manually?
how you do with sales? because in my store, with sale prices points was applicated to real price.... I check yours and when you have sale price, points change to sale price...
Reward Point Module Diagnostic
Site Settings
Zencart version: Zen Cart v1.3.8a
PHP version: 5.2.9
MySQL version: 4.1.22-standard
Zencart Settings
Zencart Custom Folder: includes/templates/orange/
Zencart Custom Template: orange
Zencart MySQL Prefix: zen_
Folder/File Check
admin/- folder found.
admin/customers_reward_points.php- file missing!!!
admin/group_reward_points.php- file missing!!!
admin/reward_points.php- file missing!!!
admin/includes/- folder found.
admin/includes/reward_points.css- file missing!!!
admin/includes/boxes/- folder found.
admin/includes/boxes/extra_boxes/- folder found.
admin/includes/boxes/extra_boxes/group_reward_points_customers_dhtml.php- file missing!!!
admin/includes/boxes/extra_boxes/reward_points_catalog_dhtml.php- file missing!!!
admin/includes/boxes/extra_boxes/reward_points_customers_dhtml.php- file missing!!!
admin/includes/boxes/extra_boxes/reward_points_dhtml.php- file missing!!!
admin/includes/extra_datafiles/- folder found.
admin/includes/extra_datafiles/reward_points_filenames.php- file missing!!!
admin/includes/functions/- folder found.
admin/includes/functions/extra_functions/- folder found.
admin/includes/functions/extra_functions/reward_points_functions.php- file missing!!!
admin/includes/javascript/- folder found.
admin/includes/javascript/reward_points.js- file missing!!!
admin/includes/languages/- folder found.
admin/includes/languages/english/- folder found.
admin/includes/languages/english/customers_reward_points.php- file missing!!!
admin/includes/languages/english/group_reward_points.php- file missing!!!
admin/includes/languages/english/reward_points.php- file missing!!!
admin/includes/languages/english/extra_definitions/- folder found.
admin/includes/languages/english/extra_definitions/reward_points_definitions.php- file missing!!!
includes/- folder found.
includes/auto_loaders/- folder found.
includes/auto_loaders/config.reward_points.core.php- file missing!!!
includes/classes/- folder found.
includes/classes/observers/- folder found.
includes/classes/observers/class.reward_points.php- file missing!!!
includes/extra_datafiles/- folder found.
includes/extra_datafiles/reward_points_filenames.php- file missing!!!
includes/functions/- folder found.
includes/functions/extra_functions/- folder found.
includes/functions/extra_functions/reward_points_functions.php- file missing!!!
includes/languages/- folder found.
includes/languages/english/- folder found.
includes/languages/english/extra_definitions/- folder found.
includes/languages/english/extra_definitions/orange/- folder missing!!!
includes/languages/english/extra_definitions/orange/reward_points.php- file missing!!!
includes/languages/english/modules/- folder found.
includes/languages/english/modules/order_total/- folder found.
includes/languages/english/modules/order_total/ot_reward_points.php- file missing!!!
includes/languages/english/modules/order_total/ot_reward_points_display.php- file missing!!!
includes/modules/- folder found.
includes/modules/order_total/- folder found.
includes/modules/order_total/ot_reward_points.php- file missing!!!
includes/modules/order_total/ot_reward_points_display.php- file missing!!!
includes/modules/sideboxes/- folder found.
includes/modules/sideboxes/orange/- folder missing!!!
includes/modules/sideboxes/orange/reward_points.php- file missing!!!
includes/modules/sideboxes/orange/shopping_cart_with_rewards.php- file missing!!!
includes/templates/- folder found.
includes/templates/orange/- folder found.
includes/templates/orange/css/- folder found.
includes/templates/orange/css/stylesheet_reward.css- file missing!!!
includes/templates/orange/sideboxes/- folder found.
includes/templates/orange/sideboxes/tpl_reward_points.php- file missing!!!
includes/templates/orange/sideboxes/tpl_shopping_cart_with_rewards.php- file missing!!!
includes/templates/orange/templates/- folder found.
includes/templates/orange/templates/tpl_account_edit_default.php- file found.
includes/templates/orange/templates/tpl_product_info_display.php- file found.
includes/templates/orange/templates/tpl_product_reward_points.php- file missing!!!
includes/templates/orange/templates/tpl_create_account_success_default.php- file found.
MySQL Database Check
zen_reward_master- table missing!!!
rewards_products_id- field missing in zen_reward_master!!!
scope- field missing in zen_reward_master!!!
scope_id- field missing in zen_reward_master!!!
point_ratio- field missing in zen_reward_master!!!
bonus_points- field missing in zen_reward_master!!!
redeem_ratio- field missing in zen_reward_master!!!
redeem_points- field missing in zen_reward_master!!!
zen_reward_customer_points- table missing!!!
customers_id- field missing in zen_reward_customer_points!!!
reward_points- field missing in zen_reward_customer_points!!!
pending_points- field missing in zen_reward_customer_points!!!
zen_reward_status_track- table missing!!!
rewards_id- field missing in zen_reward_status_track!!!
customers_id- field missing in zen_reward_status_track!!!
orders_id- field missing in zen_reward_status_track!!!
date- field missing in zen_reward_status_track!!!
reward_points- field missing in zen_reward_status_track!!!
status- field missing in zen_reward_status_track!!!
zen_configuration_group- table found.
Reward Points- record found in zen_configuration_group.
zen_configuration- table found.
Reward Point Sidebox Display- record found in zen_configuration.
Reward Point Status Track- record found in zen_configuration.
Reward Point Sunrise Period- record found in zen_configuration.
Reward Point Redeem Minimum- record found in zen_configuration.
Reward Point Redeem Maximum- record found in zen_configuration.
Reward Point Rounding- record found in zen_configuration.
Max Transactions to Display in Customer Admin- record found in zen_configuration.
Delete Old Reward Transactions Period- record found in zen_configuration.
Adjust Reward Points for Sales/Specials- record found in zen_configuration.
Allow Reward Points on Free Products- record found in zen_configuration.
Allow Redeem of Reward Points on Order Total or Subtotal- record found in zen_configuration.
Set Minimum Order Value to Redeem Points Against- record found in zen_configuration.
Limit maximum Customers on Listings- record found in zen_configuration.
Display Products Reward Points When Zero- record found in zen_configuration.
Set New Account Reward Points- record found in zen_configuration.
hi hem,
when i run the sql, i got the following errors:
now,Quote:
23 statements processed.
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
ERROR: Cannot insert configuration_key "" because it already exists
Note: 16 statements ignored. See "upgrade_exceptions" table for additional details.
i can see "reward points" from admin-configuration", but when i click it, the page is empty.
i can see "reward points" from admin-customers, but when i click it, i got this:
how do i fix the problem? :cry:Quote:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REWARD_POINTS_CUSTOMER_LIMIT' at line 1
in:
[select c.customers_id, c.customers_lastname, c.customers_firstname, c.customers_group_pricing, r.pending_points, r.reward_points, gp.group_name, rm.redeem_ratio from customers as c LEFT JOIN (reward_customer_points as r) ON (r.customers_id=c.customers_id) LEFT JOIN(group_pricing as gp) ON (gp.group_id=c.customers_group_pricing) LEFT JOIN(reward_master as rm) ON ((c.customers_group_pricing!=0 AND rm.scope=3 AND rm.scope_id=c.customers_group_pricing) OR (c.customers_group_pricing=0 AND rm.scope=0 AND rm.scope_id=0)) WHERE c.customers_lastname LIKE 'B%' ORDER BY c.customers_lastname LIMIT REWARD_POINTS_CUSTOMER_LIMIT;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
i use zencart 1.38a, reward points 1.22a, mysql 5.0
I installed the rewards points cart but the sidebox for it isn't showing up on the front end. Can anybody tell me what I'm doing wrong? Thanks
~Eris
having a similar difficult time; tried to uninstall and reinstall and ended up with multiple Reward Point menu choice under admin configuration menu. I have removed all of the instlled files, but when i run the uninstall sql i get :
1146 Table 'civilwardocs.configuration' doesn't exist
in:
[DELETE IGNORE FROM configuration WHERE configuration_group_id=@group_id;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank field
the menu items are still there....
when i run the rpd.php i get:
Reward Point Module Diagnostic
Site Settings
Zencart version: Zen Cart v1.3.8
PHP version: 4.4.7
MySQL version: 5.0.51a-log
Zencart Settings
Zencart Custom Folder: includes/templates/darkness/
Zencart Custom Template: darkness
Zencart MySQL Prefix: zen
all other admin menu items are gone, and the shopping process seems to work fine; how can i remove the admin - configure menu choices
Thanks in advance
i can see that the uninstall did not remove the configuration group from the database, but i would rather have the uninstall sql do it than remove them manually - i do not know if there are other items that should be removed as well
hi hem,
all products price display in price inc on my site.
if the product price exc $100, tax 10%, price inc $110, 1$=1point
so, i need it to be:
on product description page : Price $110, 100 reward points
in shopping cart : 100 reward points
on total order page when check out : 100 reward points
but now, i have the tax problem, it shows:
on product description page : Price $110, 100 reward points
in shopping cart : 110 reward points
on total order page when check out : 110 reward points
any ideas?
i have a question, i'm not sure if it could be done with the current version RP mod.
if the product price is $10 with an attribute $3, then the customer get 13 points for this order. but i dont want it add the attribute price to the point, is it possible?
I'm having a similar problem. Though I managed to get missing areas back by using update.sql instead of new.sql after uninstall.sql, I had to reset up my reward points set-up, which I expected anyways after all that, but I too have multiple "Reward Points" sections with only one functional one in my configuration section. I remember reading something about it somewhere, but I'm too tired to try and find it again as I've literally read through the whole thread and did all the adjustments as needed along the way lol I remember having to go through my phpadmin once to change IDs for products, so I'm guessing I would have to do the same for this? I just can't seem to find the IDs for those "extra" pages in the phpadmin. But i'll try looking a little bit more before heading to bed. Otherwise any help or suggestion for this is appreciated. Btw, love this mod, once i got the hang of it, it wasn't as difficult. Thanks ^^
i set global reward point ratio to 1, its ok.
then i set one catagory reward point ratio to 50.
i go to the product page of this catagory, it showing correctly on the product description page. but in shopping cart, it still keep the ratio 1. and when check out, the ratio is also 1.
i dont know what's wrong with my rp mod?
OK, got the issue fixed. Took me a tad to remember how to get to the area I needed lol Although it's simple enough if ya got phpMyAdmin and are at least half way familiar in navigating it, if ya don't on either count, then this probably won't help much but here's how I did it.
Went into my phpMyAdmin in database and selected the zen_configuration_group and selected browse tab. I deleted the ID numbers of pages that were invalid till I got the functional page left. For example I had 33-36 ID with 36 being the functional page. When you're on that browse page on the phpmyadmin you'll see the list of all the links under the configuration of zen cart, including your dublicates. I found that trying to change the 36 ID to a 33 caused it to go blank and doing an "update" sql install again just repeated the earlier prob, so I deleted the newer ID since it wasn't functioning anyways and reset the ID number to 36 and voila, it works.
So all you really needed to do in this case was delete the "blank" pages, leaving the correct one alone. By finding the invalid's ID just mouse over the Reward Points link and look at the last bit that says gID="_" with "_" being the actual number. And of course you'll want to know which one is valid, so take note of which numbered link works properly. Then when ya go into deleteing stuff you won't delete the wrong one. Hope this helps some of ya'll ^^
well, got other issues work, but i dont know yet how to subtract the reward points of attribute.
1 point = $1,
for the products, price $10, attribute $50
i want only give 10 points to customer
but now, rp mod gives 60 points
where do i modify the set?
did the php my admin thing and removed them manually; will do fresh install; thanks for your guidance
This script will delete all empty multiples on the config menu just copy and paste it to SQL patch. However if you use a table prefix you will need to set `configuration_group_id` to `YOUR_PREFIX_configuration_group_id`
PHP Code:
#NEXT_X_ROWS_AS_ONE_COMMAND:2
DELETE FROM `configuration_group` WHERE NOT IN (
SELECT `configuration_group_id` FROM `configuration` WHERE 1);
Apropos to this, I've submitted a bug report regarding this (http://www.zen-cart.com/forum/showthread.php?t=123631). If you copy the attached file to admin/ then this script will run fine.
First of all, Andrew, I want to thank you for one great mod...this is exactly what we were looking for. I think we are going to keep this as it exists for now, but I've been reading posts about people submitting wishlists for future updates and I'd like to throw a few of my own on the pile.
1) The ability to add points globally to all existing customers or to a group of customers...though for now I can do this through MySQL.
2) A Next button in the Customer Admin section or a way to advance easily to the next group of customers...for now I've set my default to 400 so I can see them all in a specific letter.
3) A way to send customers a promotional email with a code that would allow them to add or double points in their account by signing in. Also, it would be nice to have the reward points listed in the email that goes out to customers when they make a purchase.
4) A way to attach points for creating a new account, maybe in lieu of the point above.
5) How to track customers that have redeemed points...other than going in through the SQL and pulling that...not so important though...probably can create my own report for that but I'm just so lazy.
I know you've got a lot on your plate already, but I figure if you don't ask, there's nothing gained.
Again, just want you to know your hard work is certainly appreciated by many.
Thanks for the support.
1. This would be easy to add and I could just use the existing Customers RP panel.
2. I'm trying to come up with a decent way to navigate through large number of customers- The 'Prev/Next' and 'Goto Page ?' never really appealed to me because it doesn't allow me to go directly to the page I want. What I'm aiming for is after you select the first letter, you get given options to refine further- I.e if you click on 'A' you are then presented with buttons labelled 'Aa-Af', 'Ag-Am','An-As', 'At-Az'. This would be a lot easier with AJAX.
3. Emails is on my list of things to look at.
4. New Account Reward Points was added in version 1.22.
5. There was an idea to add a Reward Points History but it got scrapped because it could potentially be quite a large table for very little gain. I'll look into SQL extracts of the Order table though.
Thanks again for your support. It's good to get the feedback.
I've uploaded v1.23 to the contributions but it takes a little while to list them. However you can always get the latest version from: http://www.omnicia.com/www/Zencart%2...s%20Module.zip
Thanks for the update, Andrew...if there's any way we can help grease the wheels of progress please let us know...we'd be happy to support you and help you pay a few bills maybe.
Hi Hem,
where would I place the rpd.php and rpd.xml to?
Thank you,
Dat
Hi Hem,
Thanks for the quick reply, I wasn't to sure to place it in the admin or the include folder.
Thank you,
Dat
Hi,
Also I was wondering what does the rpd.php do?
Thank you,
Dat
Hello, looking forward to get this one working :)
Have installed but have a few issues I'm unsure off can anyone advise if this is how it should be or shed any incite on whats wrong if not?
Reward points is showing 3 times under configaration in admin. Only the third one has a list of settings the first two are entitled reward point when you click on them but the page its showing is empty.
Reward Points" sidebox which displays points in cart and points earned is showing fine but
Shopping Cart with Rewards' sidebox is not showing on site even though I have switched it on in Admin->Tools->Layout Box Controller, shouldnt I be seeing something here? When I check back in admin it is switched back to off sometimes also. Can anyone shed any light on whats wrong here please?
Can nayone show me a sample site with this working on please?
Thanks
Hem,
Thanks for a great Mod, this is one of the features we were looking forward to add to our store. I do have a question. Is there a possibility of creating an incremental point system. For example if a person has:
200 points = $5 off (2.5% off)
500 = $20 (4% off)
1000 = $50 (5% off)
2000 = $125 (best deal at 7.5% off)
This would be a great feature, if it's not already available. If it is, can you help me to set it up.
Hi Hem,
Nice! Works great as is! But similar to babyface, I have a couple of questions.
1) Is is possible to have the reward points = %off rather than $off?
2) If so, is it possible to set limits:
1000 points = 5% off
2500 points = 10% off
5000 points = 15% off (max limit)
Thanks!
See http://www.zen-cart.com/forum/showpo...&postcount=840 and further posts.
absolutely!
:cheers:
Quote:
I guess you two are up to doing a bit of guinea-pigging...
This add on looks like something I could use.
But I have a functionality question: Does this add on allow me to set up and track a “customer referral” program on my newly launched site?
I would like to offer points for “new registration” referrals.
(Could then lead into points for purchases, which this one seems to cover).
My thought was to give a code to someone who then passes that along to others. And then when those “referred” people sign up the “referrer” gets points.
If this add on does not support that idea does anyone know one that does?
Thanks
hi hem, i got a problem on this mod,
i set global reward points for my products, and i set award points for new accounts (points added to earned), then i did a test, create account i got points earned, buy something i got points pending, everything seemed to work fine.
but then, when other customers created accounts and placed orders on my site, weird things happened, 10 custormers created accounts, only 3 customers got points earned. 5 customers placed orders, only 1 customer got points pending (this customer chose wire transfer, the other 4 customers chose paypal and got no points pending or earned).
is it the normal problem? is there anything i missed? what do i fix this problem? :unsure:
yea thats why the reward points dont added to those paypal ipn orders of my custormers.
but for my first question, 10 custormers created accounts, only 3 customers got points earned, i dont know why the other customers couldnt get points automatically added when creating accounts, i did set award points for new accounts (points added to earned), any ideas?
another question, does the rp mod work on the payment module credit cart or other online payment mod? thanks
Hi:
I get this message now when I run the update.zip file for the most recent Rewards version.
Fatal error: Call to a member function add() on a non-object in /home/bobkatt/public_html/shopgreen/admin/sqlpatch.php on line 211
I ran the original update.sql and then noticed the new one afterwards and then ran the new one. This is when I get the error message.
When I ran the original update, I got lots of errors about various fields already exist.
I am using V1.3.8a of Zencart.
What should I do now? Everything seems to be working but I do not see anything new in thew Rewards section of catalog.
In the configuration I now have two rewards menu items. One is empty and the other looks complete. Not sure if the one with the options are part of the new rewards installation or still the old one. Kind
Thanks
Bob
shopgreen.han-d-solutions.com
Hi
I am having trouble with the Reward Points as they seem to calculate fine but when a customer is trying to use them on checkout they are not being deducted from the order, can anybody help please?
yea i did read that file, i think the files uploading , running the module, and admin set are correct, but i'm not sure if i run the sql correctly? but i got the success information after i run it. here's the sql:
i did a test again, i created 5 new accounts myself, then i got the points earned for each account. but when the customers creat the accounts, still some got points earned, some got nothing.Code:CREATE TABLE `reward_master` (
`rewards_products_id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`scope` INT( 1 ) NOT NULL DEFAULT '0',
`scope_id` INT( 11 ) NOT NULL DEFAULT '0',
`point_ratio` DOUBLE( 15, 4 ) NOT NULL DEFAULT '1',
`bonus_points` DOUBLE( 15, 4 ) NULL,
`redeem_ratio` DOUBLE( 15, 4 ) NULL,
`redeem_points` DOUBLE( 15, 4 ) NULL,
UNIQUE `unique_id` ( `scope` , `scope_id` ));
INSERT INTO `reward_master` (`rewards_products_id` ,`scope` ,`scope_id` ,`point_ratio` ,`bonus_points`, `redeem_ratio`, `redeem_points`) VALUES (NULL , '0', '0', '1.0000', NULL, 0.01, NULL);
CREATE TABLE `reward_customer_points` (
`customers_id` INT( 11 ) NOT NULL PRIMARY KEY,
`reward_points` DOUBLE( 15, 4 ) NOT NULL DEFAULT '0',
`pending_points` DOUBLE( 15, 4 ) NOT NULL DEFAULT '0');
CREATE TABLE `reward_status_track` (
`rewards_id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`customers_id` INT( 11 ) NOT NULL ,
`orders_id` INT( 11 ) NOT NULL ,
`date` DATETIME NOT NULL ,
`reward_points` DOUBLE( 15, 4 ) NOT NULL ,
`status` TINYINT( 1 ) NOT NULL,
UNIQUE (`orders_id`));
REPLACE INTO `configuration_group` (`configuration_group_id` ,`configuration_group_title` ,`configuration_group_description` ,`sort_order` ,`visible`) VALUES (NULL , 'Reward Points', 'Reward Point Module Configuration', '50' , '1');
SET @group_id = '';
SELECT (@group_id := `configuration_group_id`) FROM `configuration_group` WHERE `configuration_group_title` LIKE 'Reward Points';
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Reward Point Mode', 'REWARD_POINT_MODE', '0', 'Select the Reward Point Mode<br />0= Reward Points are fixed to the product prices and are calculated individually.<br />1= Reward Points are calculated on the Order Total or Subtotal (depending on the setting of the <strong>Allow Redeem of Reward Points on Order Total or Subtotal</strong> configuration).', @group_id, '0', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), ');
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Reward Point Sidebox Display', 'SHOW_REWARD_POINTS_BOX_OPTION', '0', 'Display Reward Points Sidebox<br />0= Always<br />1= Only when logged in<br />2= Only when logged in and has points', @group_id, '1', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1'', ''2''), ');
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Reward Point Status Track', 'REWARD_POINTS_STATUS_TRACK', '', '<b>Simple mode:</b> All new reward points are set to Pending and are changed to Earned when the Order Status changes. If the Order Status is then changed back to Pending then the reward points are transfered back from Earned.<br /><br /><b>Advanced mode:</b> Set the order status items that will trigger a transfer of the reward points between pending and earned. Points are transfered when the status changes between the "Pending" and "Earned". Status items set to "Ignore" will have no effect if the Order Status changes to it.', @group_id, '2', NULL, now(), 'UseRewardPointStateFunction' , 'SetRewardPointStateFunction(');
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Reward Point Sunrise Period', 'REWARD_POINTS_SUNRISE_PERIOD', '0', 'The number of days after which points pending become points earned. Set to 0 for no sunrise period.', @group_id, '3', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Reward Point Redeem Minimum', 'REWARD_POINTS_REDEEM_MINIMUM', '0', 'This is the minimum amount of earned points needed before they can be redeemed.', @group_id, '3', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Reward Point Redeem Maximum', 'REWARD_POINTS_REDEEM_MAXIMUM', '0', 'This is the maximum amount of earned points that can be redeemed against a single order.<br /><i>Note: this can be a absolute value (eg 1000) or a percentage (20%).</i>', @group_id, '4', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Reward Point Rounding', 'REWARD_POINTS_ROUNDING', '0.5', 'Rounding value- This is added to each products price before it is rounded down to 0 decimal places to calculate product Reward Points (default 0.5)', @group_id, '5', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Max Transactions to Display in Customer Admin', 'REWARD_POINTS_MAX_TRANSACTIONS', '12', 'Select the maximum number of records to show on the Pending Reward Points table in Customer Reward Point admininstration.', @group_id, '6', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Delete Old Reward Transactions Period', 'REWARD_POINTS_HOUSEKEEPING', '90', 'Set the age (in days) to keep the reward point transactions. Outstanding reward points pending after this period will be lost. Set to 0 to keep all transactions.', @group_id, '7', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Adjust Reward Points for Sales/Specials', 'REWARD_POINTS_SPECIAL_ADJUST', '0', 'How to calculate Reward Points<br />0= Always use the base price.<br />1= Use price less Discounts and Specials.', @group_id, '7', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), ');
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Allow Reward Points on Free Products', 'REWARD_POINTS_ALLOW_ON_FREE', '0', 'Set how points are rewarded for free products.<br />0= Free products give 0 Reward Points.<br />1= Allow Reward Points on free products.', @group_id, '8', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), ');
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Allow Redeem of Reward Points on Order Total or Subtotal', 'REWARD_POINTS_ALLOW_TOTAL', '0', 'Allow points to be redeemed against the full order (including shipping) or only against the subtotal.<br />0= Against the subtotal.<br />1= Against the full order.', @group_id, '9', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), ');
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Set Minimum Order Value to Redeem Points Against', 'REWARD_POINTS_MINIMUM_VALUE', '0', 'Set the minimum value that the order should be in order for it to qualify for reward point redeem.', @group_id, '10', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Limit Maximum Customers on Listings', 'REWARD_POINTS_CUSTOMER_LIMIT', '50', 'Set the maximum number of records to appear on each page under Customer Reward Point admininstration page.', @group_id, '11', NULL, now(), NULL , NULL);
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Display Products Reward Points When Zero', 'REWARD_POINTS_ALWAYS_DISPLAY', '1', 'Set whether a products reward points are displayed when zero.<br />0= Don\'t display 0 Reward Points.<br />1= Always display reward points even when zero.', @group_id, '12', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), ');
REPLACE INTO `configuration` (`configuration_id` ,`configuration_title` ,`configuration_key` ,`configuration_value` ,`configuration_description` ,`configuration_group_id` ,`sort_order` ,`last_modified` ,`date_added` ,`use_function` ,`set_function`) VALUES (NULL , 'Set New Account Reward Points', 'REWARD_POINTS_NEW_ACCOUNT_REWARD', '0', 'Set the amount of points awarded to a customer when an account is created. The points can either be added to \'Earned\' which will allow the customer to redeem the points straight away; Or the points can be added to \'Pending\' in which case the customer will receive the points after their first successful order.', @group_id, '13', NULL, now(), 'UseRewardPointNewAccountAwardFunction' , 'SetRewardPointNewAccountAwardFunction(');
no i dont have any thing such as easy checkout, i use the default account creation page and zencart default template.
for those customers who got points earned or not when creating account, i was trying to compare their emails, names, countries, and placed orders or not, but no result. they seem to be random.
yea, its really weired, now i turned the module off and still left the points for creating accounts on, do you need me to turn the mod on? i have pmed you.
Hi Andrew,
Just found a problem with rewards points module.
I have some test transaction, so thought I would check out/delete the rewards points for them. They would not delete even after clicked 'x' icon many times.
So I tried to go in edit - where you can also delete them, tried to delete and got an error page with:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
in:
[DELETE IGNORE FROM fut_reward_status_track WHERE ;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
By the way I run diagnostic file and this the version we have:
Zencart version: Zen Cart v1.3.8a
PHP version: 5.2.6
MySQL version: 5.0.67-community
Please advise
Thanks!
Hi Peeps,
I have installed the latest version of this mod and all is correct and in the right place.
The problems I am having is that no points are being allocated for new customers, but when I create an account it works.
No points are being allocated for orders and we only use Protx direct
Can anybody help or point me in the right direction
Thanks in advance
Hi Peeps,
I have installed the latest version of this mod and all is correct and in the right place.
The problems I am having is that no points are being allocated for new customers, but when I create an account it works.
No points are being allocated for orders and we only use Protx direct
Can anybody help or point me in the right direction
Thanks in advance
Forgot to add
Zencart version: Zen Cart v1.3.7
PHP version: 5.2.4
MySQL version: 4.1.22-standard
I cannot seem to find any fault with the customer creation reward points. Can those that are having this problem unzip the attached file to includes\templates\YOUR CUSTOM FOLDER\templates\. This will create a log file (rp_report.log) in your cache directory which tracks the settings as new accounts are created. Can you email me these when the problem occurs again- thanks.
Hi, I am also using or trying to use this great mod, and it works just fine for me. So thank you for developing this :)
I just miss one feature - is there a way to restrict redemption of points to just some product categories?
You could use this in different scenarios - for example, you want to allow your customers to choose gift from the "discounted products" category only...
Okay- I've come at this from a different angle and coded in the new customer rewards within the RP observer (which I should have done in the first place).
Instructions:
1. Delete the includes\templates\YOUR CUSTOM FOLDER\templates\tpl_create_account_success_default.php file.
2. Unzip the attached to includes\classes\observers\
Hi all,
I'm looking for an addon just like this one, only I'm not sure if this one will do what I need it to. Basically I'm looking for a points system where each user could sign up and would receive their own rep code (coupon code) that they can hand out to whoever they want. They would earn points for each sale they refer. The person using the code would get, say, 20% off their first purchase, and the user that owns that particular rep code would earn points for that purchase. Is this addon capable of doing this?
thanks!
I finally had some time to get this mod running. Thought everything was working until a customer made a purchase.
Says on the order confirmation they earned 140 points, but it never got added to their account. What would be causing this?
Hi, thats great... this is exactly what I would like to use (redeem value/ratio per category).
Unfortunatelly I am just not able to find it... :(
I found Global redeem value in Customers - Group Reward Redeem, but thats all.
Mabe I just can not see or read. Could you please navigate me a little? thanks :)
I've searched this thread several times, and I'm not quite seeing a specific answer. I know several people have written about a 1064 error:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '% WHERE (c.customers_lastname LIKE '% WHERE (c.customers_lastname LIKE '% WHERE ' at line 1
I'm getting the same thing when I attempt to add points to my customers' accounts. I'm currently using the following:
Reward Point Suite 1.22a
ZenCart 1.38a
I've been using the suite for several months with no problems. On the suggestion of my web host, I updated my server from PHP 4 to PHP 5 (FastCGI).
When I started getting the error message, I optimized my database and installed the SQL patch from 1.23a. However, I'm still getting the same error message. I can't seem to find a clear solution when I search this thread. Is there a fix I'm missing?
Thanks for your time.
To work around this issue, I've been accessing MySQL and inserting the information directly into the database. Is there a way to fix the 1064 error so I could do this through the admin control panel? I'm beginning to think that the script isn't compatible with PHP 5. The error started when I upgraded from PHP 4 to PHP5. Any thoughts about this and what I can do to fix the 1064 error?
Hi all,
I need help with this, is it possible to set this module for every $50 spent you get 5 points which equals $5?
thanks
also where it should say reward points on the site it says PRODUCT_REWARD_POINT_TAG
any ideas why its not pulling the tag?