PDA

View Full Version : Incorrect Customer Earned Points Amount Displayed On Thank You Page


mikeg
10-14-2009, 05:59 PM
I'm pretty sure I've found a bug...

I have a free product that I give 2 points to affiliates when they make a 'sale' of it... and the customer is supposed to receive 0 (zero) points for 'purchasing' the free product.

Bizarrely on the thank you page the following statement is made to the customer:

"Points
You have been rewarded with 2 points for making this purchase"

This should be saying '0 points' NOT '2 points'.

This is the case for all the order page templates that come as standard with Delavo. It appears the Delavo tag #{points} is pulling the affiliate earned points for the product and not the customer earned points.

I've tried to see if there is a different tag that should be used but I can't find one and besides this is the one used in the templates that come with Delavo so I'm sure they are using the correct tag.

If anyone else can verify this is the case or not that would be great.

Thanks,
Mike

Donna Walsh
10-15-2009, 10:16 PM
Mike

Without knowing how you set up the rewards program and how you set up the points for purchasing the product, it is impossible to know what is wrong!

mikeg
10-16-2009, 12:19 PM
Fair point Donna! :p

I have these three rewards programs setup:

1) Obtain by Customers - [all customers] [Active] [never expires] [no multiply]

2) Obtain by Affiliates - [all affiliates] [Active] [never expires] [no multiply]

3) Cash by Customers - [all customers] [all affiliates] [Active] [never expires] [no multiply]

In the product setup I have the following rewards settings:

1) Price - [$0]

2) Grant points to customer - [empty]

3) Credit points to affiliate - [2]

4) Product can be bought with points - [empty]

5) Digital delivery > Points - [empty]

Those are all the relevant settings I can see worth mentioning (let me know if I missed something). With this setup the following puzzling thing happens...

Going through a test account affiliate link to obtain the free product as a customer with another test account I get the following message on the thank you page:

"Points
You have been rewarded with 2 points for making this purchase"

The delavo template code creating this message is:

#{--if var=HasPoints--}
<div class="jinOrderSectionTitle">Points</div>
<div class="jinOrderSection">#{points}</div>
#{--/if--}

The thank you page message should be saying to the customer that they have been rewarded 0 [zero] points, not 2. It's the affiliate that gets 2.

Now if I check the points stats for both the customer and the affiliate I can see that the affiliate has correctly been rewarded 2 points and the customer has correctly been rewarded 0 [zero] points. Good stuff :) ...But then why does the message on the thank you page say to the customer that they have been rewarded 2 points when they actually weren't and shouldn't be anyway?

I hope this all makes sense. :)

Thanks,
Mike

Donna Walsh
10-16-2009, 06:32 PM
Hi Mike

You have everything set up correctly. It is a bug so you will need to open
a help desk ticket.

Donna

mikeg
10-16-2009, 06:47 PM
Thanks Donna... will do :)

Mike

mikeg
10-20-2009, 01:57 PM
I'd just like to quickly add that this error doesn't appear to affect products that are paid for (either with cash or points).

So, it appears as long as a product is NOT 100% free the delavo #{points} tag on the thank you page template displays the correct customer earned points for the purchase.

Summary: This issue is only present for 100% free products.