Re: Reward Points Module- Live Release now available.
I would like to be able to give new customers some reward points upon new account creation.
Suggestions on where I make add some code to do this?
Thanks,
W
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
mipavluk
ok, I need help to start to understand things
(1)
today, a customer make a purchase and in her invoice say:
Reward Points Earned: 3
Where I can see this, to take a look in how many points she have acumulated from several orders?
in Customers/Reward Points?
in which column? Pending? or Earned?
Because right now... that customers have: 0 pending and 0 earned
What method did they use to pay for the order? Right now all methods except Paypal IPN work with the Reward Point mod.
Quote:
Originally Posted by
mipavluk
(2)
If I decide, manually, give point to my customers from their old orders... where I need do this?
Please if somebody can help me...
Go to Admin->Customers->Reward Points and click on the customer. You can add more points from that interface.
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
english_1969
I would like to be able to give new customers some reward points upon new account creation.
Suggestions on where I make add some code to do this?
Thanks,
W
Edit YOUR_TEMPLATE/templates/tpl_create_account_success_default.php and add the code after:
PHP Code:
<div id="createAcctSuccessMainContent" class="content"><?php echo TEXT_ACCOUNT_CREATED; ?></div>
This will do it:
PHP Code:
<?php
if(isset($RewardPoints) && GetCustomersRewardPoints($_SESSION['customer_id'])==0)
$RewardPoints->AddRewardPoints($_SESSION['customer_id'],1000);
?>
Note this will only add points if the customer has not already got any- Which should be a no brainer as this is a new account- However it stops the user from refreshing the Account Success page and continually adding more points to their account.
Re: Reward Points Module- Live Release now available.
yes, I'm using paypal.... but what about if I give the points manually? I can do it one time per day... or per week... then they will be change by products again right?
Quote:
Originally Posted by
hem
Go to Admin->Customers->Reward Points and click on the customer. You can add more points from that interface.
Great! I go there.... click on a customer.
Set new Pricing Group/Redeem Ratio: -none-
There is not another option, only -none-
Add or Subtract Points
which one?
- Add extra points to Earned
or
- Add extra points to Pending
when some points are Earned?
when some points are Pending?
I'm very confused at that point... when are earned and when are pending?
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
mipavluk
yes, I'm using paypal.... but what about if I give the points manually? I can do it one time per day... or per week... then they will be change by products again right?
Great! I go there.... click on a customer.
Set new Pricing Group/Redeem Ratio: -none-
There is not another option, only -none-
Add or Subtract Points
which one?
- Add extra points to Earned
or
- Add extra points to Pending
when some points are Earned?
when some points are Pending?
I'm very confused at that point... when are earned and when are pending?
Add Extra Points to Earned.
Points remain pending while you process the order. Usually once the order is processes then the points move to Earned and the customer can redeem them. This is to stop behavior such as a customer ordering an expensive item, then using the points on a different order and then cancelling the first order.
Re: Reward Points Module- Live Release now available.
Hello,
Is this mod compatible with Paypal Express? Coz im getting the following error and as far as I can remember, this is the only reward points program I have installed.
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 'AND ((prp.scope_id= AND prp.scope=4) OR (gp.group_id=c.customers_group_pricin' at line 5
in:
[SELECT redeem_ratio FROM reward_master prp, customers as c LEFT JOIN(group_pricing as gp) ON (gp.group_id=c.customers_group_pricing) WHERE c.customers_id= AND ((prp.scope_id= AND prp.scope=4) OR (gp.group_id=c.customers_group_pricing AND prp.scope_id=gp.group_id AND scope=3) OR (prp.scope=0)) ORDER BY prp.scope DESC LIMIT 1;]
And im using version 1.10a. What is the latest version?
Thx
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
hem
Edit YOUR_TEMPLATE/templates/tpl_create_account_success_default.php and add the code after:
PHP Code:
<div id="createAcctSuccessMainContent" class="content"><?php echo TEXT_ACCOUNT_CREATED; ?></div>
This will do it:
PHP Code:
<?php
if(isset($RewardPoints) && GetCustomersRewardPoints($_SESSION['customer_id'])==0)
$RewardPoints->AddRewardPoints($_SESSION['customer_id'],1000);
?>
Note this will only add points if the customer has not already got any- Which should be a no brainer as this is a new account- However it stops the user from refreshing the Account Success page and continually adding more points to their account.
Thanks Andrew!
Works perfectly!
This is a great mod BTW.
Re: Reward Points Module- Live Release now available.
Dear Andrew,
I've installed the reward points module for my store but i face the problem for product attributes.
Below is the scenario:
Product A has 6 color but it does not use price by attributes. The product price is $15.90 originally. Then I apply a discount to it and the price become $11.90.
I've on the setting "Adjust Reward Points for Sales/Specials" but it still give 16 points for the product.
Hope you can help.
Thanks
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
Berserker
Hello,
Is this mod compatible with Paypal Express? Coz im getting the following error and as far as I can remember, this is the only reward points program I have installed.
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 'AND ((prp.scope_id= AND prp.scope=4) OR (gp.group_id=c.customers_group_pricin' at line 5
in:
[SELECT redeem_ratio FROM reward_master prp, customers as c LEFT JOIN(group_pricing as gp) ON (gp.group_id=c.customers_group_pricing) WHERE c.customers_id= AND ((prp.scope_id= AND prp.scope=4) OR (gp.group_id=c.customers_group_pricing AND prp.scope_id=gp.group_id AND scope=3) OR (prp.scope=0)) ORDER BY prp.scope DESC LIMIT 1;]
And im using version 1.10a. What is the latest version?
Thx
The latest version is v1.21a. You might want to check your MySQL version too. This mod needs at least v4.2 (though it does seem to work with v4.1).
Re: Reward Points Module- Live Release now available.
Quote:
Originally Posted by
yuki.npwong
Dear Andrew,
I've installed the reward points module for my store but i face the problem for product attributes.
Below is the scenario:
Product A has 6 color but it does not use price by attributes. The product price is $15.90 originally. Then I apply a discount to it and the price become $11.90.
I've on the setting "Adjust Reward Points for Sales/Specials" but it still give 16 points for the product.
Hope you can help.
Thanks
Can you give me a URL and I'll have a look.