Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,671
    Plugin Contributions
    123

    Default Sale does not apply to attributes with Specials Condition: Ignore Specials Price

    When creating a sale, using "Specials Condition: Ignore Specials Price - Apply to Product Price and Replace Special", on a product priced by attributes, it seems like the sale is not applied to the attributes.

    Using "Specials Condition: Apply SaleDeduction to Specials Price - Otherwise Apply to Price" *does* correctly apply the sale to attributes. (Of course, this may not be the desired behavior if there are specials on the products going on sale, since now the products will be double discounted.)

    Possible fix: (lines are v 1.5.0; file is includes/functions/functions_prices.php)

    line 503 - add $discount_type_id 5 to the list being checked

    if (($discount_type_id == 120 or $discount_type_id == 1209) or ($discount_type_id == 110 or $discount_type_id == 1109 or $discount_type_id == 5)) {

    line 538 - use multiplicand of $sale_maker_discount, not $special_price_discount

    $calc = ($attributes_amount * $sale_maker_discount);

    Thoughts?
    Last edited by swguy; 22 Nov 2012 at 12:09 PM.
    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.

  2. #2
    Join Date
    Sep 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Sale does not apply to attributes with Specials Condition: Ignore Specials Price

    Hi did this work?

    I need attributes to apply salesmaker special to it, but not replace the other specials.

    This is really driving me nuts as no where can I see an answear and this has been the only thing to come close. and I am not confident in changing files alone


    Thanks
    John

 

 

Similar Threads

  1. New products ignore specials
    By drift83 in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 5 Dec 2010, 07:54 PM
  2. How to make sales/specials not apply to customers who receive group discounts?
    By lauriek in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 16 Sep 2009, 08:29 AM
  3. How to ignore sale price and apply group Discount to original product price?
    By cushietushies in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 25 Jul 2008, 05:51 AM
  4. Salemaker & Specials not working with Price Updater
    By Dasha in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 10 Jun 2008, 08:23 PM
  5. Include specials end date to under specials price?
    By this side up in forum Setting Up Specials and SaleMaker
    Replies: 7
    Last Post: 13 Jun 2007, 04:47 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