Page 3 of 10 FirstFirst 12345 ... LastLast
Results 21 to 30 of 96
  1. #21
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    nope still not working correct, the fix above fixed the problem with displaying the shopping cart but when you go to check out i get the following error

    Fatal error: Cannot redeclare class order in /home/public_html/store/includes/classes/order.php on line 987

    if i turn the sidebox shipping off, then the problem goes!!!

  2. #22
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Shipping Rates in Cart [support thread]

    Yes I can replicate this (although with less obvious symptoms). I don't have a fix for it as of yet. I'll see if I can figure it out but what I may end up doing is, in the next version, disabling the sidebox from the shopping cart page onwards.

  3. #23
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    ive just installed the mod on a new fresh install of 1.3.8a and for somereason its displaying the shipping cost without VAT

    if i log in as a UK customer it shows the VAT on the mod but not when not loged in.

    im using the flat rate shipping modual.

    any ideas why its not added the VAT when not logged in?? products are showing inc vat

  4. #24
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    kitcorsa.. how did you get the VAT to display on this module? I'm having trouble finding out how to do this.

  5. #25
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    eerrrmmm i cant remember but i think it was a localisation problem and vat settings not correct, not a problem with the contribution.

  6. #26
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    Quote Originally Posted by kitcorsa View Post
    eerrrmmm i cant remember but i think it was a localisation problem and vat settings not correct, not a problem with the contribution.
    Ah, ok.

    It's just that I'm trying to get the total displayed with VAT added in on this module. I just can't work out how it's done!


    Thanks for your help anyway

  7. #27
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Shipping Rates in Cart [support thread]

    I haven't tested this yet and it may not work for downloadable or virtual products.

    In includes/templates/your_template/templates/tpl_shopping_cart_default.php

    Find:
    PHP Code:
    $sric_total $cartSricTotal $sric_shipping_simple
    Directly below it, add these two lines:
    PHP Code:
    $vat = ($sric_total 100) * 15;
    $sric_total $sric_total $vat

  8. #28
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    Quote Originally Posted by Steven300 View Post
    I haven't tested this yet and it may not work for downloadable or virtual products.

    In includes/templates/your_template/templates/tpl_shopping_cart_default.php

    Find:
    PHP Code:
    $sric_total $cartSricTotal $sric_shipping_simple
    Directly below it, add these two lines:
    PHP Code:
    $vat = ($sric_total 100) * 15;
    $sric_total $sric_total $vat
    Hey steven, thanks for the reply.

    I was considering heading that direction (manually working out the VAT deduction) but it causes some issues.

    If I implement that code, the total displayed on the mod differs from the total displayed in the cart, by a penny.

    For example, the order I'm testing right now, the mod displays it like - Total: £35.08, but the Zen shopping cart displays it like Total: £35.07

    I'm guessing ZC uses a different method of rounding up the sum.

    Thanks though!

  9. #29
    Join Date
    Sep 2007
    Location
    Manchester, England
    Posts
    168
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    RIGHT, I've sorted it.

    It turns out that PHP5 (which we run locally) rounds up numbers slightly different to PHP4 (which we run on our shared servers).

    So essentially, your way worked fine, but only in PHP4. In PHP5, it misses a penny out.

    Thanks for your help, this has been an immensely helpful module

  10. #30
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: Shipping Rates in Cart [support thread]

    nice little mode, pretty easay to install however I am getting the following error at the bottom of the cart page (using 1.3.8a zen)

    Fatal error: Cannot redeclare class shipping in /store/includes/classes/shipping.php on line 178

    any thoughts on fixing this?

    thanks

    john

 

 
Page 3 of 10 FirstFirst 12345 ... LastLast

Similar Threads

  1. Add Shipping Telephone Support Thread
    By JTheed in forum Addon Admin Tools
    Replies: 31
    Last Post: 4 Sep 2018, 11:14 AM
  2. Multiple Zone Rates Support Thread
    By totalsam in forum Addon Shipping Modules
    Replies: 54
    Last Post: 24 Feb 2015, 03:34 PM
  3. Replies: 29
    Last Post: 24 Sep 2014, 09:59 PM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 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