Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2007
    Posts
    86
    Plugin Contributions
    0

    Default Order total module problem

    Hi everybody,

    I have a big problem an am unable to rectify i. When I click order total in admin under modules I get the the following error

    Fatal error: Call to a member function format() on a non-object in /home/shop/public_html/includes/modules/order_total/ot_gv.php on line 29

    line 29 is

    $this->checkbox = $this->user_prompt . '<input type="text" size="6" onchange="submitFunction()" name="cot_gv" value="' . number_format($_SESSION['cot_gv'], 2) . '" onfocus="if (this.value == \'' . number_format($_SESSION['cot_gv'], 2) . '\') this.value = \'\';" />' . ($this->user_has_gv_account($_SESSION['customer_id']) > 0 ? '<br />' . MODULE_ORDER_TOTAL_GV_USER_BALANCE . $currencies->format($this->user_has_gv_account($_SESSION['customer_id'])) : '');

    I have replaced this file with a clean one but it means this is not the problem file does anyone have an idea as to what may be happening

    Thanks

    Rottie

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Order total module problem

    Try this approach but with your ot_gv.php - might not apply but can search for fatal error
    http://www.zen-cart.com/forum/showth..._group_pricing
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: Order total module problem

    Hi Kobra,
    No this was of no help ans I did find someone who had the same error occure and AJ advised re-uploading the files to

    includes/modules/order_total/ot_gv.php
    includes/languages/english/modules/order-total/ot_gv.php

    which I did nemerious times but to no avail. I did delete the first ot_gv.php file from modules and the other order total files work in admin but the gift vouchers no longer appear. Can anyone please advise as people are unable to use the gift vouchers as they no longer appear on checkout.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Order total module problem

    Replace the files and try switching to the classic template to see if this is a template issue or not.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Order total module problem

    Perhaps you need to explain which version of Zen Cart you're using along with a list of addons you've installed, and what versions you've upgraded your site from/to.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Mar 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: Order total module problem

    Hi DrByte,

    I have so many add-ons installed I would not know where to start but all is OK now obviously the isp I use had some sort of caching and it took a while for the new files to make a difference. That’s my thoughts in any case but all is OK now so AJ’s solution was correct.

    Thanks all

  7. #7
    Join Date
    Dec 2010
    Location
    india
    Posts
    2
    Plugin Contributions
    0

    Default Re: Order total module problem

    Hi everyone

    I am not able to send the values to the paypal .
    I am not able to change the total price value of the product .
    Actually i want to send some other total price (not the actual one). how can i do this....

    urgent

    thanks

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Order total module problem

    Quote Originally Posted by Aseem
    Actually i want to send some other total price (not the actual one). how can i do this...
    You can not
    You will get a cost mis-match if you try as they must match
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Order Total Shipping Module
    By luvstoxstitch in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 6 Jun 2011, 03:35 AM
  2. I want an order-total module to display total w/o tax
    By ivanc in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 31 Oct 2009, 12:11 PM
  3. Problem with Order Total Module
    By tatebn in forum Addon Payment Modules
    Replies: 6
    Last Post: 9 Jun 2009, 07:07 PM
  4. Add obligatory clause to conclude order - Module Total Order
    By zildjian in forum Managing Customers and Orders
    Replies: 2
    Last Post: 7 Jun 2009, 06:41 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