Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Missing order total modules

    Hello,

    I'm in the process of upgrading to 1.5.4 and I've scratched my head to blood looking into this matter :

    - I've checked my files 3...4 times
    - I've checked file permissions
    - I've check ending tags and trailing lines or spaces
    - I've removed and re-installed the modules from the admin
    - I have no debug files coming

    and still no luck.

    Before my upgrade, on the checkout confirmation page I could read :

    Sub-Total: $50.75
    Reward Points: 32 : -$1.60
    FL TAX 7.0%: $3.44
    Tip: $4.00
    Delivery Area
    (Yellow Zone): $3.50
    Total: $60.09
    Reward Points earned 49


    and now

    Sub-Total: $19.95
    FL TAX 7.0%: $1.40
    Tip: $2.44
    Store Pickup (Walk In): $0.00
    Total: $23.79
    16 Reward Points earned:


    I had 7 lines, I only have 6 now.

    I don't know why the ot_reward_points module doesn't seem to be registered as installed and I don't know where to look to get the info.

    Thanks for your help

    Hubert

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Missing order total modules

    I don't know if this will be of any help, but there should be two files for each of the installed modules.

    The 'main' files (that hold all the code) should be found as
    /includes/modules/order_total/ot_moduleName.php

    The matching language files for these should be found as
    /includes/languages/english/modules/order_total/ot_moduleName.php (typical installation)

    Also, check (from the store admin) - modules->order_totals. Do they appear there? Are they enabled? Is the sort order correct for your environment?

    Cheers
    RodG
    Last edited by RodG; 8 Feb 2016 at 03:04 AM.

  3. #3
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Missing order total modules

    - Files are there,
    - permissions are 644,
    - file endings are ?> without anything after,
    - modules are installed with right (i.e. the same as in 1.5.0) settings including sort orders.
    ...
    scratch scratch scratch

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Missing order total modules

    Quote Originally Posted by hubert View Post
    Hello,

    I'm in the process of upgrading to 1.5.4 and I've scratched my head to blood looking into this matter :

    - I've checked my files 3...4 times
    - I've checked file permissions
    - I've check ending tags and trailing lines or spaces
    - I've removed and re-installed the modules from the admin
    - I have no debug files coming

    and still no luck.

    Before my upgrade, on the checkout confirmation page I could read :

    Sub-Total: $50.75
    Reward Points: 32 : -$1.60
    FL TAX 7.0%: $3.44
    Tip: $4.00
    Delivery Area
    (Yellow Zone): $3.50
    Total: $60.09
    Reward Points earned 49


    and now

    Sub-Total: $19.95
    FL TAX 7.0%: $1.40
    Tip: $2.44
    Store Pickup (Walk In): $0.00
    Total: $23.79
    16 Reward Points earned:


    I had 7 lines, I only have 6 now.

    I don't know why the ot_reward_points module doesn't seem to be registered as installed and I don't know where to look to get the info.

    Thanks for your help

    Hubert
    Umm, in the first entry, reward points were used to reduce the overall price. In the second they were not used, just accumulated. It could be that some of the "names" were different (change of language files) but do the math and that's what the difference is... Buy enough things with that one customer and eventually if all is still setup "correctly" reward points out to be available to make the purchase and reduce the overall price again.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Missing order total modules

    The problem is not the math, maths are ok, the problem is the absence of the line
    Reward points nbr -value

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Missing order total modules

    Quote Originally Posted by hubert View Post
    The problem is not the math, maths are ok, the problem is the absence of the line
    Reward points nbr -value
    The missing line is where reard points have not been subtracted from one's account... It would seem that in order to use reward points, one must have reward points to use.... Otherwise in a way, what's the point of tracking any kind of points? Would just be, meet criteria to always be rewarded or not. So what are the criteria in your store to earn or use reward points?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Missing order total modules

    Yes, I confirm, the customer has points to reward as the checkout payement page is showing points and asking to use the points.
    So on checkout payement there's some point and the module is working, and on checkout confirmation, no rebate.

    But let me redo the whole upgrade from scratch... I'll let you know if I end up with the same problem.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Missing order total modules

    And just to confirm, when you do/did the upgrade you used the latest version of each plugn to install and that you basically rebuilt the software but upgraded the database in accordance with: http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Missing order total modules

    Quote Originally Posted by mc12345678 View Post
    And just to confirm, when you do/did the upgrade you used the latest version of each plugn to install and that you basically rebuilt the software but upgraded the database in accordance with: http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    No I didn't rebuilt the site from scratch keeping the database as stated, I followed another path :
    - Downloaded ZC 1.5.0
    - Downloaded ZC 1.5.4
    - Downloaded an archive of my site
    Code:
    $tar -zcvf publ_htm-Date.tgz public_html
    - Compared ZC 1.5.0 with my site
    Code:
    $diff -brief -r zc150dir/ my site/  > MySiteModFiles.txt
    - Compared ZC 1.5.0 with ZC 1.5.4
    Code:
    $diff -brief -r zc150dir/ zc154dir/ > ZC154NewFiles.txt
    - Compared my modifications list with ZC 1.5.4 new files list to see where they overlap
    For that I used an awk script :
    Code:
    # output lines in file1 that are not in file2
    	BEGIN { FS="" }                         # preserve whitespace
    	(NR==FNR) { ll1[FNR]=$0; nl1=FNR; }     # file1, index by lineno
    	(NR!=FNR) { ss2[$0]++; }                # file2, index by string
    	END {
    		for (ll=1; ll<=nl1; ll++) if (!(ll1[ll] in ss2)) print ll1[ll]
    	}
    and then
    Code:
    $awk -f MyCompareScript.awk MySiteModFiles.txt ZC154NewFiles.txt
    I ended with 33 files.
    - Made a "ZC154Patch" dir with only the files in ZC154NewFiles.txt
    - Kept apart in another dir the 33 files which are overlapping.
    - Built a test dir on the hosting, with a test database, both exact copies of the live site.
    - Ran database upgrade from zc_install
    - Uploaded the patch directory files.
    - Reviewed and merged each of the 33 files against ZC 154.
    - Uploaded the 33 files

    Long path, I know.... But I thought it would be shorter than rebuilding like you say as I've got about 25 modules.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Missing order total modules

    Not a ZC recommended process, but important in this regard is the latest version (compatible with ZC 1.5.4) of your plugins installed?

    I'll let others berate for using that process. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Sort Order for order total modules.
    By swamyg1 in forum General Questions
    Replies: 10
    Last Post: 1 Sep 2016, 06:08 AM
  2. v151 Order total modules don't appear in Modules/Order Total
    By godt in forum General Questions
    Replies: 8
    Last Post: 29 Nov 2013, 02:50 AM
  3. Order Total Modules Missing in Admin
    By lexy in forum Basic Configuration
    Replies: 7
    Last Post: 30 Jul 2010, 08:44 AM
  4. Missing option to set "false" for order total modules?
    By swamyg1 in forum Basic Configuration
    Replies: 3
    Last Post: 22 Nov 2009, 07:23 AM
  5. The Modules of Payment, Shipping and Order total are missing
    By yuxiaomao in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 8 Dec 2007, 05:33 PM

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