Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 53
  1. #11
    Join Date
    Apr 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    I found the link and contributed. Thanks again!

    For anyone else reading this thread:
    http://www.zen-cart.com/index.php?ma...es&pages_id=14

    thanks!

  2. #12
    Join Date
    Oct 2008
    Location
    Portland, OR
    Posts
    16
    Plugin Contributions
    0

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    Just in case using this confuses anyone else, the admin interface does NOT change, so it'll still say the free shipping will override the discount, but if you test it it works exactly as it's supposed to...

  3. #13
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    I've installed this but the discount amount is off. It's adding $6 to the discount and I'm not sure why.

    Order Totals are:
    Discount Coupo not_coupon 280
    Group Discount ot_group_pricing 290
    Gift Certificates ot_gv 840
    Low Order Fee ot_loworderfee 400
    Shipping ot_shipping 200
    Sub-Total ot_subtotal 100
    Tax ot_tax 300
    Total ot_total 999

    I'm not sure what to look for as the cause.

    EDIT: The percentage off is the problem. The dollar off works.

  4. #14
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    A little more testing and here's what is seems is happening. I was using a 50% coupon and free shipping. The shipping was $12 but the discount was 50% of the product cost, plus $12, plus $6 more dollars (50% of shipping). It seems to be applying the discount to the shipping AND giving free shipping.

  5. #15
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    Just wanted to say thank you. I installed this and it worked perfectly. I'm not experiencing the problem jk was having.

    One thing I did find.. if you want to remove the Note in the admin page that says Note. This overrides the coupon_amount figure but respects the minimum order value

    It's in file admin/includes/languages/english/coupon_admin.php line 101

  6. #16
    Join Date
    Jul 2009
    Location
    Texas
    Posts
    209
    Plugin Contributions
    2

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    I spoke too soon. I ended up with an error:

    PHP Warning: Missing argument 1 for currencies::get_decimal_places(), called in /var/www/vhosts/buydentalequipment.com/httpdocs/includes/modules/order_total/ot_coupon.php on line 507 and defined in /var/www/vhosts/buydentalequipment.com/httpdocs/includes/classes/currencies.php on line 108

    It would appear as though get_decimal_places requires a parameter which isn't present.

    In ot_coupon.php I found the bug and fixed it.. although I'm fairly sure I did it the wrong way :)

    PHP Code:
        // this line was coded wrong.. hard coded it to two for now until I can figure out what is supposed to be sent in with it.
        //$prec = $currencies->get_decimal_places();
        
    $prec 2

  7. #17
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    Worked with $100 min, free shipping and 15%. Hope this is going into the next version. I was so irritated when I found zencart couldn't do what my customer wanted! Didn't realize she was asking too much at the time so egg got splattered on my face. Thanks for saving my bacon.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  8. #18
    Join Date
    Mar 2006
    Location
    Toronto, Ontario
    Posts
    10
    Plugin Contributions
    0

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    Ajeh,

    I'm sorry for double posting. I previously posted a message regarding this same feature requirement but haven't seen a response as yet ...
    http://www.zen-cart.com/forum/showthread.php?t=188630

    Would it be difficult to modify this contribution to add the ability to create a discount coupon that would give a discount percentage off the retail price instead of the current special or salemaker price?

    If we do an advertisement in a magazine, and get 200 people trying to buy something it would be chaos trying to communicate with each and add them to a group for "group pricing".

    If we have 10% discount on the store product, and the 'coupon' is set to 20% off Retail, then they should get an additional 10% off. But if we go crazy and offer a Cyber Monday Special of 25% off, then the coupon should be ignored on that day, and they would get the current sale price of 25% off.

    If an additional checkbox was added after Coupon Amount, that said "Discount off Retail Price" then an additional coupon_type could possibly be added to handle this situation?

    Any thoughts would be greatly appreciated. I'm prepared to pay money to get this done. If you don't think this contribution is a good place to start, if you can point me in a different direction I would appreciate it.

    We have Zen-Cart 1.3.9h.

  9. #19
    Join Date
    Jun 2005
    Location
    Portland, OR
    Posts
    189
    Plugin Contributions
    0

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    is there an update on whether or not this is a fix? i like this addition and will use it frequently (and thought I was before;))

    thanks!

    Quote Originally Posted by llynix View Post
    I spoke too soon. I ended up with an error:

    PHP Warning: Missing argument 1 for currencies::get_decimal_places(), called in /var/www/vhosts/buydentalequipment.com/httpdocs/includes/modules/order_total/ot_coupon.php on line 507 and defined in /var/www/vhosts/buydentalequipment.com/httpdocs/includes/classes/currencies.php on line 108

    It would appear as though get_decimal_places requires a parameter which isn't present.

    In ot_coupon.php I found the bug and fixed it.. although I'm fairly sure I did it the wrong way :)

    PHP Code:
        // this line was coded wrong.. hard coded it to two for now until I can figure out what is supposed to be sent in with it.
        //$prec = $currencies->get_decimal_places();
        
    $prec 2

  10. #20
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: NEW! -- Free-Shipping-and-Amount or Free-Shipping-and-Percentage (for v1.3.9h)

    I imagine many figured this out on your own. But just for informational purposes, if you edit /includes/languages/english/coupon_admin.php you can remove the warning 'This overrides the coupon_amount figure' statement. Could be useful to avoid confusion when there's more that one person working on the store.

 

 
Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. v154 coupon percentage off, free shipping and taxes
    By balihr in forum Bug Reports
    Replies: 7
    Last Post: 28 Jul 2015, 07:25 PM
  2. v139h Free shipping to just 1 country using free shipper and Yes, Always Free Shipping
    By boomy in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 20 Oct 2014, 01:43 AM
  3. v151 Free shipping or a percentage off if order is over a certain amount
    By attroll in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 10 Apr 2014, 12:23 AM
  4. How to configure free shipping for amount >= $50 AND weight =< 20lbs ?
    By tj1 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 29 Jul 2010, 06:24 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