Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default [Done 1.3.5] No Tax Basis calc using Zones shipping module

    Looking at includes/modules/shipping/zones.php...Line 112->
    Code:
    function zones() {
          $this->code = 'zones';
          $this->title = MODULE_SHIPPING_ZONES_TEXT_TITLE;
          $this->description = MODULE_SHIPPING_ZONES_TEXT_DESCRIPTION;
          $this->sort_order = MODULE_SHIPPING_ZONES_SORT_ORDER;
          $this->icon = '';
          $this->tax_class = MODULE_SHIPPING_ZONES_TAX_CLASS;
          $this->tax_class = MODULE_SHIPPING_ZONES_TAX_CLASS;
    Is that correct that the last 2 lines are identical?
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Not sure about this - just looks odd

    Good catch.

    Should be:
    PHP Code:
          $this->tax_class MODULE_SHIPPING_ZONES_TAX_CLASS;
          
    $this->tax_basis MODULE_SHIPPING_ZONES_TAX_BASIS
    .

    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.

  3. #3
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: [Done] No Tax Basis calc using Zones shipping module

    This is not exclusive to 1.3 by the way - that exists at least as far back as 1.2.6
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 

Similar Threads

  1. Replies: 13
    Last Post: 12 Apr 2011, 11:11 PM
  2. Replies: 16
    Last Post: 8 Jul 2010, 08:51 PM
  3. Replies: 26
    Last Post: 19 Mar 2010, 04:45 PM
  4. error on using shipping methhod: to be calc'd later
    By quentinjs in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 28 Mar 2009, 04:43 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