Print Page | Close Window

Reward points not on product page when logged in

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=2972
Printed Date: 28-February-2025 at 10:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Reward points not on product page when logged in
Posted By: thegardenbath
Subject: Reward points not on product page when logged in
Date Posted: 21-August-2009 at 5:02pm
I've made VERY few changes to the templates so far (I've moved the home page to the root, renamed the admin and pc folder, removed the "waiting" from search" and made a minor tweak to the product reviews). 

For some reason now, on each product page, where it normally shows "you will earn x reward points", it's there when a customer is NOT logged in, but when a customer logs in, that line about the rewards points is missing completely.

I haven't changed anything that should have affected the product description or layout!

You can see a sample product here to try for yourself:
http://69.46.27.178/shop/pc/Fresh-Roses-br-Velvet-Butter-Cream-9-2-oz-2p1.htm

Any ideas or tips on what template or include to check on to see why it's missing only when a customer logs in?

Thanks in advance!  :)



Replies:
Posted By: thegardenbath
Date Posted: 21-August-2009 at 6:04pm
Update & correction...

On the product page:

1.  You can see "You can earn x Flower Power Reward Points on this product!"when NOT logged in.

2.  You can see "You can earn x Flower Power Reward Points on this product!" when logged in as a regular default customer.

3.  You CANNOT see "You can earn x Flower Power Reward Points on this product!" when logged in as a customer in a group with special pricing (ie. wholesale, Friends & Family group, etc.).
 
Screenshot of #3:



























Any ideas why everyone else can see the points on the product page except customers within customer groups?

P.S. - Under marketing > manage reward points > general settings, I do have "include wholesale customers" set to yes, so that isn't it either.  The points don't show up on the product page, but they DO show up in the cart and in the customer's account.

Weird!  Any help?


-------------
-------------------
ProductCart v3.51


Posted By: ProductCart
Date Posted: 07-September-2009 at 2:51am
Try this: download the file "viewPrdCode.asp" from the "pc" folder, and locate the line:
if Clng(iRewardPoints+clng(pcv_BTORP))>"0" and session("customerType")="1" and RewardsIncludeWholesale=True then

Change it to:
if Clng(iRewardPoints+clng(pcv_BTORP))>"0" and session("customerType")="1" and RewardsIncludeWholesale=1 then

In other words "True" is replaced by "1".
This should address the issue. If that is not the case, please submit a support ticket.

-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software


Posted By: thegardenbath
Date Posted: 18-September-2009 at 10:04pm
Excellent - that fixed it perfectly!  Thank you so much for your assistance!  Clap

-------------
-------------------
ProductCart v3.51



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net