Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Attribute pricing problem

    I cannot see the dropdown via an image ...
    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!]
    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!

  2. #22
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Re: Attribute pricing problem

    Quote Originally Posted by Ajeh View Post
    I cannot see the dropdown via an image ...
    Huh? Maybe you over looked the link at the bottom of my post?

    http://tinyurl.com/yf5zhwh


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

    Default Re: Attribute pricing problem

    work with me here ...

    you said look at the dropdown ... what am I suppose to be looking at it is an image with a picture of a dropdown in it ...

    What is the Price of the Product ... and then, EDIT the Attribute that does not work and let me see the data as you have it on the screen when editing ...

    I cannot "see" what an image of your dropdown is doing nor guess at the data ...

    It sounds like you are trying to use a percentage as a value in an attribute ... and I am not understanding how you are adding a percentage into numeric fields that do not use percentages ...
    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!]
    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!

  4. #24
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Re: Attribute pricing problem

    lol, ok, you're confusing me now..

    For each product, I have 2 attributes.

    1 is a flat dollar amount - $350 for example

    The second attribute uses price_factor - 0.2 and 0.4

    So if the price of the product is $1,000, there would be two options in the attribute drop down selection on the detail page, one for $200 and one for $400, along with the $350 flat charge

    If you click on the link and look at my product detail page, you'll see the attributes at the bottom, one labeled "Warranty Options" is the one you want to look at

    The dollar amounts in that drop down are not 0.2 and 0.4 of the special price

    But if you add the item to your cart, and select one of those options, it calculates exactly 0.2 or 0.4

    http://tinyurl.com/yky4u89

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

    Default Re: Attribute pricing problem

    That is what I was trying to pull from you ...

    If I do not know the exact information you have used on the Attributes there is no way I can test your problem as I cannot "see" the problem with an image ...

    Let me attempt to setup a Product like this and see if I can produce a problem ...
    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!]
    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!

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

    Default Re: Attribute pricing problem

    What do you think a Product price of $1000.00 with an Attribute with a Price Factor: .2
    Offset: .4

    should calculate to be?

    I am getting $1000 for the Product and -$200 for the attribute ...

    The only issue I see is that you may have left the prefix at + where the prefix should set to a minus ( - ) to reflect that you have setup a negative Price Factor on the Attribute ...

    If you mean to Add $200 ... then you have this setup backwards ...

    If you mean another value, then you need to explain it more ...
    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!]
    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!

  7. #27
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Re: Attribute pricing problem

    I sell engines

    $1,000 Engine
    $350 core charge (attribute)

    Warranty options (attributes)
    - Gold (+$200) ---- this is set as 0.2 price factor (attributes_price_factor)
    - Platinum (+$400) ---- this is set as 0.4 price factor (attributes_price_factor)

    core charge attribute is required, warranty is optional

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

    Default Re: Attribute pricing problem

    Are you using the Price Factor for this because the price changes a lot? Or for another reason?

    There is something moofy on the Price Factor and Specials but I need to know your ultimate goal here ... and then compare that to the fixes already posted and if something else is missed ...

    But I am wearing out here ...
    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!]
    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!

  9. #29
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Re: Attribute pricing problem

    Quote Originally Posted by Ajeh View Post
    Are you using the Price Factor for this because the price changes a lot? Or for another reason?

    There is something moofy on the Price Factor and Specials but I need to know your ultimate goal here ... and then compare that to the fixes already posted and if something else is missed ...

    But I am wearing out here ...
    Yes, I use price factor because the price of the engines is different, and the cost of the warranty will always be 20% (0.2) or 40% (0.4) of the engine cost

  10. #30
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Re: Attribute pricing problem

    I have found that this piece of code controls the display of that dollar amount.. The error could be here. All I need it to do is display the correct dollar amounts in the attribute drop down, because when you do add it to the cart, it calculates the price correctly anyways, so all this is about is showing the correct amount to the user

    PHP Code:
                        // collect price information if it exists
                        
    if ($products_options->fields['attributes_discounted'] == && $products_options->fields['options_values_price'] == '0.0000') {
                          
    // apply product discount to attributes if discount is on
                          //              $new_attributes_price = $products_options->fields['options_values_price'];
                          
    $new_attributes_price zen_get_attributes_price_final($products_options->fields["products_attributes_id"], 1'''false');
                          
    $new_attributes_price zen_get_discount_calc((int)$_GET['products_id'], true$new_attributes_price);
                        } else {
                          
    // discount is off do not apply
                          
    $new_attributes_price $products_options->fields['options_values_price'];
                        } 

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Attribute pricing problem
    By macpuppy in forum General Questions
    Replies: 2
    Last Post: 30 Jan 2011, 09:23 PM
  2. Attribute Pricing Problem
    By jvalent in forum General Questions
    Replies: 7
    Last Post: 22 Jan 2010, 11:59 PM
  3. Attribute Pricing Problem
    By GoldBuckle in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 28 Mar 2009, 06:41 PM
  4. Problem with attribute pricing when product on special
    By ekles in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2008, 11:33 AM
  5. Attribute pricing problem
    By leonardawilson in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Jul 2007, 11:49 PM

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