Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Location
    Whitstable - UK
    Posts
    48
    Plugin Contributions
    0

    Default Cart Price doubles on Checkout

    Hi just doing final testing on new site using Zen-Cart v1.3.9f.

    Evertthing goes fine until I get to checkout, when the orice of the cart contents double!

    The VAT calculates ok on the doubled price and shipping cost ok.

    Any help would be appreciated.

    Thank you

    The site is at http://weldingandfixingsupplies.com/index.php (site sits behind html holding page)

    WDK Studio

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

    Default Re: Cart Price doubles on Checkout

    Quote Originally Posted by wdkstudio View Post
    Evertthing goes fine until I get to checkout, when the orice of the cart contents double!
    How strange. Sorry, I've no idea what could possibly cause this, but I'd be taking a look at your /modules/order_totals as a first step to see if there is anything 'obvious' amiss there.. After that, well, I wouldn't have a clue.... A real mystery :)

    Cheers
    Rod

  3. #3
    Join Date
    Jan 2007
    Location
    Whitstable - UK
    Posts
    48
    Plugin Contributions
    0

    Default Re: Cart Price doubles on Checkout

    Hi Rod

    thanks for the suggestion - unfortunately having done a file comparison with the original instal files couldn't find any errors.

    Is there anywhere else where this calculation's perfomed?

    Thanks for your help anyway

    Cheers

    WDK Studio

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

    Default Re: Cart Price doubles on Checkout

    Quote Originally Posted by wdkstudio View Post
    Hi Rod

    thanks for the suggestion - unfortunately having done a file comparison with the original instal files couldn't find any errors.
    The thing here is, you probably aren't actually looking for an 'error' as such. You will probably/possibly be looking for additional files or something similar, so comparing file contents won't reveal anything amiss. Try comparing directory contents... ... I'm REALLY clutching at straws here though

    Quote Originally Posted by wdkstudio View Post
    Is there anywhere else where this calculation's perfomed?
    Not that I'm aware of.. This isn't an area of my expertise - I do know that if you/we can attact DrB's or Ajeh's attention on this one they may have better ideas ...

    This *isn't* one of the 'normal' problems that people experience, and it was different enough to attract my interest, so hopefully it'll pique their curiousity too.

    Cheers
    Rod

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

    Default Re: Cart Price doubles on Checkout

    Without studying the problem with any real details, my gut hunch is that you've got duplicates of some files (or segments of code) on your server for some reason. A common bad practice that people use is to rename files "for backup purposes" but erroneously keep the ".php" extension on the filename. ie: name a file "header_php-old.php" instead of just calling it "header_php.old". If there are multiple .php files of similar names in various folders, ALL those files will often be loaded ... causing duplication of certain functionality.

    So, redo your comparison, and remove any "extra" files which shouldn't be present on the server.
    .

    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
    Jan 2007
    Location
    Whitstable - UK
    Posts
    48
    Plugin Contributions
    0

    Default Re: Cart Price doubles on Checkout

    Thanks Rod & Dr Byte

    finally resolved the problem. I had installed a beta version of a VAT module (that I've used before). This involved adding some sections to the classes/order.php file. I had added in a section but failed to comment out the section it replaced, thereby duplicating it.

    Hence the problem.

    I really appreciate your time and help

    Cheers

    WDK Studio

 

 

Similar Threads

  1. v155 add to cart - doubles! (SBA issue)
    By spid3r1987 in forum General Questions
    Replies: 23
    Last Post: 28 Jun 2016, 09:30 PM
  2. product attribute doubles the price
    By greenenergies in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Nov 2011, 02:16 PM
  3. Add to cart doubles the listed price.
    By nhk49 in forum General Questions
    Replies: 2
    Last Post: 8 Apr 2011, 04:20 PM
  4. Gross Price Error in Admin (VAT doubles up)
    By enigma666666 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 1 Jun 2010, 08:22 PM
  5. "Starting At" price is empty OR price doubles when add to cart
    By infocom in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 22 Mar 2008, 10:40 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