Page 67 of 85 FirstFirst ... 1757656667686977 ... LastLast
Results 661 to 670 of 849
  1. #661
    Join Date
    Nov 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Does anyone have this mod working alongside of Products w/ Attributes stock mod? I have tried the mod and not working how I hoped. For example:
    I have a single item Wine Glasses, that have attributes of pink, green, blue,etc. Price is $20 each or 6 for $100. If purchase 6 pink glasses, the mod works ok. If I purchase 2 pink glasses and 4 green glasses, it doesn't give a discount. Thoughts?

  2. #662
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    In the file includes/modules/order_total/ot_quantity_discount.php, around line 191, change

    Code:
    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
    to

    Code:
    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
       $products[$i]['id'] = (int) $products[$i]['id'];
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #663
    Join Date
    Nov 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Quote Originally Posted by swguy View Post
    In the file includes/modules/order_total/ot_quantity_discount.php, around line 191, change

    Code:
    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
    to

    Code:
    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
       $products[$i]['id'] = (int) $products[$i]['id'];
    Excellent! Thank you!

  4. #664
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Does this contribution use the discounts already created with the built-in quantity discount feature in ZC?

    I have more than 1000 products with quantity discounts already, so it'd be a bit of a pain to have to create the quantity discounts again.

    The only functionality I need at this time is the ability to have quantity discounts apply to Sales products, which for some reason the one built-in ZC doesn't work and I can't figure out the code I need to change.

  5. #665
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    This contribution is separate from the native Quantity Discounts. It doesn't modify the price in the cart; it creates a discount on the subtotal, and can be done by by category or total number of items in the cart, sliced and diced in different ways.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #666
    Join Date
    Jan 2012
    Posts
    6
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Is it possible to have this mod work alongside the native Quantity Discounts? I would like to have this:

    Either they can buy 5 items of the same product to get the quantity discount, or 5 different items in the same category to receive a discount. The subtotal will choose the lower value of the two amounts either the native quantity discount, or the quantity discount module, but not both together.

  7. #667
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    It doesn't work that way. This would actually be quite difficult to implement.

    You really have to pick one or the other.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #668
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Would this contribution work with GoogleCheckout?

  9. #669
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,312
    Plugin Contributions
    125

    Default Re: Quantity Discounts for 1.3

    Yes, all my discounts work with Google Checkout.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #670
    Join Date
    Apr 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Quantity Discounts for 1.3

    Hey there

    Great module and very handy for what I am looking to do, however I do have one question which if you could help me with, it would be most appreciated.

    I have the module working just fine, however my problem is around the marketing code to show the discount offer on the product page.

    I have added the code to the tpl_product_info_display.php file and it works perfectly. The issue for me is that I am only offering a discount strategy on products in one category, however the marketing message shows up on each and every product page. If you could assit me in modifying the code so that it will only appear on the relevant pages of product that is being offered a discount, and not appear on any other product pages, I would be most appreciative.

    Thanks so much

    Richard

 

 
Page 67 of 85 FirstFirst ... 1757656667686977 ... LastLast

Similar Threads

  1. v153 quantity discounts for attributes
    By delia in forum General Questions
    Replies: 1
    Last Post: 14 Oct 2014, 02:34 PM
  2. v150 Quantity Discounts for shipping 1.5
    By jpmill in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 7 Apr 2013, 05:28 PM
  3. v150 Quantity Discounts for 1.5?
    By mobishelf in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 21 Feb 2012, 12:40 AM
  4. Hide quantity discounts for general customers, show for groups only?
    By swamyg1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 16 Nov 2009, 09:22 PM
  5. Quantity Discounts for Sets?
    By mwlahn in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 30 Mar 2008, 07:39 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