-
Re: Reward Points Module- Live Release now available.
HI,
I was thinking of using this plugin, I have a few questions though..... I currently reward what we call dream dollars to our customers. Is there a way to rename the points to dream dollars? We award $1.00 per purchase is this doable? I also see someone asked if there was a setting to not award points when the customer buys an item using points. This is important, if the customer is getting the item for free because they used points instead of money to purchase the item, if the program awards them points for the free item it would be a loss to me, considering the reward would be $1.00
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Beyond Dreams
HI,
I was thinking of using this plugin, I have a few questions though..... I currently reward what we call dream dollars to our customers. Is there a way to rename the points to dream dollars? We award $1.00 per purchase is this doable? I also see someone asked if there was a setting to not award points when the customer buys an item using points. This is important, if the customer is getting the item for free because they used points instead of money to purchase the item, if the program awards them points for the free item it would be a loss to me, considering the reward would be $1.00
You can change the name of Reward points to anything you like. You can change it by altering the files in
includes/languages/english/extra_definitions/YOUR_TEMPLATE/reward_points.php
includes/languages/english/modules/order_total/ot_reward_points.php
includes/languages/english/modules/order_total/ot_reward_points_display.php
Quote:
We award $1.00 per purchase is this doable?
Yes
You either reward a point for a products, or Reward Points can be calculated on the Order Total or Subtotal (depending on the setting of the Allow Redeem of Reward Points on Order Total or Subtotal configuration).
You can set it up not to give reward points on certain categories.
You can set the limit on how many points can be use on a order. Reward point is very flexible to do a wide rage of things.
-
Re: Reward Points Module- Live Release now available.
I am really anxious to try out this mod in our popular store. However, I just installed the 1.5.0 version into my 1.5.1 test site. All files appear uploaded correctly. However, when I go to the Layout Box controller, there is no "Shopping Cart with Rewards" sidebox.
Could you tell me what would be causing this not to be there?
Again, it's not a matter of enabling it or not. The entry simply isn't there for me to select under the Tools --> Layout Boxes Controller.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Jeff_Mash
I am really anxious to try out this mod in our popular store. However, I just installed the 1.5.0 version into my 1.5.1 test site. All files appear uploaded correctly. However, when I go to the Layout Box controller, there is no "Shopping Cart with Rewards" sidebox.
Could you tell me what would be causing this not to be there?
Again, it's not a matter of enabling it or not. The entry simply isn't there for me to select under the Tools --> Layout Boxes Controller.
Make sure you change all custom folder names to YOUR_CUSTOM_TEMPLATE folder name. Make sure the reward_points.php and the shopping_cart_with_rewards.php files uploaded to includes/modules/sideboxes/YOUR_CUSTOM_TEMPLATE.
Make sure the tpl_reward_points.php and the tpl_shopping_cart_with_rewards.php files uploaded to includes/templates/YOUR_CUSTOM_TEMPLATE/sideboxes
If you have uploaded them correctly make sure the file sizes are correct. Partial uploads will corrupt the data.
If you uploaded Reward Points correctly there's going to be 2 side boxes for you to have the options to activate.
-
Re: Reward Points Module- Live Release now available.
I just installed this mode, but i have one problem:
i have super orders & am using it to update.
IN SUPER ORDERS
When i change status from pending to other status , the pending points doesnt transfer to "earn points"
IN ORDERS (normal )
When i change the status, the pending points will transfer to "earn points"
anyone facing the same? and what to do about it?
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
countrycharm
For every $10.00 spent your customer gets 1 Reward Point.
Go to Admin/Catalog/Reward Points Set Global Reward Point ratio To: 0.1000
Each point equals .50 Go to Admin/Customers/Group Reward Points Redeem.
Enter global points ratio To: 0.5000
Go to Modules/Order Total/Reward Points module and install that module
if you already installed set to Point Redeem Method: Automatic
Also switch on the Reward Points Earned module so it will Calculate, display and store Reward Points earned on order.
hi CountryCharm,
Thanks for your tips.
The one thing that I mentioned:
for certain product, it has discounted price, hence is it possible to configure that - when points are used, customer pays the "regular price" for that certain product and not a discounted price ? In another word, do this reward full suite module able to differentiate if certain product is having discounted pricing or regular pricing ?
Regards,
Sky
-
Re: Reward Points Module- Live Release now available.
Hi,
I downloaded this plugin to my computer. I read the instructions and I can not unzip this file to my server since it is not a local computer, I also do not have a "my custom template" since this was something I was not aware to make when I started this process, I will have to figure out how to create that when i am done I guess. It's too late to start over. Do I just upload the folders I need? I put zen cart into my main directory on my server. When I clicked upload folder I got a warning msg to download some java application that warned me the plugin has security vulnerabilities.... Any insight on these issues would be greatly appreciated.
-
1 Attachment(s)
Re: Reward Points Module- Live Release now available.
Am I missing some configuration issue? I installed the files correctly.......I can see the number of reward points that a product has......when I add something to my cart, I can see the amount of "points" in my shopping cart......and then when I make the purchase, it shows that I have zero points pending.
Even as Admin, when I go to look up the test customer account, it shows zero pending points.
I am attaching a screenshot of my configuration, with hopes that you can see something I need to adjust.
-
Re: Reward Points Module- Live Release now available.
BUMP - In case I wasn't clear in my post directly above this one, here is where I stand with this module.
Everything APPEARS to work, right up until the point that I place my order. After I place my order, I see no PENDING points to award to the customer.
It's almost like the points which were in my shopping cart have disappeared!
Is there something I need to do from an ADMIN perspective to see who is waiting for pending points and assign them to the customer account? When I use the Customers --> Reward Points area, it doesn't show any customers with Pending points, even though I make a purchase for an item that has 30 Points in my shopping cart.
Any ideas on what I can do to make this work?
-
2 Attachment(s)
Re: Reward Points Module- Live Release now available.
Edit - I figured it out. Didn't see the Modules -> Order Total configuration.
-
Re: Reward Points Module- Live Release now available.
Hey guys,
I have one problem with the redeemed points & when order is cancelled.
Eg :
1. customer redeem points (eg : redeem 500 points) during check out & gotten the order.
2. What if the customer wanna cancel the order (and we delete it).
3.The redeemed points (500 points) are not going back to "earned" points.
Any solution for this?
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
juneloweelyn
I just installed this mode, but i have one problem:
i have super orders & am using it to update.
IN SUPER ORDERS
When i change status from pending to other status , the pending points doesnt transfer to "earn points"
IN ORDERS (normal )
When i change the status, the pending points will transfer to "earn points"
anyone facing the same? and what to do about it?
I don't use Super Orders but you can try what curt_l did and see if that works for you.
http://www.zen-cart.com/showthread.p...65#post1143265
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
skywalker826
hi CountryCharm,
Thanks for your tips.
The one thing that I mentioned:
for certain product, it has discounted price, hence is it possible to configure that - when points are used, customer pays the "regular price" for that certain product and not a discounted price ? In another word, do this reward full suite module able to differentiate if certain product is having discounted pricing or regular pricing ?
Regards,
Sky
Quote:
In another word, do this reward full suite module able to differentiate if certain product is having discounted pricing or regular pricing ?
Reward Points only recognizes "Adjust Reward Points for Sales/Specials" Either you use Always use the base price.
or
Use price less Discounts and Specials.
It does not work the way you are describing. You can hire a coder I suppose.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Beyond Dreams
Hi,
I downloaded this plugin to my computer. I read the instructions and I can not unzip this file to my server since it is not a local computer, I also do not have a "my custom template" since this was something I was not aware to make when I started this process, I will have to figure out how to create that when i am done I guess. It's too late to start over. Do I just upload the folders I need? I put zen cart into my main directory on my server. When I clicked upload folder I got a warning msg to download some java application that warned me the plugin has security vulnerabilities.... Any insight on these issues would be greatly appreciated.
Unzip the Reward Points folder on your computer.
Your shop has a admin folder that is named admin or named to a custom name that you changed it to. You need to put the contents of the Reward Points admin files inside your custom admin folder.
Same thing with the includes folder.
In the includes folder change the name of the custom folder name to the name of your custom folder name that you are using.
Upload of files to your server.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Jeff_Mash
Edit - I figured it out. Didn't see the Modules -> Order Total configuration.
Glad you got it working...
-
Re: Reward Points Module- Live Release now available.
Thank you so much!
Quote:
Originally Posted by
countrycharm
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
juneloweelyn
Thank you so much!
Glad to help.....
-
2 Attachment(s)
Re: Reward Points Module- Live Release now available.
Quick question ---- first off, I LOVE this mod, and it's all working great except for one thing.
In the Zen_Orders_Total table, the module is leaving the VALUE blank ($0.00). So even though the text correctly shows the correct points, the value isn't updated into the database.
Here is a screenshot to show you what I mean:
Attachment 12140
As you can see, the points are correctly recorded, but the value is left blank. Therefore, when I look at my orders, I can't see how many points were allocated:
Attachment 12141
-
Re: Reward Points Module- Live Release now available.
Hi, Thank you for the great module!!
Is there a code to show the Reward point full suite Group name to the customers?
For example, on the reward point side box, the group name will be shown to the customers.
If I assign the group name "Beautiful Customer" to one customers, then the customer can see his group name(level)
I tried some tricks but no works...
The group name is only showing on the Admin pages... not for the customers.
I'm trying to build the customer membership levels, so I need to display the each group name to my each customer...
Any suggestions will be appreciated.. Thanks.
-
Re: Reward Points Module- Live Release now available.
SOLVED!
First, on
/www/includes/functions/extra_functions/reward_points_functions.php
I added a new function ,after the function GetRedeemRatio() :
PHP Code:
function GetRedeemGroup($customers_id)
{
global $db;
$sql = "SELECT gp.group_name
FROM ".TABLE_GROUP_PRICING." gp
LEFT JOIN (".TABLE_CUSTOMERS." as c)
ON (gp.group_id=c.customers_group_pricing)
WHERE c.customers_id='".(int)$customers_id."'
ORDER BY gp.group_id
";
$result=$db->Execute($sql);
if($result)
return $result->fields['group_name'];
else
return 0;
}
and
on
/www/includes/templates/YOUR_TEMPLATE/sideboxes/tpl_reward_points.php
after $reward_points=GetRewardPoints($_SESSION['cart']->get_products()); (LINE AROUND 11)
add this :
PHP Code:
$group_name=GetRedeemGroup($_SESSION['customer_id']);
and one a line about 25, afther the if($reward_points>0) statement
change the line
PHP Code:
$content='<div class="cartBoxRewardPoints">'. .....
to :
PHP Code:
$content.='<div class="cartBoxRewardPoints">'. '<p style="color:green;text-align:center;font-size:12px;font-weight:bold;">My Level : ' . $group_name . '</p><br />' . $customers->fields['group_name'].(int)$reward_points.' '.REWARD_POINTS_IN_CART_TAG.'</div>';
This will make you able to show the customer's group name on the sidebox.
I was trying to build the customer's membership policy,
and now I finally can.
Thank you for this great module... that I can provide betther service to my customer.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
hem
Hello There
I have just installed the reward point full suite. but theres a question. how i can get the customer upgrade automaticlly to the higher pricing group level? i have tested three times. still did not find out the right solution.
Please give me some advice. thanks
-
Re: Reward Points Module- Live Release now available.
I have chosen from the configuration - reward points - Reward Point Status Track - select mode - advanced - all my order statuses (i have more than 50) as pending except one that i call order completed - however all the tests i did and even if i change the order status to order completed - the customer does not earn the points they are still pending all the time - BUT i have noticed that sometimes some customers (the percentage is 1 to 20) earn the points after i change the status of their order to completed!
I even updated the reward points to the latest version for my 1.3.9h zen cart this did not fix the problem.
I have also tried all order statuses as ignored except the default one that puts point to pending and the order completed status that is supposed to put the points to earned.
I can manually change the points from pending to earned for my customers.
I have a test server with this addon installed if someone can help me then please tell me so and i will give all the access details!
-
Re: Reward Points Module- Live Release now available.
Between the update.sql and the new.sql the only difference is the following line
UPDATE `configuration_group` SET `sort_order` = LAST_INSERT_ID() WHERE `configuration_group_id` = LAST_INSERT_ID();
what exactly this line mean - do i have to run the update patch or i may run only the above line if needed?
I just found what is happening - I have super orders addon installed and if i change the status of the order from the super_orders.php?page=1&oID=3911&action=edit page then the reward points just ignore it! But if i change the order status from edit_orders.php?page=1&oID=3911&action=edit then everything works properly!
Can someone tell me what i have to add or change for the super_orders.php to work properly?
-
Re: Reward Points Module- Live Release now available.
[24-Mar-2013 20:49:50] PHP Warning: Invalid argument supplied for foreach() in /home/......./public_html/includes/functions/extra_functions/reward_points_functions.php on line 314
I keep seeing errors like this in the cache folder whenever a customers completes an order
I have just installed the latest version of reward points (i had 1.32a version and i upgraded to 1.33a for zen cart 1.3.9h) I just copied the new files over the old ones but i did not run any update sql patch - However i used to see this error and with the previous version)
-
Re: Reward Points Module- Live Release now available.
We recently upgraded to zen-cart 1.51 (new install with ported database from old site).
Reward points is installed but doesn't seem to be working properly. Points are not getting moved from pending to earned, plus a lot of customers seem to have 200 pending points for no particular reason. No points are awarded for new accounts.
I am seeing this error in the logs which seems to be related. The products_id field is not formatted correctly.
Any ideas as to the cause?
PHP Code:
[25-Mar-2013 12:21:19 Europe/London] PHP Fatal 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 '1215"''
AND ((prp.scope_id=p.products_id AND prp.scope='2')
OR (p.pro' at line 3 :: SELECT prp.point_ratio*p.products_price AS reward_points, prp.point_ratio, p.products_price, p.products_priced_by_attribute
FROM reward_master prp, products p, products_to_categories p2c
WHERE p.products_id='1215"''
AND p2c.products_id='1215"''
AND ((prp.scope_id=p.products_id AND prp.scope='2')
OR (p.products_id=p2c.products_id AND prp.scope_id=p2c.categories_id AND prp.scope='1')
OR (prp.scope='0'))
ORDER BY prp.scope DESC LIMIT 1; in <site>/includes/classes/db/mysql/query_factory.php on line 120
Chris
-
Re: Reward Points Module- Live Release now available.
In my previous posts i stated that i have a problem with reward points and super orders, and that i am also facing a problem with /home/......./public_html/includes/functions/extra_functions/reward_points_functions.php on line 314 which appears in my cache folder.
If a programmer can help me with these problems then i am willing to pay him or donate him - whatever!
-
Re: Reward Points Module- Live Release now available.
We are also using rewards points and super orders. Maybe one of them will have to go.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
teochris
In my previous posts i stated that i have a problem with reward points and super orders, and that i am also facing a problem with /home/......./public_html/includes/functions/extra_functions/reward_points_functions.php on line 314 which appears in my cache folder.
If a programmer can help me with these problems then i am willing to pay him or donate him - whatever!
Quote:
Originally Posted by
devus
We are also using rewards points and super orders. Maybe one of them will have to go.
I don't use Super Orders but you can try what curt_l did and see if that works for you.
http://www.zen-cart.com/showthread.p...65#post1143265
-
Re: Reward Points Module- Live Release now available.
Hi,
I installed this plugin and placed all files in the corresponding folders on my server... However, I have a few issues....
I don't have the following on my admin page
admin-catalog-reward points is not in my menu
admin-configuration-reward points is not in my menu
admin-customer-group reward redeem is not in my list
I also need to know where to change the point values, it seems it is automatically giving 1 point per dollar. I also need to know how i can go in and add points to existing customers who earned them before the module was installed.
Also this is a minor change but I want to change the colors of the font for the reward listings. And I want to change the name to dream dollars. Any help with these issues would be greatly appreciated. TY TY TY -victoria
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Beyond Dreams
Hi,
I installed this plugin and placed all files in the corresponding folders on my server... However, I have a few issues....
I don't have the following on my admin page
admin-catalog-reward points is not in my menu
admin-configuration-reward points is not in my menu
admin-customer-group reward redeem is not in my list
I also need to know where to change the point values, it seems it is automatically giving 1 point per dollar. I also need to know how i can go in and add points to existing customers who earned them before the module was installed.
Also this is a minor change but I want to change the colors of the font for the reward listings. And I want to change the name to dream dollars. Any help with these issues would be greatly appreciated. TY TY TY -victoria
Did you run the install SQL file?? If not, doing so will probably address most of the issues/questions you have..
-
Re: Reward Points Module- Live Release now available.
yes i ran it and it says error. i placed all the files in the directories they are supposed to be in by hand. My upload folder doesnt seem to work on my hosting site. I have the rewards box, I changed the rewards name, it adds 1 point per dollar when i put the items in the shopping cart, but I am still missing the menu options that will help me set these options.
I even tried cutting and pasting the sql patch into the tools sqlpatch and still got an error but no info to tell me what the error is. I have the main admin file where i put the files, I have no custom admin file. The only customized items i have are from using the an_upscale_boutique template, and i put the appropriate files in those folders. This is the latest version of zencart and the latest version of reward points and a fresh install. What else can I do to fix this?
I cant launch my store until i fix this. Any help would be greatly appreciated.
my site is www.beyonddreams.co
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Beyond Dreams
yes i ran it and it says error. i placed all the files in the directories they are supposed to be in by hand. My upload folder doesnt seem to work on my hosting site. I have the rewards box, I changed the rewards name, it adds 1 point per dollar when i put the items in the shopping cart, but I am still missing the menu options that will help me set these options.
I even tried cutting and pasting the sql patch into the tools sqlpatch and still got an error but no info to tell me what the error is. I have the main admin file where i put the files, I have no custom admin file. The only customized items i have are from using the an_upscale_boutique template, and i put the appropriate files in those folders. This is the latest version of zencart and the latest version of reward points and a fresh install. What else can I do to fix this?
I cant launch my store until i fix this. Any help would be greatly appreciated.
my site is
www.beyonddreams.co
You say you got an error when you ran the SQL.. well that's the start of your issue.. No SQL, no admin menu..
Errors = ERROR LOG file created.. Look at your error log and post that here.. It will tell you what happened.. without this information folks can only GUESS what happened, but clearly it's an installation issue..
-
Re: Reward Points Module- Live Release now available.
where can i find the error log? sorry this is all new to me
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Beyond Dreams
where can i find the error log?
See if these help..
http://www.zen-cart.com/content.php?...-and-try-again
http://www.zen-cart.com/content.php?124-blank-page
Quote:
Originally Posted by
Beyond Dreams
sorry this is all new to me
Great! As a new Zenner you will want to spend some time getting to know Zen Cart.. the FAQ section is an excellent place to start. You should start with this FAQ SECTION:
http://www.zen-cart.com/content.php?25-troubleshooting
-
Re: Reward Points Module- Live Release now available.
ok there is no log file created. so what does that tell me? The last log created was from 2/19/13 when i first started setting this site up.
-
Re: Reward Points Module- Live Release now available.
here are the logs i have
[27-Mar-2013 12:25:09 America/Phoenix] PHP Fatal 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 '<?php /** * @package admin * @copyright Copyright 2003-2006 Zen Cart Development' at line 1 :: <?php /** * @package admin * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: sqlpatch.php 7166 2007-10-03 23:01:46Z drbyte $ */ require('includes/application_top.php'); in /home/content/16/10425116/html/includes/classes/db/mysql/query_factory.php on line 120
[28-Mar-2013 14:35:38 America/Phoenix] PHP Fatal error: 1062:Duplicate entry '0b1fbde067958a59fbe3acbb08d49cfe' for key 1 :: insert into zen_sessions
values ('0b1fbde067958a59fbe3acbb08d49cfe', '1364507438', 'c2VjdXJpdHlUb2tlbnxzOjMyOiI0ZmVkYjJiMmExN2U2Y2FjZGNiN2VhNjQ4OGMyMjU5NSI7bGFuZ3V hZ2V8czo3OiJlbmdsaXNoIjtsYW5ndWFnZXNfaWR8czoxOiIxIjtsYW5ndWFnZXNfY29kZXxzOjI6ImV uIjtzZWxlY3RlZF9ib3h8czoxMzoiY29uZmlndXJhdGlvbiI7') in /home/content/16/10425116/html/includes/classes/db/mysql/query_factory.php on line 120
[27-Mar-2013 12:55:53 America/Phoenix] PHP Fatal error: 1062:Duplicate entry '0-0' for key 2 :: INSERT INTO zen_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); in /home/content/16/10425116/html/includes/classes/db/mysql/query_factory.php on line 120
thank you for your help
-
Re: Reward Points Module- Live Release now available.
I also tried to do the sql patch command by command to see what ones produced an error and here is what I got
#1 already exists
#2 dup entry
#3 already exists
#4 already exists
#5 processed
#6 processed
#7 - 23 (the insert commands gave all the save errors)
INSERT 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).', @cgi, '0', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), ');
result:
[29-Mar-2013 08:50:48 America/Phoenix] PHP Fatal error: 1048:Column 'configuration_group_id' cannot be null :: INSERT INTO zen_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).', @cgi, '0', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), '); in /home/content/16/10425116/html/includes/classes/db/mysql/query_factory.php on line 120
#24
DELETE FROM admin_pages WHERE page_key='configRewardPoints';
DELETE FROM admin_pages WHERE page_key='GroupRewardRedeem';
DELETE FROM admin_pages WHERE page_key='RewardPoints';
DELETE FROM admin_pages WHERE page_key='CustomerRewardPoints';
results
processed
#25
INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order ) VALUES ('configRewardPoints','BOX_CONFIGURATION_REWARD_POINTS','FILENAME_CONFIGURATION' ,CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);
INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('GroupRewardRedeem', 'BOX_GROUP_REWARD_POINTS_REDEEM', 'FILENAME_ADMIN_GROUP_REWARD_POINTS_REDEEM', '', 'customers', 'Y', 35);
INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('RewardPoints', 'BOX_REWARD_POINTS', 'FILENAME_ADMIN_REWARD_POINTS', '', 'catalog', 'Y', 36);
INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('CustomerRewardPoints', 'BOX_CUSTOMER_REWARD_POINTS', 'FILENAME_ADMIN_CUSTOMER_REWARD_POINTS', '', 'customers', 'Y', 37);
results
[29-Mar-2013 09:21:06 America/Phoenix] PHP Fatal error: 1048:Column 'page_params' cannot be null :: INSERT INTO zen_admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order ) VALUES ('configRewardPoints','BOX_CONFIGURATION_REWARD_POINTS','FILENAME_CONFIGURATION' ,CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi); in /home/content/16/10425116/html/includes/classes/db/mysql/query_factory.php on line 120
I hope this helps a bit. I just want to understand what is happening and how I can fix this.
Thank you so much for all your help.
-
Re: Reward Points Module- Live Release now available.
ok, i uninstalled the new.sql and reinstalled it by opening it in notepad and pasting the file contents into the admin-tools-sqlpatch. I still do not have the menu items in my admin to set the point amounts and to control this module. missing...
I don't have the following on my admin page
admin-catalog-reward points is not in my menu
admin-configuration-reward points is not in my menu
admin-customer-group reward redeem is not in my list
This is the error I got from redoing the above...
[29-Mar-2013 14:01:35 America/Phoenix] PHP Fatal error: 1048:Column 'configuration_group_id' cannot be null :: INSERT INTO zen_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.', @cgi, '9', NULL, now(), NULL , 'zen_cfg_select_option(array(''0'', ''1''), '); in /home/content/16/10425116/html/includes/classes/db/mysql/query_factory.php on line 120
I don't know what else to do I have been trying to fix this for a month and my store launch has been on hold due to it. I see there are others with this issue and they too uninstalled and reinstalled to only get the same result. However they responded they are fixed but no details how they fixed it. Any help at this point would be greatly appreciated.
-
Re: Reward Points Module- Live Release now available.
Stevesh and Country Charm Thank you... Thank you.... Thank you!!!!
Stevesh you were right! When I installed zen cart somehow it created an admin folder named adminurrhtcqq, I also had an admin folder. I moved all the files from the admin folder to the adminurrhtcqq folder and wala I now have menu items!!! I am sooo happy I don't know how to thank you guys! You are the best!! Now I just need to test it. I will keep my finger crossed! I need to try to figure out why I wasn't given the option to rename my own admin folder so this wouldn't have happened.
I am forever grateful to you both, and you are greatly appreciated!
-
Re: Reward Points Module- Live Release now available.
Hey guys, I would really appreciate some help on this. I just installed the points module for my store running Zen Cart version 1.3.9. and after copying the custom folders over and then running the new.sql from the back of the site in admin>tools>sql patch the module is not running correctly.
It's not completely messed up as the points module option shows up in the configuration menu but when I go to it these three errors come up at the top of the screen...
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'UseRewardPointStateFunction' not found or invalid function name in /chroot/home/nulifesu/nulifesupplements.com/html/storeconsole/includes/functions/general.php on line 1749
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'UseRewardPointNewAccountAwardFunction' not found or invalid function name in /chroot/home/nulifesu/nulifesupplements.com/html/storeconsole/includes/functions/general.php on line 1749
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'UseRewardPointAdvancedCalculateTableFunction' not found or invalid function name in /chroot/home/nulifesu/nulifesupplements.com/html/storeconsole/includes/functions/general.php on line 1749
Also, in admin>tools>sideboxes there are no options for the points module sideboxes.
Any help on this would be much appreciated.
-
Re: Reward Points Module- Live Release now available.
Hi Everyone,
Forgive me, I am a noob and am slowly getting I am having an issue getting this fully installed. My issue seems to be similar to Beyond Dreams' issue above. I moved everything to the custom folders and I moved everything from the admin folder to my custom admin folder.
The shopping_cart_with_rewards and rewards_points box shows up in my layout boxes controller. There is nothing showing up in the Order Total module for me to configure.
I have tried running the new.sql patch, but I got an error 500 page. I tried it a couple times actually. After figuring out to check my error logs, I found the following errors:
PHP Fatal error: Call to undefined function GetRewardPoints() in /home/content/94/10567094/html/includes/templates/piccadilly_posh/sideboxes/tpl_reward_points.php on line 11
PHP Fatal error: Call to undefined function GetProductRewardPoints() in /home/content/94/10567094/html/includes/templates/piccadilly_posh/templates/tpl_product_reward_points.php on line 16
PHP Fatal error: Class 'RewardPoints' not found in /home/content/94/10567094/html/includes/autoload_func.php on line 79
PHP Fatal error: 1062: Duplicate entry '0-0' for key 2 :: INSERT INTO zen_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); in /home/content/94/10567094/html/includes/classes/db/mysql/query_factory.php on line 120
PHP Fatal 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 ''new.sql patch'' at line 1 :: 'new.sql patch'; in /home/content/94/10567094/html/includes/classes/db/mysql/query_factory.php on line 120
Being such a noob, I have absolutely no clue where to go from here. I am running version 1.5.1 and I have the piccadilly_posh template. This is a brand new website, waiting to launch.
TIA for any help you can offer!
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
saltsandsuch
Hi Everyone,
Forgive me, I am a noob and am slowly getting I am having an issue getting this fully installed. My issue seems to be similar to Beyond Dreams' issue above. I moved everything to the custom folders and I moved everything from the admin folder to my custom admin folder.
The shopping_cart_with_rewards and rewards_points box shows up in my layout boxes controller. There is nothing showing up in the Order Total module for me to configure.
I have tried running the new.sql patch, but I got an error 500 page. I tried it a couple times actually. After figuring out to check my error logs, I found the following errors:
PHP Fatal error: Call to undefined function GetRewardPoints() in /home/content/94/10567094/html/includes/templates/piccadilly_posh/sideboxes/tpl_reward_points.php on line 11
PHP Fatal error: Call to undefined function GetProductRewardPoints() in /home/content/94/10567094/html/includes/templates/piccadilly_posh/templates/tpl_product_reward_points.php on line 16
PHP Fatal error: Class 'RewardPoints' not found in /home/content/94/10567094/html/includes/autoload_func.php on line 79
PHP Fatal error: 1062: Duplicate entry '0-0' for key 2 :: INSERT INTO zen_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); in /home/content/94/10567094/html/includes/classes/db/mysql/query_factory.php on line 120
PHP Fatal 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 ''new.sql patch'' at line 1 :: 'new.sql patch'; in /home/content/94/10567094/html/includes/classes/db/mysql/query_factory.php on line 120
Being such a noob, I have absolutely no clue where to go from here. I am running version 1.5.1 and I have the piccadilly_posh template. This is a brand new website, waiting to launch.
TIA for any help you can offer!
Ultimately at the end of the day Beyond Dreams issue was an installation issue (the most common problems with module installations.. I suggest rolling back your site the state it was before you installed this module (you DID back up before you installed it right????), and start your install over and carefully make sure you have all the files in the right folders and run the installation SQL file.. BTW, when I say rollback it means not only the files, but the database..
-
Re: Reward Points Module- Live Release now available.
Yes, thankfully I have learned to always make a backup before a big change or install.
I suppose I'll restore and try again. I know it has to be an operator error, but I can't seem to figure out where my error is. Third time is a charm, maybe.
-
Re: Reward Points Module- Live Release now available.
I tried it again, and it looks like both the sideboxes and the order total modules are there.
I am getting one error now when running the sql patch:
PHP Fatal error: 1062:Duplicate entry '0-0' for key 2 :: INSERT INTO zen_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); in /home/content/94/10567094/html/includes/classes/db/mysql/query_factory.php on line 120
I am not sure what this means. Any help?
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
saltsandsuch
I tried it again, and it looks like both the sideboxes and the order total modules are there.
I am getting one error now when running the sql patch:
Code:
PHP Fatal error: 1062 Duplicate entry '0-0' for key 2 :: INSERT INTO zen_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); in /home/content/94/10567094/html/includes/classes/db/mysql/query_factory.php on line 120
I am not sure what this means. Any help?
It's actually not that mysterious..:smile: It says that you tried to create a DB record which already exists.. To me it indicated that when you restored your site to a pre-install state, you may not have rolled back your DB too.. Suggest running the uninstall SQL and then re-run the installation SQL..
FYI..Use the forum code functions to post code otherwise the forum software will parse things and add smilies to things where they shouldn't be..
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
DivaVocals
It's actually not that mysterious..:smile: It says that you tried to create a DB record which already exists.. To me it indicated that when you restored your site to a pre-install state, you may not have rolled back your DB too.. Suggest running the uninstall SQL and then re-run the installation SQL..
FYI..Use the forum code functions to post code otherwise the forum software will parse things and add smilies to things where they shouldn't be..
I saw the duplicate entry part, and I figured something got added twice but I couldn't figure out where. I did as you suggested, ran the uninstall and then the new.sql again, and no errors.
Now to test. Crossing my fingers it works! Thanks for your help!!!!
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
saltsandsuch
I saw the duplicate entry part, and I figured something got added twice but I couldn't figure out where. I did as you suggested, ran the uninstall and then the new.sql again, and no errors.
Now to test. Crossing my fingers it works! Thanks for your help!!!!
Can't add twice.. hence the error message.. Hope things work out for you..
-
Re: Reward Points Module- Live Release now available.
Well, now I get 404 error when I try to go to Customers>Group Reward Redeem or Customers>Reward Points.
Would this have something to do with table prefixes?
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
saltsandsuch
Well, now I get 404 error when I try to go to Customers>Group Reward Redeem or Customers>Reward Points.
Would this have something to do with table prefixes?
404 indicates a page not found.. are you sure you have ALL the files uploaded to the proper places???
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
DivaVocals
404 indicates a page not found.. are you sure you have ALL the files uploaded to the proper places???
I think I just found it. Somehow I missed a couple files. smh
-
Re: Reward Points Module- Live Release now available.
Hi,
I have this module up and running and I love it!!! Thank you thank you thank you!
I have one more question. On the product page the red text really stands out on my page, does anyone know where to modify the color of this text? The size is too large also, compared to the text of the price. I want to make it a bit smaller as well....
Thanks in advance for your help.
-
Re: Reward Points Module- Live Release now available.
Hi, I installed via the upload from my computer and chose the new.sql
it seemed to install most of it.. I can see the following
Admin>Configuration>Reward Point Configuratioin
Admin>Catalog>Reward Points
Admin>Customers>Group Reward Redeem
Admin>Customers>Reward Points
What I dont see is the Admin>Tools>Layout Boxes Controller (Shopping Cart with Rewards' sidebox ) or the ("Reward Points" sidebox)
nor do they seem to work when I make a sale.. there is no indication in the shopping cart that reward points are being earned.
then after the sale I checked the customers/reward points and there are no pending points.
not sure what to do
any help would be appreciated
-
Re: Reward Points Module- Live Release now available.
oh ok I found where I have to install the module and the reward points are showing up now... sorry for the post....
but The Layout boxes are still not there .....
-
Re: Reward Points Module- Live Release now available.
Hello I have installed it on 1.3.9 zencart shop but now doesn't work the new sql patch
i get a vaule message what can i do now ?
i get this message
1062 Duplicate entry '0-0' for key 'unique_id'
in:
[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);]
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.
-
Re: Reward Points Module- Live Release now available.
hey,
i installed the Reward Points Module for zen-cart 1.5.0.
The test costumer buy something and it will be count right.
Now I have 3 questions:
How can i offer my costumers the discount?
I can see nothing in "Step 1 of 2 - Payment Information"
If the points are used, they stay or disappear?
Can not test it now.
Can I add a small refID system?
And one Problem:
When I open "Customer Reward Points Admin"
i see index: ...
WARNING: An Error occurred, please refresh the page and try again.
ID Last Name ...
but no costumers only the error.
i hope somebody can help.
-
Re: Reward Points Module- Live Release now available.
Check your debug logs in /logs and see what is showing when you get that error, they are date stamped ...
-
Re: Reward Points Module- Live Release now available.
In my logs i can see:
[29-Apr-2013 10:17:34] PHP Fatal 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 'REWARD_POINTS_CUSTOMER_LIMIT' at line 1 :: 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 'A%' ORDER BY c.customers_id, c.customers_lastname LIMIT REWARD_POINTS_CUSTOMER_LIMIT; in /home/..../db/mysql/query_factory.php on line 101
-
Re: Reward Points Module- Live Release now available.
Does anyone knows how to fix this annoying error for my 1.3.9h zen cart
Warning: Invalid argument supplied for foreach() in /home/cdsfds/public_html/includes/functions/extra_functions/reward_points_functions.php on line 314
I keep seeing after i installed reward points - everything seems to work properly but i keep seeing it during checkout procedure and in the error logs
I know others also have this problem but i have not found somewhere a solution for it
Please anyone help :shocking:
-
Re: Reward Points Module- Live Release now available.
Hi
I have moved the login links to the head wrapper section in tpl_header.php. I'm trying to include the reward points in there too. I have been examining the code in tpl_header.php as examples to accomplish this without any luck. I tried adding the sidebox code in there which didn't work either. Is it possible to get the reward points to display in the head wrapper? Any help much appreciated.
thanks
zen cart 1.3.9b
Reward Points Full Suite
-
Re: Reward Points Module- Live Release now available.
Hello,
I'm sorry if this is posted in the wrong place.
I installed reward_point_full_suite_2.1b and it works fine with single prices, but if you have qty discounts it does not give the correct points, it still calculates the points at the single purchase price. so for example:
1-3 8.99
4-10 7.99
if i purchase 10 it will give me the points for the 8.99 price instead of the 7.99 price.
-
Re: Reward Points Module- Live Release now available.
Does anyone know if this works with Super Orders?
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
joyjoy
Does anyone know if this works with Super Orders?
Works fine with Super Orders.
-
Re: Reward Points Module- Live Release now available.
I found an issue with the calculation of rewards points when used in conjunction with the 'Rush/Priority Handling' add-on.
http://www.zen-cart.com/showthread.p...18#post1206318
With the additional 'charge' added to the order total, it increases the rewards points earned.
It adds additional rewards points (in my case I have a $5 rush handling charge) to the order total/points earned.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Limitless
Works fine with Super Orders.
Really? I've read about others that weren't having luck and the devs of Super Orders knows the files would need a bit of tweaking to make it work smoothly. Did you change anything and have you tested from beginning to end? And most importantly, are the points being rewarded upon placement of the order or delivery? The "update" system with Super Orders is what's seems to be incompatible. Thanks.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Limitless
I found an issue with the calculation of rewards points when used in conjunction with the 'Rush/Priority Handling' add-on.
http://www.zen-cart.com/showthread.p...18#post1206318
With the additional 'charge' added to the order total, it increases the rewards points earned.
It adds additional rewards points (in my case I have a $5 rush handling charge) to the order total/points earned.
Sorry. Not an issue. Resolved by going to Configuration -> Rewards Points Configuration -> Advanced Reward Point Calculation Rules and adding in ot_priority_handling and subtract.
Works like a charm.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
joyjoy
Really? I've read about others that weren't having luck and the devs of Super Orders knows the files would need a bit of tweaking to make it work smoothly. Did you change anything and have you tested from beginning to end? And most importantly, are the points being rewarded upon placement of the order or delivery? The "update" system with Super Orders is what's seems to be incompatible. Thanks.
I am running, Edit Orders, Super Orders, Rewards Points, Shipping Notifications, and COWOA.
All of the mods were done at roughly the same time and it was quite some time ago, but yes, rewards points are being rewarded properly when the order has been marked 'delivered'.
They are in a pending state in all other instances.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Limitless
I am running, Edit Orders, Super Orders, Rewards Points, Shipping Notifications, and COWOA.
All of the mods were done at roughly the same time and it was quite some time ago, but yes, rewards points are being rewarded properly when the order has been marked 'delivered'.
They are in a pending state in all other instances.
Well in that case I guess I'll tinker around with it a bit more. Maybe there have been small changes from the point that you installed up until now. Back to the drawing board...
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
joyjoy
Really? I've read about others that weren't having luck and the devs of Super Orders knows the files would need a bit of tweaking to make it work smoothly. Did you change anything and have you tested from beginning to end? And most importantly, are the points being rewarded upon placement of the order or delivery? The "update" system with Super Orders is what's seems to be incompatible. Thanks.
Let me be clear on what I actually said.. what I said was I have NO IDEA if Rewards Points works with Super Orders and that IF it doesn't, that you may need a developer to help you with that if no one in the community can provide an answer for you. The Rewards Points module works with the default order and Super Orders is an enhanced version of the default order. So if they do not work together, it may not take much work to correct that, but I DO NOT know what that would require (or IF a change is required). I also stated that if there were code adjustments needed that I DO NOT know what work would be involved or how much a developer would charge to make the changes needed (IF they are needed). I also suggested that this thread would be the place to ask since your questions since the folks here would have more specific knowledge on how Rewards Points works with Super Orders..
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
DivaVocals
Let me be clear on what I actually said.. what I said was I have NO IDEA if Rewards Points works with Super Orders and that IF it doesn't, that you may need a developer to help you with that if no one in the community can provide an answer for you. The Rewards Points module works with the default order and Super Orders is an enhanced version of the default order. So if they do not work together, it may not take much work to correct that, but I DO NOT know what that would require (or IF a change is required). I also stated that if there were code adjustments needed that I DO NOT know what work would be involved or how much a developer would charge to make the changes needed (IF they are needed). I also suggested that this thread would be the place to ask since your questions since the folks here would have more specific knowledge on how Rewards Points works with Super Orders..
Yes, in a nutshell I think it simply says that they don't work together, I'm sorry I didn't share with him our conversation. And I had misremembered and thought you had said it didn't work together, not that you weren't sure. Forgive my oversight, it was nearly 3AM.
On another note, I wonder if the people who have it working together are working on a prior release rather than the most recent of Super Orders. I have everything I need installed, I'll give it another go, if by chance I figure anything out, I'll be happy to post here. Thanks.
-
Re: Reward Points Module- Live Release now available.
I am running SO Version: 4.0.4, released in Sept (dot rev down). Rewards Points Version: 2.1b released in Apr of 2012(current).
-
Re: Reward Points Module- Live Release now available.
Hi there,
I've just installed the 2.1b reward points module and I found the following issues:
1) Reward point display in product info.
No effect to the reward points display when the Primary Category Reward Point ratio changed. But changing the point ratio of sub-category or product's, the reward pt. display is correct. It will overwrite the global reward pt ratio.
2) Reward Points earned
When check out, the reward points earned ONLY follow the Global reward pt ratio regardless of the product or sub-category pt ratio setting.
(e.g. If I set $100 will earn 100 reward pt (product pt ratio:1) in product point ratio and 50 reward point (global pt ratio:0.5) in global pt ratio at the mean while, it displays 100 pt. will be earned. However, only 50 reward pt earned when checkout.)
I didn't find any error when installation. But I can find the log file mentioned:
[19-Jun-2013 02:23:34]StoreRewardPoints called but SESSION['REWARD_POINTS_EARNED'] not found
When installation, I've merged the existing tpl_product_info_display. I don't know whether the problem caused by this.
Can anyone tell me how to settle? Thank you very much!
My zencart ver is 1.5.1 and PHP Version: 5.2.17 (Zend: 2.2.0)
-
Re: Reward Points Module- Live Release now available.
So i just installed Reward Points (latest version) and having an issue. I've figured out that I can only have Reward Points or Reward Points Tiered Discount active at a time and not both. However, the problem I am running into is that when Either one is active Half the page doesn't load on step 3 of checkout (order confirmation). As soon as I enable the other module (i.e. Reward Points Tiered Discount) it works for roughly 3 page loads then has the same problem. I've run through everything and re-installed twice. Any Ideas? The site is http://test.chainvapes.com
-
Re: Reward Points Module- Live Release now available.
I've tried uninstall then install again and didn't merge any file even the product info layout changed. But same problems occured (mentioned above). This time, there is no any error record in the log file!
Please, anyone can help? Thanks x 10000 !
-
Re: Reward Points Module- Live Release now available.
I've installed the reward point module and it works fine. I've found where I can change the number of points rewarded per purchase but where can I change the value of the points? So right now each point seems to be worth about 1 cent, I'd like them to be worth $1 each.
Where would I change that?
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
geeker
I've installed the reward point module and it works fine. I've found where I can change the number of points rewarded per purchase but where can I change the value of the points? So right now each point seems to be worth about 1 cent, I'd like them to be worth $1 each.
Where would I change that?
That might be in Customers -> Group Reward Points -> Global Points Ratio -> 1.00
I believe one point is rewarded for each dollar spent, so you're being mighty generous.
-
Re: Reward Points Module- Live Release now available.
Hi,
I'm experiencing a little problem: on the top of each category page it is shown the text "Rewards Points".
Here you can see it: http://goo.gl/qiwzu
How could I remove it from there?
Thank you very much for your help.
-
1 Attachment(s)
Re: Reward Points Module- Live Release now available.
Hi everyone,
I have a customer with some reward points in several order but no point appear in her account on store. It seems that all the order with a reward points less than 10 points doesn't work....
I do those setting...do someone find what am i doing wrong please???
Attachment 12768
-
Re: Reward Points Module- Live Release now available.
One more thing....I checked my last orders...they all have a reward points under the total...but none customer get their points in my admin area....:-(((
-
1 Attachment(s)
Re: Reward Points Module- Live Release now available.
No one for some help????
I tried this settings but no poits where added to my account when I made a purchase ( no pending or earned points)
Attachment 12780
-
Re: Reward Points Module- Live Release now available.
In my installation reward points are not credited until there is a change in order status - e.g. pending to processing
-
Re: Reward Points Module- Live Release now available.
Hi Paul, tysm for trying to help me.
I think is what I have in my status track (see the image above)
-
Re: Reward Points Module- Live Release now available.
Thanks for answering my last question. I have another.
Is there a setting that will allow for fractional points, not rounded off? So points awarded can be 1.25 and points can be redeemed as well.
I am hoping there is a way other than going in and messing with the code.
Thanks in advance!
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
geeker
Thanks for answering my last question. I have another.
Is there a setting that will allow for fractional points, not rounded off? So points awarded can be 1.25 and points can be redeemed as well.
I am hoping there is a way other than going in and messing with the code.
Thanks in advance!
Short answer to your question is no. Why in the world would you want to give out fraction of points in the first place. That would be custom code. You will have to hire someone to rewrite the Reward Points module to do that.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Mariscrap
Hi Paul, tysm for trying to help me.
I think is what I have in my status track (see the image above)
If they are not showing in the admin area then you have not installed Reward points right, or a file or files didn't upload all the way. Go back and check your installation of Reward Points.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
countrycharm
Short answer to your question is no. Why in the world would you want to give out fraction of points in the first place. That would be custom code. You will have to hire someone to rewrite the Reward Points module to do that.
I figured it would be custom and I'm looking into it. We are using this as a "store credit" reward so customers are given 3% back on every purchase as store credit. It's what my boss wants to have so ... I will make it so. Thanks!
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
geeker
I figured it would be custom and I'm looking into it. We are using this as a "store credit" reward so customers are given 3% back on every purchase as store credit. It's what my boss wants to have so ... I will make it so. Thanks!
Why don't you try the Store Credits and Rewards Points Module. It might serve your purpose.
That module allows store owners to offer store credit to their customers. Credit can be manually set from the Zen Cart admin, or awarded to customers after each purchase by giving a percentage of their order total as store credits.
-
Re: Reward Points Module- Live Release now available.
Thanks I will give that a shot as well. I have this mod installed and a few changes to the rounding functions and not casting a few values as int seem to be doing the trick.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
geeker
Thanks I will give that a shot as well. I have this mod installed and a few changes to the rounding functions and not casting a few values as int seem to be doing the trick.
After you test it for a while maybe you can share what you did with the community just in case someone else needs to do the same thing.
-
Re: Reward Points Module- Live Release now available.
If anyone can help resolve this issue I'd greatly appreciate it. Just upgraded our rewards points today to 2.1b on Zen Cart 1.5.1 and I am getting the following error:
Code:
[06-Aug-2013 01:24:05 America/New_York] PHP Fatal 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 '11178''
AND ((prp.scope_id=p.products_id AND prp.scope='2')
OR (p.pro' at line 3 :: SELECT prp.point_ratio*p.products_price AS reward_points, prp.point_ratio, p.products_price, p.products_priced_by_attribute
FROM reward_master prp, products p, products_to_categories p2c
WHERE p.products_id='11178''
AND p2c.products_id='11178''
AND ((prp.scope_id=p.products_id AND prp.scope='2')
OR (p.products_id=p2c.products_id AND prp.scope_id=p2c.categories_id AND prp.scope='1')
OR (prp.scope='0'))
ORDER BY prp.scope DESC LIMIT 1; in /MASKED/includes/classes/db/mysql/query_factory.php on line 120
Thanks for your help!
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
BlessIsaacola
If anyone can help resolve this issue I'd greatly appreciate it. Just upgraded our rewards points today to 2.1b on Zen Cart 1.5.1 and I am getting the following error:
Code:
[06-Aug-2013 01:24:05 America/New_York] PHP Fatal 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 '11178''
AND ((prp.scope_id=p.products_id AND prp.scope='2')
OR (p.pro' at line 3 :: SELECT prp.point_ratio*p.products_price AS reward_points, prp.point_ratio, p.products_price, p.products_priced_by_attribute
FROM reward_master prp, products p, products_to_categories p2c
WHERE p.products_id='11178'' <-problem here
AND p2c.products_id='11178'' <- and here
AND ((prp.scope_id=p.products_id AND prp.scope='2')
OR (p.products_id=p2c.products_id AND prp.scope_id=p2c.categories_id AND prp.scope='1')
OR (prp.scope='0'))
ORDER BY prp.scope DESC LIMIT 1; in /MASKED/includes/classes/db/mysql/query_factory.php on line 120
Thanks for your help!
You have extra single quotes (shown in red) which are causing problems in at least 2 places
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
gilby
You have extra single quotes (shown in red) which are causing problems in at least 2 places
Thank you so much. I look inside the file that contains the information but I am not sure if you see what's wrong below. I have pasted the three areas that could potentially have issues.
PHP Code:
if(zen_get_products_price_is_free($products_id)==false || REWARD_POINTS_ALLOW_ON_FREE=='1') // Allow RP on free items (Admin settable)
{
$sql = "SELECT prp.point_ratio*p.products_price AS reward_points, prp.point_ratio, p.products_price, p.products_priced_by_attribute
FROM ".TABLE_REWARD_MASTER." prp, ".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_TO_CATEGORIES." p2c
WHERE p.products_id='" . $products_id . "'
AND p2c.products_id='" . $products_id . "'
AND ((prp.scope_id=p.products_id AND prp.scope='".SCOPE_PRODUCT."')
OR (p.products_id=p2c.products_id AND prp.scope_id=p2c.categories_id AND prp.scope='".SCOPE_CATEGORY."')
OR (prp.scope='".SCOPE_GLOBAL."'))
ORDER BY prp.scope DESC LIMIT 1;";
$result=$db->Execute($sql);
PHP Code:
$sql = "SELECT prp.point_ratio
FROM ".TABLE_REWARD_MASTER." prp, ".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_TO_CATEGORIES." p2c
WHERE p.products_id='" . $products_id . "'
AND p2c.products_id='" . $products_id . "'
AND ((prp.scope_id=p.products_id AND prp.scope='".SCOPE_PRODUCT."')
OR (p.products_id=p2c.products_id AND prp.scope_id=p2c.categories_id AND prp.scope='".SCOPE_CATEGORY."')
OR (prp.scope='".SCOPE_GLOBAL."'))
ORDER BY prp.scope DESC LIMIT 1;";
$result=$db->Execute($sql);
PHP Code:
$sql = "SELECT redeem_ratio
FROM ".TABLE_REWARD_MASTER." prp, ".TABLE_CUSTOMERS." as c
LEFT JOIN(".TABLE_GROUP_PRICING." as gp) ON (gp.group_id=c.customers_group_pricing)
WHERE c.customers_id='".(int)$customers_id."'
AND ((prp.scope_id='".$customers_id."' AND prp.scope='".SCOPE_CUSTOMER."')
OR (gp.group_id=c.customers_group_pricing AND prp.scope_id=gp.group_id AND scope='".SCOPE_GROUP."')
OR (prp.scope='".SCOPE_GLOBAL."'))
ORDER BY prp.scope DESC LIMIT 1;";
$result=$db->Execute($sql);
I hope you or someone else sees what's wrong in the above and can guide me.
Thanks!
-
Re: Reward Points Module- Live Release now available.
It appears that its the first of those sql queries.
However the code appears fine.
The only way that I can see it producing the code thats in the error is if $products_id is corrupt
ie: $products_id = 11178' <- note the trailing apostrophre
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
gilby
It appears that its the first of those sql queries.
However the code appears fine.
The only way that I can see it producing the code thats in the error is if $products_id is corrupt
ie: $products_id = 11178' <- note the trailing apostrophre
We may have to do away with the Rewards points module because I can't figure out what's going on. I do not see any problem with that product id in the DB and it happens with other products as well so it definitely cannot be an issue with the id.
Thanks for helping to troubleshoot though. I am surprised that I am the only one seeing this problem in the log.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
BlessIsaacola
We may have to do away with the Rewards points module because I can't figure out what's going on. I do not see any problem with that product id in the DB and it happens with other products as well so it definitely cannot be an issue with the id.
Thanks for helping to troubleshoot though. I am surprised that I am the only one seeing this problem in the log.
Be aware that $products_id is NOT in the database.
It is a php variable that has been assigned somewhere.
p.products_id and p2c.products_id ARE in the database
Have you tried uploading the files again. It could be a corrupt upload.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
gilby
Be aware that $products_id is NOT in the database.
It is a php variable that has been assigned somewhere.
p.products_id and p2c.products_id ARE in the database
Have you tried uploading the files again. It could be a corrupt upload.
Thanks so much for the pointer about $products_id. I searched Zen Cart and all the files that uses this seems to have instead of Perhaps that's my problem. I will play with it and see if that helps.
This is driving me crazy :)
-
Re: Reward Points Module- Live Release now available.
Hi everyone. I have Super Orders and Edit Orders installed(current) on v1.51, it seems to work well. Until I try to edit an order.
I am able to make edits to an order. But when I try to update and order, I get a blank screen. This is the the error log:
[11-Aug-2013 05:40:33] PHP Fatal error: Call to undefined function getrewardpoints() in /hsphere/local/home/c376292/luxuriouspurse.com/shop/includes/modules/order_total/ot_reward_points_display.php on line 40
However the edits made to the order are actually saved. Any idea how to fix this? Thank you!
-
Re: Reward Points Module- Live Release now available.
Has anyone gotten pagination to work in admin. With over 250 customers that start with A, it's taking the database ages to pull the report on 250 customers. Ihave even more in S. If I set it to 50 the database pulls the data in a number of seconds, but I can't get to the rest of my customers.
-
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
joyjoy
Hi everyone. I have Super Orders and Edit Orders installed(current) on v1.51, it seems to work well. Until I try to edit an order.
I am able to make edits to an order. But when I try to update and order, I get a blank screen. This is the the error log:
[11-Aug-2013 05:40:33] PHP Fatal error: Call to undefined function getrewardpoints() in /hsphere/local/home/c376292/luxuriouspurse.com/shop/includes/modules/order_total/ot_reward_points_display.php on line 40
However the edits made to the order are actually saved. Any idea how to fix this? Thank you!
I am also having this issue (and am a complete PHP n00b) on my test site (where I'm trying out Edit Orders for the first time). I have no issues on my main site (where I only have Reward Points and no order plugins). Any thoughts on how to fix? My test site, where I'm encountering this error is running Zen Cart v1.5.1 and Edit Orders 4.1.2, but no Super Orders. I'm using PHP version 5.3.x. Let me know if you need more details.
-
Reward Points Module - Instructions/Docs for Customer
Sorry if this has been answered before - been looking around and can't find much. This add-on is excellent, however I'm looking for some docs or instructions that explain the workings of this to my customer. Has anyone written a good doc that I could pillage for my site that explains how everything works to my customer base?
Thanks in advance and again apologies if this has been answered elsewhere....
-
Re: Reward Points Module - Instructions/Docs for Customer
It has indeed been answered before but I can not blame you for not finding it within the 2300 posts of this thread :ohmy:
I have created a Q+A page about the workings of the Reward Program on my site and you may find it useful as the basis of your own documentation.
You may also download all my policies in PDF format and find the Reward Program in pages 11-12 of the document.
I hope this helps.