Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 41
  1. #11
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Assign maximum order weight for UPS

    Brava! Your insertion at 90 worked like a charm, Linda. And for the record, I went with
    PHP Code:
    if (IS_ADMIN_FLAG == false && $_SESSION['cart']->weight 800$this->enabled false
    Time for me to drop a few dollars in the donation box!

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

    Default Re: Assign maximum order weight for UPS

    It is important for safety to use the triple equal sign ...

    Thanks! appreciate the support!
    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!

  3. #13
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Assign maximum order weight for UPS

    Thanks for clarifying that, Linda. I changed the == back to your original === and added the triple-equals to my "how do comparison operators work" list.

    G'nite!
    Quote Originally Posted by Ajeh View Post
    It is important for safety to use the triple equal sign ...

    Thanks! appreciate the support!

  4. #14
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Discount coupon misuse deducts UPS

    With a slightly-modified ups.php (disabled when order >=800 lbs) and a cloned freeoptions module ("flatoptions" -- flat rate conditioned on order >=800 lbs and shipping address in contiguous U.S.), I am experiencing a checkout glitch where a customer can apply a coupon and have the cost of UPS shipping deducted unintentionally. Don't worry -- I'm convinced this is unique to my Zen-Cart, and I just need to track down my own mistake; this is not something you'll find in standard Zen-Cart 1.3.7 installations.

    The explanation is tedious, so please bear with me.

    A customer has a coupon code -- if you want to test it, try coupon code ZCZCZC. (I created this coupon code for community testing; it's only $5 off, but it illustrates my problem to anyone who feels like testing it.) Customer puts an allowed-for-coupon product (e.g. shed kit) in the cart and goes to checkout. Customer selects shipping method, e.g. free options AKA pickup at terminal. Customer enters redemption code when prompted, and the success text is displayed. Customer continues shopping and adds product that is denied-for-coupon to cart. Customer then removes allowed-for-coupon product from cart, leaving product that is denied-for-coupon. Customer goes back to checkout and selects new shipping method (e.g. UPS). Are you still with me?

    The resulting order total credits the customer on the coupon redemption in the exact amount of the UPS shipping, up to the face value of the coupon, making UPS shipping unintentionally free whenever the coupon's face value >= the shipping fee.

    I tried switching to the Classic template to see if the problem is template-related, but I get
    Fatal error: Call to a member function on a non-object in ... /shedkitstore.com/includes/classes/category_tree.php on line 135
    when trying to checkout -- perhaps an overridden file or two eliminating the Classic option.

    Something tells me I'll be working on this one all weekend ...

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

    Default Re: Assign maximum order weight for UPS

    Definitely bad, missing, out of date or corrupt files on the server ...

    Beyond Compare from scootersoftware.com is your friend ...

    You can use this to do nice FTP compares of files and directories or things like the default files and templates to your template and overrides etc. to see where things are out of date ...
    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. #16
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Assign maximum order weight for UPS

    I have had Dreamweaver botch the synchronization of remote and local files too often. I'll try Beyond Compare and let you know what happens.

    Thanks for the suggestion.
    Quote Originally Posted by Ajeh View Post
    Definitely bad, missing, out of date or corrupt files on the server ...

    Beyond Compare from scootersoftware.com is your friend ...

    You can use this to do nice FTP compares of files and directories or things like the default files and templates to your template and overrides etc. to see where things are out of date ...

  7. #17
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Assign maximum order weight for UPS

    After 10 hours conforming my files to Zen-Cart 1.3.7 core, I know now that I have no missing or corrupted files. But I don't know why a non-allowed discount coupon remains in force after the coupon-allowed product is removed from the cart.

    I'm back to wondering whether any of my shipping module customizations would influence the discount coupon behavior in the order total ...

    Is that possible?

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

    Default Re: Assign maximum order weight for UPS

    What are your restrictions settings?

    Do you have Category Top deny turned on?

    This forces a proper test on other Categories and Products when there are limitations ...
    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!

  9. #19
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Assign maximum order weight for UPS

    I didn't have Category Top deny at first, so I tried just now -- no change.

    Original restrictions are Category 20 allow and Category 74 allow. That's it.

    FYI, I tested this with identical restrictions on another 1.3.7 site (standard shipping modules) and it worked properly -- that is, discount coupon redemption went away when allowed category product was removed from the cart.
    Quote Originally Posted by Ajeh View Post
    What are your restrictions settings?

    Do you have Category Top deny turned on?

    This forces a proper test on other Categories and Products when there are limitations ...

  10. #20
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Assign maximum order weight for UPS

    Beyond Compare rocks, by the way. Does the job of two aps, and twice as well.

 

 
Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. v151 Tare Weight / Maximum Package Weight Functionality Change Help
    By jbible in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 17 Jan 2013, 07:17 PM
  2. Maximum weight for flat rate
    By mahlerosa in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 25 Jan 2012, 07:41 AM
  3. Maximum Package Weight You Will Ship - Maximum?
    By WellCool in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 Nov 2010, 04:00 PM
  4. Item weight is more than maximum supported weight error
    By jumphotink in forum Addon Payment Modules
    Replies: 0
    Last Post: 18 Mar 2009, 04:15 PM
  5. Block order when maximum weight is reached
    By bazfr in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 2 Nov 2008, 08:22 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