Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default [Fixed v1.5.1] can I have more than one onetime fee on a product?

    I tested the scenario on a test cart and it does work so there is some setting in the cart I'm working on that is preventing the one time fee from being included in the cart subtotal. It is listed up in the unit and totals but is not added to the subtotal. It does show up during checkout and is charged properly. What could be preventing from it being included in the shopping cart subtotal?
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #2
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default can I have more than one onetime fee on a product?

    Well, the answer is actually yes. But the reason why I'm posting this is that a previous post got no attention to the problem created by having 2 onetime fees.

    The only problem is that though both fees are shown in the shopping cart up underneath the product costs, only one of the one-time fees shows up in the subtotal. Later in checkout, both fees do show up and get charged.

    So do you suppose this is a bug?
    The full-time Zen Cart Guru. WizTech4ZC.com

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: can I have more than one onetime fee on a product?

    Quote Originally Posted by delia View Post
    Well, the answer is actually yes. But the reason why I'm posting this is that a previous post got no attention to the problem created by having 2 onetime fees.

    The only problem is that though both fees are shown in the shopping cart up underneath the product costs, only one of the one-time fees shows up in the subtotal. Later in checkout, both fees do show up and get charged.

    So do you suppose this is a bug?
    See if this works for you ...

    Edit the file:
    /includes/classes/shopping_cart.php

    and around line 778 change the = to a += for:
    Code:
                // attributes_price_onetime
                if ($attribute_price->fields['attributes_price_onetime'] > 0) {
                  $totalOnetimeCharge += $attribute_price->fields['attributes_price_onetime'];
                }
    Be sure to test this well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,289
    Plugin Contributions
    22

    Default Re: can I have more than one onetime fee on a product?

    First look seems to work well. We'll keep playing with it and make sure. Thanks!
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: can I have more than one onetime fee on a product?

    Thanks for the update that this is working for you ... let us know if you run into further issues ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: can I have more than one onetime fee on a product?

    Fix included in v1.5.1
    .

    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.

 

 

Similar Threads

  1. Can a product have more than one name?
    By labradors in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 5 Feb 2010, 12:09 AM
  2. Can I have more than one download folder
    By travel124 in forum General Questions
    Replies: 4
    Last Post: 11 Aug 2008, 05:22 AM
  3. Replies: 13
    Last Post: 28 Mar 2008, 11:30 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