Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Discount price using attributes?

    Hello,

    Right we use salemaker to do blanket discounts on brands, however we're now at a stage where we can't do this for some brands and need to do a speical price dependent on the product within the brand.

    When i've tried special pricing with attributes before it subsequently ignored displaying the rrp price.

    Any ideas why this might have been or do i need to do somthing different under attributes.

    I should also note that attributes confuse me no end, its not as user friendly to me and it just seems like a lot of overly confusing menus/ sub menus.

    Any ideas people?

    regards

    Andy.

  2. #2
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default special price

    Ok update, i've now established i need to use 'specials' this is fine, however unlike salemaker it doesnt display 'rrp' and our price, it just shows the special price.


    Do i have to edit functions/function_prices.php ?


    or is it an option i need to tick in the admin?

    regards

    Andy.

  3. #3
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: Discount price using attributes?

    Ok i've found out what was wrong:

    in functions/function_prices.php

    i went to line 41

    PHP Code:
    // return special price only
        
    if ($specials_price_only==true) {
          if (
    zen_not_null($special_price)) {
            return 
    $special_price;
          } else {
            return 
    false;
          } 
    and changed line 44 to:

    PHP Code:
     $show_display_price '';
        
    $display_normal_price zen_get_products_base_price($products_id);
        
    $display_special_price zen_get_products_special_price($products_idfalse);
        
    $display_sale_price zen_get_products_special_price($products_idtrue); 
    this sorted out the special price issue and didnt knock salemaker so all is good now.

    Andy.

 

 

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. Attributes Controller / Attributes Qty Price Discount
    By rdcast in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 6 Aug 2011, 02:53 AM
  3. discount on attributes by price
    By kacenka in forum Setting Up Categories, Products, Attributes
    Replies: 21
    Last Post: 10 Nov 2009, 07:15 AM

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