Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Using Products Price Manager & Discount Pricing Group Together

    A number of my categories use the Products Price Manager to define multiple-tier quantity discounts. If I create a coupon or offer the customer-specific Discount Pricing Group, the discounts are combined at checkout, when what I want is to ignore the Products Price Manager quantity discounts, replacing it with the coupon or Discount Pricing Group discount.

    Is this possible?

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    Nothing is built-in to do this; you'd have to change the code. And it would be a bit of a shock, since coupons aren't entered until page 2, so you could have (say) a subtotal of $100 going onto the payment page, enter a coupon, and wind up on the checkout confirmation page with a total of (say) $120 if you were to do this (since the products price manager changes the price of the product in the cart).
    That Software Guy. My Store: Zen Cart Modifications
    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. #3
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    Quote Originally Posted by swguy View Post
    Nothing is built-in to do this; you'd have to change the code. And it would be a bit of a shock, since coupons aren't entered until page 2, so you could have (say) a subtotal of $100 going onto the payment page, enter a coupon, and wind up on the checkout confirmation page with a total of (say) $120 if you were to do this (since the products price manager changes the price of the product in the cart).
    Thanks Scott - Do you have any modules that do what I need?

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    You could use Quantity Discounts from the Plugins Area instead of Products Price Manager, but you'd still need to add code to turn them off if a coupon is used or Group Pricing is used. Also, if you upgrade from 1.3.8 (you really should) you'll get all the fixes to make coupon restrictions work so that you can disallow using coupons on things with quantity discounts.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  5. #5
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    Hi Scott - I've begun the process of upgrading to 1.5.1. You said:
    you'll get all the fixes to make coupon restrictions work so that you can disallow using coupons on things with quantity discounts.
    Did you mean that by using your Quantity Discounts add-on I could make coupon restrictions to disallow pre-set quantity discounts? Or that I could do so with Zen's Products Price Manager? Could you expound on how I would go about this?

    Thanks for you help.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    This wasn't very clear. You'll have to pick and choose the items that are currently quantity discounted (using the Products Price Manager) and add those in as restrictions that the coupon cannot be used against. There's no mechanism to say, "Don't apply the coupon to anything with a quantity discount" without actually changing code to work this way.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  7. #7
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    If using your Quantity Discounts add-on (foregoing the Products Price Manager completely), is it possible to create coupon restrictions to disallow pre-set quantity discounts?

    If not, how does one restrict existing Products Price Manager discounts so that the coupon cannot be used against these products?.

    Thanks again
    Last edited by MeltDown; 4 Apr 2013 at 02:23 PM.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    Question 1: No.

    Question 2: Like I said, you'd have to customize code. Nothing is built in to any of this.
    That Software Guy. My Store: Zen Cart Modifications
    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.

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

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    To Restrict ALL Products that are using Discount Quantities from a Discount Coupon, you could to the EXPORT/IMPORT game with phpMyAdmin ...

    You need to read through this a few times and test the results ...

    First ... Backup database before doing this, as you can really make a mess when you least expect it ...


    Make Discount Coupon and get coupon_id, EXAMPLE: coupon_id 7

    In phpMyAdmin, get all products_id that have products_discount_quantity:
    Code:
    SELECT distinct products_id, 7 AS coupon_id, 0 AS category_id, 'Y' AS coupon_restrict FROM products_discount_quantity
    Export DATA ONLY to a SQL

    Check new SQL that you exported for all fieldnames and data ...

    Example to restrict all products with discount quantities initially should look like something like this:

    Code:
    INSERT INTO products_discount_quantity (products_id, coupon_id, category_id, coupon_restrict) VALUES
    (8, 7, 0, 'Y'),
    (127, 7, 0, 'Y'),
    (130, 7, 0, 'Y'),
    (175, 7, 0, 'Y'),
    (176, 7, 0, 'Y'),
    (177, 7, 0, 'Y'),
    (178, 7, 0, 'Y'),
    (205, 7, 0, 'Y');
    Edit exported SQL and change table name from:
    products_discount_quantity

    to read:
    coupon_restrict

    Change field name:
    products_id

    to be:
    product_id

    SQL should now look something like this:

    Code:
    INSERT INTO coupon_restrict (products_id, coupon_id, category_id, coupon_restrict) VALUES
    (8, 7, 0, 'Y'),
    (127, 7, 0, 'Y'),
    (130, 7, 0, 'Y'),
    (175, 7, 0, 'Y'),
    (176, 7, 0, 'Y'),
    (177, 7, 0, 'Y'),
    (178, 7, 0, 'Y'),
    (205, 7, 0, 'Y');
    IMPORT from SQL and check the Coupon Restrictions on this Discount Coupon to ensure all are correct ...

    Fun, eh?
    Last edited by Ajeh; 5 Apr 2013 at 04:29 AM.
    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!

  10. #10
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Using Products Price Manager & Discount Pricing Group Together

    Thanks, Ajeh, it looks interesting - I'll give it a whirl :)

    To be honest, I'm surprised that more people haven't had "quantity discounts / coupon" issues, thus generating add-ons to deal with it. I'm wondering if I'm missing something, and that there is a better way to offer quantity discounts without negatively affecting one's coupon marketing program.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 On Product Display Page add text before Price when using Qty Discount & change Price
    By rufusclc in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Jun 2013, 08:04 PM
  2. v151 Group Pricing by Item shows in Products, but not on site or in Price Manager
    By chrysalid in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Apr 2013, 08:30 PM
  3. v151 Show discounted group price together with retail price
    By havneras in forum General Questions
    Replies: 1
    Last Post: 24 Sep 2012, 12:56 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