Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Pricing by attributes not working as expected

    I've got a Size option, size values 100, 200, 300, and added prices of $0, $1 and $2 respectively.

    The product is set to Price by Attributes on the product setup page, and each option value is set to Include in Base Price When Priced by Attributes=yes in the attribute flags.

    Now, on the customer product info page, the heading says "Starting at..." as it should, but the Size option dropdown is displaying:

    100
    200 +$1
    300 +$2

    instead of (base product price is $10):

    100 $10
    200 $11
    300 $12

    I assume there's a switch I've missed somewhere.

    Any suggestions? Thanks.

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

    Default Re: Pricing by attributes not working as expected

    Priced by Attribute means that the Product Price is made from the Attributes as there isn't a Product Price ...

    You are using a Product Price plus an additional charge on the Attributes ...

    This means, your Products should NOT be marked as Priced by Attribute as there is a Product Price with or without the attributes ...
    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!

  3. #3
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    Hmm, I understand that logic, but that's not what the official Zen Cart book says, unless I'm misreading it. It seems to say that the "Price by Attributes" option only affects the way that the prices are displayed to the customer.

    See the attachment.

    The example clearly shows that if you have a product price (the base price?) and then set price increments for options above that, that the starting price = the product price and the options list will show the attribute increments as starting price + increment. This obviously requires inputing a price into the product info section.
    Attached Images Attached Images  

  4. #4
    Join Date
    Mar 2008
    Location
    Brussels, Belgium
    Posts
    69
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    Hi Nuwanda.

    I encountered the same problem as yours.
    I found a workaround but do not know if it is correct.
    As you do, I specify 'Product is Priced by Attributes' in the Product Info page, but there I do not specify a price for the product .
    When using the Attributes Controller, I do not specify prices increment ($0, $10, $20) but 'absolute prices' ($100, $110, $120).

    Then your product will display 'Starting at 100$' but unfortunately, in the dropdown menu, the prices will appear as +$100, +$110, +$120 (when you expect $100, $110, $120) , unless you suppress the + sign (replacing it by a blank) in the Attributes Controller.

    Rather cumbersome but this is all I could find.

  5. #5
    Join Date
    May 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    Unfortunately that work-around does not allow you to use a base price.

    I too am trying to use attributes for the sizes of my prints and the customer does not want to see '+40' - they want to see the price.

    Let's say I have prints

    A with a base price of $20

    &

    B with a base price of $30

    8x10 adds $10
    16x20 adds $40
    & so on

    This works having the (+$XX) on every attribute, but not with absolute attribute values. Not acceptable.

    In fact setting the 'Product Priced by Attributes:' flag appears to have absolutely no effect for me

    So does ZenCart require you to create duplicate sets of attributes of the exact same value for this?

    It appears the Official Documentation is totally wrong as the original posted stated.

    btw, see other carts update the price when selecting options - that would be ok, but Zen Cart doesn't seem to do this either.

  6. #6
    Join Date
    May 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    Even using the "( +$XX.xx )" method with a base it's confusing for the client:
    base = $10


    Zencart:
    Starting at $20

    option 1 ( +$10.00 )
    ....


    they may think its $30 when when its really $10+$10 = $20

  7. #7
    Join Date
    Mar 2008
    Location
    Brussels, Belgium
    Posts
    69
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    Hi Artmarket.

    perhaps I was not clear enough in the description of the way I solved this issue.

    In the Product Info Page, I specify 'Product Priced by Attributes'=YES, and a 'Price' = 0.

    Then with the Attributes Controller, I specify the prices related to the different sizes. As I have specified a base price of 0, the prices added through attributes then become absolute prices.

    The only problem that remains is that all these prices are prefixed by a '+' sign, which is confusing for the customer, as you mentioned. However, this '+' sign can be suppressed if you replace the '+' sign by a blank in the 'Prices and Weights' windows that opens each time you edit an attribute.

    It should work for you, since it works for me (I am using Zencart 1.3.7.1).

    I hope this helps.

  8. #8
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    Thanks, Tryphon, it's all fallen into place for me now.

    So, for anyone who had the same initial problem I did about pricing different products with different prices even though the same sizes were being used, well, it actually isn't a problem at all.

    Just set up a global option name and value, like:

    • Option name: Size
    • Option values: 100ml, 200ml, etc.


    Then follow Tryphon's instructions above, that is:

    • In the product info page, set the price at $0, and select Price By Attributes
    • In the Attributes Controller page select the product (make sure you click on it and hit Display)
    • Select the option name and option value, eg: Size - 100ml
    • Remove the + sign from the price box
    • Input the price for that particular size


    Done!

    Just do that with all your products and it works perfectly.

  9. #9
    Join Date
    May 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    thanks, there still is no 'base price' - if you change your base price using this method, you have to go in and change every option value for every product (instead of just changing the base price).

    The way it works for me is when you remove the '+' the value becomes 'absolute' instead of 'relative'. Ive got it working, but not as flexible as could be and definately not how documented ;)

  10. #10
    Join Date
    Apr 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Pricing by attributes not working as expected

    Quote Originally Posted by artmarket View Post
    The way it works for me is when you remove the '+' the value becomes 'absolute' instead of 'relative'. Ive got it working, but not as flexible as could be and definately not how documented ;)
    True. I hope someone from the developer team is reading this, or can correct us if we're wrong.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 discount coupons not working as expected...
    By kitcorsa in forum General Questions
    Replies: 3
    Last Post: 3 Apr 2015, 05:29 PM
  2. v151 Images not working as expected
    By Bikerstuff in forum General Questions
    Replies: 14
    Last Post: 2 May 2014, 04:14 PM
  3. v139h Advanced Search NOT working as I expected
    By ADVANTAGEVITAMIN in forum General Questions
    Replies: 3
    Last Post: 19 May 2012, 04:28 AM
  4. Maximum Quantity Edit Not Working as Expected
    By pinkchalkstudio in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 16 Jan 2012, 04:53 AM
  5. VAT System not working as expected
    By [email protected] in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 23 Nov 2006, 10:45 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