Zen Cart Logo
Forums / All Other Contributions/Addons / Reward Points Module for ZC v13x

Reward Points Module for ZC v13x

Locked

Views: 470,672

Results 1,361 to 1,380 of 2,476
This thread is locked. New replies are disabled.
23 May 2010, 11:20 AM
#1361
kezza avatar

kezza

New Zenner

Join Date:
Mar 2010
Location:
The other side where the grass IS greener
Posts:
30
Plugin Contributions:
0

Reward Points Module for ZC v13x

Kezza:

shop - 1.3.8a with mods added
rewards version - 1.30a

still get the "value of redeemed reward points" twice, on every login for the first purchase.

but for some reason if you refresh the screen ie push F5 or go back to your shopping cart and start the checkout again its normal!

Kezza

forgot to say it passes the price less 2x the reward points onto paypal but does not affect in house payments.

Kezza

24 May 2010, 9:00 AM
#1362
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

crystalight:

Hi! I've just downloaded your module, but encounter some problems when installing...

Currently, I'm using the latest version of Zen Cart. And since I'm installing this for the 1st time, I've updated it using new.sql

I'm stuck at step 4. I seem can't to find the sidebox with says 'Shopping Cart with Rewards', I only see the "sideboxes/shopping_cart.php" and it's already switch on.

Please advise.

Thanks.

Xbox Memberships:

Hi Hem i've installed this module and unfortunatly i am getting a weird error on the product pages. best way to describ it is by taking a screenshot really ive attached it to this post. its strange as i think it is also messing up the description as there should be tick box bullet points in there which don't show up im running 1.3.8a

Both these issues are caused by files not being copied to your custom folders. If you run the RPD (Reward Point Diagnostic) it will tell you what files are missing and where they should be copied to.

You can get the RPD here: http://omnicia.com/rpd.zip- Just unzip it to the root folder of your store and then run it in your browser by typing www.YOUR_STORE_WEBSITE.com/rpd.php into the address bar.

24 May 2010, 9:00 AM
#1363
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

Kezza:

forgot to say it passes the price less 2x the reward points onto paypal but does not affect in house payments.

Kezza

Thanks for the feedback, I am looking into this now.

24 May 2010, 7:58 PM
#1364
xbox_memberships avatar

xbox_memberships

Zen Follower

Join Date:
Jan 2010
Posts:
157
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hi hem, darn coder i got to make me a module for my site coded it so that this module has to be installed so looks like i may have to become an expert at this module and very quick! lol. i used the test .php and this is what i got....

24 May 2010, 8:02 PM
#1365
xbox_memberships avatar

xbox_memberships

Zen Follower

Join Date:
Jan 2010
Posts:
157
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

wait fixed that error now turns out i hadn't put the rpd.xml into the root of the site!! :wacko: so it appears I have all the files missing that are supposed to go into my custom template folder which is premium1a. lets see if i can sort this one out now!

24 May 2010, 8:11 PM
#1366
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

Xbox Memberships:

wait fixed that error now turns out i hadn't put the rpd.xml into the root of the site!! :wacko: so it appears I have all the files missing that are supposed to go into my custom template folder which is premium1a. lets see if i can sort this one out now!

That was my first thought :smile:

24 May 2010, 8:11 PM
#1367
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

hem:

Thanks for the feedback, I am looking into this now.

Okay, I have located the problem. I'm now working on removing it.

24 May 2010, 8:15 PM
#1368
xbox_memberships avatar

xbox_memberships

Zen Follower

Join Date:
Jan 2010
Posts:
157
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Might be a worthwhile addition to add a small notepad file to point out exactly which files need editing to the name of your store's template. They are quite well hidden like includes/modules/sideboxes/YOUR_TEMPLATE

would certainly make things easier for installing, especially for idiots like me :D

24 May 2010, 10:18 PM
#1369
imagino avatar

imagino

New Zenner

Join Date:
Mar 2008
Posts:
31
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Hem, fix ID "cartBoxEmpty" handling when user is NOT logged in AND has NOT anything in basket, please. It leads to validation error, because in conditione mentioned above there are two ID with the same name: cartBoxEmpty. It is set in includes/templates/CUSTOM/sideboxes/tpl_reward_points.php.
Thank you ;o)

25 May 2010, 11:15 AM
#1370
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

Xbox Memberships:

Might be a worthwhile addition to add a small notepad file to point out exactly which files need editing to the name of your store's template. They are quite well hidden like includes/modules/sideboxes/YOUR_TEMPLATE

would certainly make things easier for installing, especially for idiots like me :D

Done- I have added it as points 2.1, 2.2 and 2.3 in the installation instructions. It will be included in the next release.

25 May 2010, 11:16 AM
#1371
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

imagino:

Hem, fix ID "cartBoxEmpty" handling when user is NOT logged in AND has NOT anything in basket, please. It leads to validation error, because in conditione mentioned above there are two ID with the same name: cartBoxEmpty. It is set in includes/templates/CUSTOM/sideboxes/tpl_reward_points.php.
Thank you ;o)

You are supposed to switch off the regular cart sidebox when you use the RP cart sidebox...

25 May 2010, 9:13 PM
#1372
xbox_memberships avatar

xbox_memberships

Zen Follower

Join Date:
Jan 2010
Posts:
157
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Done- I have added it as points 2.1, 2.2 and 2.3 in the installation instructions. It will be included in the next release.

nice work hem, shame there is no thanks buttons on this forum:cool:

26 May 2010, 3:49 AM
#1373
gg01 avatar

gg01

New Zenner

Join Date:
Jul 2008
Location:
Ontario, Canada
Posts:
85
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

v1.30a now available.

Fixes:

  • Resolved issue with Advanced Table items not being factored into the stored Reward Points record
  • Reward Points now passed to observer class via $_SESSION['REWARD_POINTS_EARNED'] variable set in ot_reward_point_display.php
  • Possible fix to make RP Mod finally work with PayPal IPN.

Downloadable from http://www.omnicia.com/Zencart%20Reward%20Points%20Module.zip

Thanks for all that you do, Hem!!! :flex:

The group pricing discounts are now being correctly reflected in the admin. You rock!!

:cool:

26 May 2010, 2:25 PM
#1374
imagino avatar

imagino

New Zenner

Join Date:
Mar 2008
Posts:
31
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

You are supposed to switch off the regular cart sidebox when you use the RP cart sidebox...

It is not in regular cart box, both IDs are in RP sidebox, I mentioned specific file.

26 May 2010, 3:49 PM
#1375
imagino avatar

imagino

New Zenner

Join Date:
Mar 2008
Posts:
31
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Hem,
on the row number 71 in file tpl_product_info_display.php (RP v1.30a) you have:
echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . get_products_display_price((int)$_GET['products_id']);

But "get_products_display_price" do not exists, am I right? In previous version, you had "zen_get_products_display_price" ("zen_" prefix) here.

26 May 2010, 4:31 PM
#1376
imagino avatar

imagino

New Zenner

Join Date:
Mar 2008
Posts:
31
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Hem,
do you plan to rewrite this mod to properly work with more than one tax class? In Czech republic, for example, we have two tax classes, but your (otherwise perfect ;o) mod do not display reward points with taxes. Or the price could be multiplied by always the same number, which is suitable just for one-tax-classed shop.

Thank you for your time!

26 May 2010, 7:53 PM
#1377
phil020782 avatar

phil020782

Zen Follower

Join Date:
Jul 2007
Posts:
158
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Hi,
I've just installed this mod for the first time, I'm using zen version 1.3.8a and the latest version of the reward point module. I'm having a few issues that I can't seem to figure out and would greatly appreciate any help.

  1. I have run the diagnostics tool and all files and folders are ok but in the database section I get the following issues:
rewards_id- field missing in reward_status_track!!!
customers_id- field missing in reward_status_track!!!
orders_id- field missing in reward_status_track!!!
date- field missing in reward_status_track!!!
reward_points- field missing in reward_status_track!!!
status- field missing in reward_status_track!!!

and

Allow Redeem of Reward Points on Order Total or Subtotal- record missing in configuration!!!

I have checked the database and the information from the sql file is in the database

  1. I have set to have reward points based on subtotal but they are being calculated on total, I guess this has something to do with the issue above.

  2. I have set manual redeem so that the customer can choose the amount of reward points to use but there is no option to enter the amount.

  3. If a customer has enough reward points to cover the entire order value (resulting in a order total of 0.00) the checkout fails with an invalid total fault.

Any help would be greatly appriciated.

Thanks

27 May 2010, 7:47 AM
#1378
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

imagino:

Hem,
on the row number 71 in file tpl_product_info_display.php (RP v1.30a) you have:
echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . get_products_display_price((int)$_GET['products_id']);

But "get_products_display_price" do not exists, am I right? In previous version, you had "zen_get_products_display_price" ("zen_" prefix) here.

Thanks for that- That's actually a change from my Inc/Ex tax mod. I'll sort it for the next release.

27 May 2010, 7:50 AM
#1379
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

imagino:

It is not in regular cart box, both IDs are in RP sidebox, I mentioned specific file.

Strange- I did a search in the code and it only turns up once.

27 May 2010, 7:53 AM
#1380
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Reward Points Module for ZC v13x

imagino:

Hem,
do you plan to rewrite this mod to properly work with more than one tax class? In Czech republic, for example, we have two tax classes, but your (otherwise perfect ;o) mod do not display reward points with taxes. Or the price could be multiplied by always the same number, which is suitable just for one-tax-classed shop.

Thank you for your time!

There was a big discussion about how points should be awarded wit or without tax. It was decided that if you were awarding points by product then it was fair that the amount be the same regardless if the tax was different due to country/state rates. However if you wanted to award points on the total spend you can always set the mod to award on cart total.