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

Reward Points Module for ZC v13x

Locked

Views: 472,061

Results 61 to 80 of 2,476
This thread is locked. New replies are disabled.
20 Apr 2008, 12:44 AM
#61
imperialis avatar

imperialis

Zen Follower

Join Date:
Apr 2008
Posts:
123
Plugin Contributions:
0

Reward Points Module for ZC v13x

Ok so I have the rewards points showing but I have 2 shopping cart side boxes and then when I go to check out I get this error

1146 Table 'imperial_zc1.TABLE_STORE_CREDIT' doesn't exist
in:
[select amount from TABLE_STORE_CREDIT where customers_id = 1]

https://www.imperialgiftsnwares.com.au

20 Apr 2008, 1:19 AM
#62
ekles avatar

ekles

New Zenner

Join Date:
Aug 2005
Posts:
73
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

NullMind:

Andrew

Not sure if I missed it, but is there a way to prevent "gift certeficates" from counting toward points ? otherwise it's a double wammy

second, I am using the latest beta, do I need to re-run upgrade.sql ?

Just set the product ratio to 0.00

Making sure we get the cost of freight back will drive us all mad at some stage.

20 Apr 2008, 1:52 AM
#63
ekles avatar

ekles

New Zenner

Join Date:
Aug 2005
Posts:
73
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Hi

Mike_Dean a few posts back posted that he had a problem at
Admin->Customer->RewardPoints. I seem to have the same one.

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 'SELECT SUM(rp.reward_points) FROM zen_reward_status_track rp WHERE cp.customers_' at line 1
in:
[UPDATE zen_reward_customer_points cp, zen_reward_status_track rp SET cp.reward_points=cp.reward_points+IFNULL(SELECT SUM(rp.reward_points) FROM zen_reward_status_track rp WHERE cp.customers_id=rp.customers_id AND rp.status=0 AND rp.dateIf 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.

Tried to a reload of the file suggested and no luck. Redownloaded again and still no luck.

Everything was fine up to the first test sale and then this appeared in Admin

Any further suggestions?

Zen - 1.3.7
MySQL - 4.1.22

Making sure we get the cost of freight back will drive us all mad at some stage.

20 Apr 2008, 3:21 AM
#64
fiji avatar

fiji

New Zenner

Join Date:
Oct 2007
Posts:
42
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Rasyr:

And.... Paypal - Customer did not get the points that he should have had added into the Pending list (let alone the Earned).

So, the problem with Paypal customers not being awarded their points is happening with me as well.

We use Paypal IPN.

I have same problem. Paypal didn't earn points.
Now i am not the only one have paypal problem, so it's not paypal pin issue.

20 Apr 2008, 10:38 AM
#65
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

imperialis:

Ok so I have the rewards points showing but I have 2 shopping cart side boxes and then when I go to check out I get this error

1146 Table 'imperial_zc1.TABLE_STORE_CREDIT' doesn't exist
in:
[select amount from TABLE_STORE_CREDIT where customers_id = 1]

https://www.imperialgiftsnwares.com.au

Sorry mate, that's not one of my tables- Is it possible you have Numinix's Store Credit mod installed also???

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

20 Apr 2008, 10:40 AM
#66
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

Mike_Dean:

Thanks Andrew.

Took a while but I got there..
:smile:

Was I right about the reload???

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

20 Apr 2008, 11:10 AM
#67
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Was I right about the reload???

Pretty Much..

I ended up reloading the whole thing, took a couple of goes but it got there, just seem to be having some other issues now.

The sidebox for RP is not showing, and nothng shows up during checkout even after I have added points to an account ?

Norts And Ones
Norts And Ones

20 Apr 2008, 11:17 AM
#68
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

Mike_Dean:

Pretty Much..

I ended up reloading the whole thing, took a couple of goes but it got there, just seem to be having some other issues now.

The sidebox for RP is not showing, and nothng shows up during checkout even after I have added points to an account ?

Did you enable the Reward Point sidebox (and/or Cart with Reward Point sidebox) under Admin->Tools->Layout Box Controller???

Also you will need to enable the Redeem Reward Point Order Total box under Admin->Modules->Order Total

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

20 Apr 2008, 11:29 AM
#69
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Did you enable the Reward Point sidebox (and/or Cart with Reward Point sidebox) under Admin->Tools->Layout Box Controller???

Also you will need to enable the Redeem Reward Point Order Total box under Admin->Modules->Order Total

Ok, thanks Andrew, will check that out shorty.. Busy packing orders at present :smile::smile::smile:

Norts And Ones
Norts And Ones

20 Apr 2008, 11:49 AM
#70
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

Did you enable the Reward Point sidebox (and/or Cart with Reward Point sidebox) under Admin->Tools->Layout Box Controller???

Theres is no option to enable the RP sidebox here ???

Also you will need to enable the Redeem Reward Point Order Total box under Admin->Modules->Order Total

Done...

Another issue, this is what is showing next to an item

42 PRODUCT_REWARD_POINT_TAG

Obviously its the number of points this product will offer as a reward, but the text obviously should not be reading that way whould it ?

Norts And Ones
Norts And Ones

20 Apr 2008, 4:53 PM
#71
rasyr avatar

rasyr

Zen Follower

Join Date:
Aug 2006
Posts:
233
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

Andrew?? Any luck figuring out why Paypal IPN purchasers are not receiving their points (even just as Pending like the CC customers)?

I can live with manually approving the Reward Points for a while, but I really do need the Paypal customers to get their RPs in Pending like they are supposed to.

Thanks

20 Apr 2008, 5:36 PM
#72
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

Rasyr:

Andrew?? Any luck figuring out why Paypal IPN purchasers are not receiving their points (even just as Pending like the CC customers)?

I can live with manually approving the Reward Points for a while, but I really do need the Paypal customers to get their RPs in Pending like they are supposed to.

Thanks

I will have to set up a PayPal IPN Payment mod onto my test rig and then work out how to setup the sandbox so I can test it.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

20 Apr 2008, 5:43 PM
#73
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

Mike_Dean:

Theres is no option to enable the RP sidebox here ???

Done...

Another issue, this is what is showing next to an item

42 PRODUCT_REWARD_POINT_TAG

Obviously its the number of points this product will offer as a reward, but the text obviously should not be reading that way whould it ?

That shows that at least three of the mod files have not been copied to your site- includes/modules/sideboxes/custom/reward_points.php and shopping_cart_with_reward_points.php and includes/languages/english/extra_definitions/custom/reward_points.php

I would hazard a guess that you have not copied the files correctly into your custom folders.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

20 Apr 2008, 7:39 PM
#74
gransazer avatar

gransazer

New Zenner

Join Date:
Apr 2008
Posts:
7
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hi,

Just install live version of the mod and working great.

i've question, my store have one product with two different fixed prices. i set base price to 0 and automatically the lowest attributes price will be the base price but my problem is the reward points also goes to 0 if i set base price 0.

so.. how to setup the mod to read the points from attributes price. anyone can help me.

anyway, thanks to andrew for the superb mod.

20 Apr 2008, 8:12 PM
#75
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

Rasyr:

Andrew?? Any luck figuring out why Paypal IPN purchasers are not receiving their points (even just as Pending like the CC customers)?

I can live with manually approving the Reward Points for a while, but I really do need the Paypal customers to get their RPs in Pending like they are supposed to.

Thanks

It looks like IPN handles the order status differently. I checked out:

http://www.zen-cart.com/wiki/index.php/PayPal

Looks like I've got a bit of digging to do.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

20 Apr 2008, 8:17 PM
#76
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

gransazer:

hi,

Just install live version of the mod and working great.

i've question, my store have one product with two different fixed prices. i set base price to 0 and automatically the lowest attributes price will be the base price but my problem is the reward points also goes to 0 if i set base price 0.

so.. how to setup the mod to read the points from attributes price. anyone can help me.

anyway, thanks to andrew for the superb mod.

Thanks for the heads up- I'll check it out in the morning.

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

20 Apr 2008, 9:20 PM
#77
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

hem:

That shows that at least three of the mod files have not been copied to your site- includes/modules/sideboxes/custom/reward_points.php and shopping_cart_with_reward_points.php and includes/languages/english/extra_definitions/custom/reward_points.php

I would hazard a guess that you have not copied the files correctly into your custom folders.

My Bad.. Forgot to rename all the custom folders... so as soon as I went hunting through the includes folder and renamed the 'custom' folders to that of my template it all came together.

Thanks for the support..... appreciated.

Norts And Ones
Norts And Ones

20 Apr 2008, 9:36 PM
#78
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

Mike_Dean:

My Bad.. Forgot to rename all the custom folders... so as soon as I went hunting through the includes folder and renamed the 'custom' folders to that of my template it all came together.

Thanks for the support..... appreciated.

No problems- glad you got it working...

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com

21 Apr 2008, 2:34 AM
#79
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Reward Points Module for ZC v13x

I haven't had to time to check this out yet, but I have just noticed that since installing this mod, its knocked out my Tabbed products mod that was installed ?

Without this RP mod, the Tabbed products '(TPL) mod works OK, but with this mod, the tabs disappear ?

Has anyone else noticed this.. ?

Could be an issue with my custom folders, like I said, haven't had time to fully check, but thought I'd mention it though

Norts And Ones
Norts And Ones

21 Apr 2008, 8:10 AM
#80
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

Mike_Dean:

I haven't had to time to check this out yet, but I have just noticed that since installing this mod, its knocked out my Tabbed products mod that was installed ?

Without this RP mod, the Tabbed products '(TPL) mod works OK, but with this mod, the tabs disappear ?

Has anyone else noticed this.. ?

Could be an issue with my custom folders, like I said, haven't had time to fully check, but thought I'd mention it though

Mike, that's because both mods make changes to the tpl_product_info_display.php file. I've attached a version that combines both mods- extract it to includes\templates\YOUR CUSTOM FOLDER\templates\

Andrew

Andrew Moore
Omnicia Agile Development
www.omnicia.com