Page 17 of 37 FirstFirst ... 7151617181927 ... LastLast
Results 161 to 170 of 363
  1. #161
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,391
    Plugin Contributions
    94

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    @gigi3, may I suggest that you open a new thread (Reward Points+Edit Orders, or another title to your choosing) so we don't hijack this support thread discussing possibilities?

    It will "help" to know your Zen Cart, Edit Orders and Reward Points version in formulating any change-suggestion.

  2. #162
    Join Date
    Oct 2015
    Location
    BC, Canada
    Posts
    41
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread


  3. #163
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    My client does not update order status so we needed to find a way to award points when orders are placed. I set the completed order status of each payment module to Completed (renamed from Shipping of orders_status_id=3). The Reward Point Sunrise Period is set to zero.

    I expected this would award the points as orders are placed. The order status for orders is showing up as 'Completed' but the their points as still Pending.

    What did I misunderstand so I can get the desired result?

  4. #164
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Hi
    Is this working on zc155 ?
    I've made a new intalation and a upgrade to the database from the reward previous version.
    I've already put the site online since I had no log reports about this but:

    The points are added and subtratect from the customer account, but on checkout, they have no effect on the total order.
    And also, in the Set New Account Reward Points , I have them config to add to pending. But after a customer makes a purchase, they don't go anyware.

    In the reward points configuration I have this jscritp error :
    configuration.php?gID=41&cID=816&action=edit:415 Uncaught TypeError: Cannot read property 'length' of undefined


    And in the advanced rules, sometimes I have e t_total.php (? didn't had this in v151) with a action to add....
    There also the ot_shipping that I can't set ... I click update, but nothing.
    So I have this options:

    HTML Code:
    <select rel="dropdown" name="moduleField">
    <option value="ot_cod_fee">ot_cod_fee</option>
    <option value="ot_coupon">ot_coupon</option>
    <option value="ot_group_pricing">ot_group_pricing</option>
    <option value="ot_gv">ot_gv</option>
    <option value="ot_loworderfee">ot_loworderfee</option>
    <option value="ot_shipping">ot_shipping</option>
    <option value="ot_tax">ot_tax</option>
    </select>
    Why that t_total.php cames up....or when, I still didn't get it....

    ....the ot_total should be here, right ?

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  5. #165
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    About the configuration.php?gID=41&cID=816&action=edit:415 Uncaught TypeError: Cannot read property 'length' of undefined
    Forget about this, I got this all over the place, and it's from a js that it's counting the chars in the metatag description, but should only run in there.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  6. #166
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Checking the GetRewardPointAdvancedCalculateTable and the SetRewardPointAdvancedCalculateTableFunction , something is wrong here

    If I choose the ot_shipping I guess it's related to the ot_total (?) , since when I click update ( with subtract) , it add the ot_total (but with the action add ) ....

    But as you can see in the SetRewardPointAdvancedCalculateTableFunction it's setting a t_total.php .... maybe this is the issue ?
    But related to what ? jscript ?
    Still didn't find out

    GetRewardPointAdvancedCalculateTable
    Array
    (
    [0] => ot_total.php
    )

    SetRewardPointAdvancedCalculateTableFunction
    Array
    (
    [0] => Array
    (
    [module] => t_total.php
    [action] => Add
    )

    )
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  7. #167
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Well, after some digging I reach no were.

    I've already uninstall the sql, and install it again, since I've done a upgrade...nothing.

    The t_total -> Probably the list explode is not wright, but the ot_total is on the ignore list...so not sure why is here.

    Changing the redem_points from manual to automatic, makes no difference, it simple doesn't do nothing to the total or sub_total amounts.

    I'm not sure if this [redeem_checkout_flag] => should be set to 1 after the checkout_payment , but on checkout_confirmation it's empty

    Array
    (
    [securityToken] => 3906a7a995203c0f60ddcbe065940b6c
    [action] => submit
    [dc_redeem_code] =>
    [redeem_points] => 365
    [redeem_checkout_flag] =>
    [payment] => eustandardtransfer
    [comments] =>
    )

    But I can find no errors here :
    PHP Code:
     if(MODULE_ORDER_TOTAL_REWARD_POINTS_TYPE=="Automatic")
                   
    $prompt=zen_draw_checkbox_field('redeem_flag',true,isset($_SESSION['redeem_value']),'').'&nbsp;'.zen_draw_hidden_field('redeem_checkout_flag',true);
                  else
                   
    $prompt =zen_draw_input_field('redeem_points',$_SESSION['redeem_points']).'&nbsp;'.zen_draw_hidden_field('redeem_checkout_flag',true); 
    The customer loses his points and earns new ones on checkout... but it doesn't reflect on the total ....
    Must disable this until I find something, or I get into troubles.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  8. #168
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    A last clue :

    in a zc151 :
    ($_REQUEST)
    Array (
    [main_page] => checkout_confirmation
    [securityToken] => 332bc18f56cb21482a0c5bb28243620f
    [action] => submit
    [dc_redeem_code] =>
    [redeem_points] => 100
    [redeem_checkout_flag] => 1
    [payment] => eustandardtransfer
    [comments] => )

    In zc155 :
    Array
    (
    [main_page] => checkout_confirmation
    [securityToken] => 3906a7a995203c0f60ddcbe065940b6c
    [action] => submit
    [dc_redeem_code] =>
    [redeem_points] => 100
    [redeem_checkout_flag] =>
    [payment] => eustandardtransfer
    [comments] =>
    )

    And in the SESSION values :
    zc151:
    [REWARD_POINTS_EARNED] => 75
    [comments] =>
    [redeem_points] => 100
    [redeem_value] => 1

    zc155:
    [REWARD_POINTS_EARNED] => 134
    [comments] =>


    ...so I getting closer.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  9. #169
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    In zc155 ( at least I'm the only one complaining until now ( could be a karma thing) )
    I can get this to work if I change in modules/order_total/ot_reward_points.php this:

    PHP Code:
    if(MODULE_ORDER_TOTAL_REWARD_POINTS_TYPE=="Automatic")
                   
    $prompt=zen_draw_checkbox_field('redeem_flag',true,isset($_SESSION['redeem_value']),'').'&nbsp;'.zen_draw_hidden_field('redeem_checkout_flag',true);
                  else
                   
    $prompt=zen_draw_input_field('redeem_points',$_SESSION['redeem_points']).'&nbsp;'.zen_draw_hidden_field('redeem_checkout_flag',true); 

    To this :
    PHP Code:
    if(MODULE_ORDER_TOTAL_REWARD_POINTS_TYPE=="Automatic")
                
    $prompt=zen_draw_checkbox_field('redeem_flag',true,isset($_SESSION['redeem_value']),'').'&nbsp;'.zen_draw_hidden_field('redeem_checkout_flag',true);
                  else
    $prompt=zen_draw_input_field('redeem_points',isset($_SESSION['redeem_points'])).'&nbsp;'.zen_draw_hidden_field('redeem_checkout_flag',true); 

    Even so, only setting the zen_draw_hidden_field('redeem_checkout_flag',1) I get the [redeem_checkout_flag] => 1


    So, now it's making the calculations, etc..
    ---------------
    About the Advanced Reward Point Calculation Rules, still didn't find a solution...but for this case, or my case, it's not a priority
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  10. #170
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Reward Points Full Suite v2.5 (for ZC v1.5x) Support Thread

    Quote Originally Posted by jeking View Post
    My client does not update order status so we needed to find a way to award points when orders are placed. I set the completed order status of each payment module to Completed (renamed from Shipping of orders_status_id=3). The Reward Point Sunrise Period is set to zero.

    I expected this would award the points as orders are placed. The order status for orders is showing up as 'Completed' but the their points as still Pending.

    What did I misunderstand so I can get the desired result?
    Well, I don't have this working either but in a different situation: the reward points given to the customer on registration do not pass to earn after the first purchase.

    But in your case, have your try to change Reward Point Status Track from simple to advanced, and applied the earning at the pending state ?
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

 

 
Page 17 of 37 FirstFirst ... 7151617181927 ... LastLast

Similar Threads

  1. First 1.0 Release of Reward Points module [Support Thread]
    By hem in forum All Other Contributions/Addons
    Replies: 38
    Last Post: 4 Apr 2013, 02:34 PM

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