Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Location
    Sheffield South Yorkshire
    Posts
    165
    Plugin Contributions
    1

    Default Reward points module : 0 points earned

    Hello, Im having a bit of an issue with my reward points module. Looked though all the reward points thread but cant seem to find a solution.

    Ive installed reward points module on 1.3.9h and everything seemed fine. Done sql patch switched on sidebox's etc but when ever I go though checkout it doesn't apply the points.

    It just states
    0 points earned
    0 points pending

    Tried switching various settings etc but still no luck. Even tried switching to default template but no joy.

    In admin > Customer Reward Points > it just shows the test customer with 0 points earned 0 pending.

    Anyone any ideas? any setting i seem to have missed.

    (DB prefix is the default for zencart)

  2. #2
    Join Date
    Jun 2008
    Location
    Sheffield South Yorkshire
    Posts
    165
    Plugin Contributions
    1

    Default Re: Reward points module : 0 points earned

    Fixed, upgraded to 1.5 and re-installed 1.5 mod all works fine now.

  3. #3
    Join Date
    Jun 2008
    Location
    Sheffield South Yorkshire
    Posts
    165
    Plugin Contributions
    1

    Default Re: Reward points module : 0 points earned

    Just a quick one does anyone know how to display the reward points in the product listing (not product info page)

    Take a look at http://www.rmsupply.co.uk/ to see what i mean.

    Ive currently told it to echo the price minus the currency symbol, since 1 point is set for 1 pound this works for now.

    Any ieads?

  4. #4
    Join Date
    Jun 2008
    Location
    Sheffield South Yorkshire
    Posts
    165
    Plugin Contributions
    1

    Default Re: Reward points module : 0 points earned

    Fixed it. to add the points for product listing do the following;

    To make your points display in your product listing edit the following.
    1) in your product_listing.php file (in includes>modules) find the line
    Code:
    $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '';
    and replace it with
    Code:
    $rewards = GetProductRewardPoints($listing->fields['products_id']);
    $lc_price = zen_get_products_display_price($listing->fields['products_id']) . '';
    Then where ever you want your rewards to display echo $rewards e.g.
    Code:
        <div class="rmsfeatureboxpoints">' . $rewards . '</div>
    You can do the same to the featured_products.php too.

    Hope this helps anyone else as it had me stumped for ages!

  5. #5
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Re: Reward points module : 0 points earned

    Quote Originally Posted by jonnyboy22 View Post

    Then where ever you want your rewards to display echo $rewards e.g.
    Code:
        <div class="rmsfeatureboxpoints">' . $rewards . '</div>
    You can do the same to the featured_products.php too.

    Hope this helps anyone else as it had me stumped for ages!
    Great idea however I added this piece of code to correctly display the reward points in the product listing
    PHP Code:
    $lc_text .= '<div class="rmsfeatureboxpoints">' 'Reward Points ' .$rewards '</div>'
    Now the only thing left is to style that div tag and we are done!
    Great job!

  6. #6
    Join Date
    Jun 2008
    Location
    Sheffield South Yorkshire
    Posts
    165
    Plugin Contributions
    1

    Default Re: Reward points module : 0 points earned

    I have now submitted this to the Zencart team to be included in the plugin section :)

    You can download it from http://squirrelhosting.co.uk/hosting...-info.php?id=7 in the meantime.

 

 

Similar Threads

  1. Reward Points Module for ZC v13x
    By hem in forum All Other Contributions/Addons
    Replies: 2474
    Last Post: 16 Mar 2015, 12:29 AM
  2. v139h Reward Points module display order totals including reward points
    By irsarahbean in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Jun 2013, 01:19 AM
  3. Reward Points module- points not calculated correctly
    By cpoet in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Sep 2010, 05:02 PM
  4. Reward Points Module - Hide message when 0 points offered
    By expresso in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Dec 2008, 06:58 PM
  5. Experimental Reward Points Module
    By precursor999 in forum Addon Payment Modules
    Replies: 7
    Last Post: 2 Apr 2007, 09:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR