Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2010
    Posts
    16
    Plugin Contributions
    0

    Default Need attribute price to display total price not incremental price

    I’m hoping someone can help me with this? I need the price next to the attribute to show the total price and not the incremental price.

    I have a product setup exactly like a product in the demo database called PRICEFACTOR. It has a base product price of $10.00 and then uses the price factor to increment the total value. It’s in the “New v1.2 ->Attributes” category. It displays the price on the attributes as follows:
    Base price $10.00
    Red (+$10.00)
    Yellow (+$20.00)
    Green (+$30.00)

    I need it to display the total price
    Base price $10.00
    Red ($20.00)
    Yellow ($30.00)
    Green ($40.00)

    Does anyone know an easy way to do this or do I need to get into the PHP code?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    19,276
    Plugin Contributions
    3

    Default Re: Need attribute price to display total price not incremental price

    The easy way is to price the product by attributes in the product setup page. In this case, you would have 4 attributes, $10, $20, $30 and $40. The lowest price should display as the 'base' (display) price, like this demo example:

    http://www.stevesh.org/demo/index.ph...products_id=59

  3. #3
    Join Date
    Jul 2010
    Location
    Findon, UK
    Posts
    90
    Plugin Contributions
    0

    Default Re: Need attribute price to display total price not incremental price

    Great tip. Many thanks. However, how did you manage to get the starting price higher than 0 ?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    19,276
    Plugin Contributions
    3

    Default Re: Need attribute price to display total price not incremental price

    The starting (display) price will be the lowest of the attribute prices.

  5. #5
    Join Date
    Aug 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Need attribute price to display total price not incremental price

    Thanks but I want to use a price factor instead of a fixed price. If I set the price in the main product and use price factors instead of hard coding a price, I then can use the same three attributes throughout my storefront. If I set a hard coded price then I have to create different attributes for every product. The only price that I want to set is the main product price, the add-ons are a factor of the base price.

    So I would like to show the total price, the base price plus the add-ons, next to the attribute.

  6. #6
    Join Date
    Jul 2010
    Location
    Findon, UK
    Posts
    90
    Plugin Contributions
    0

    Default Re: Need attribute price to display total price not incremental price

    Quote Originally Posted by stevesh View Post
    The starting (display) price will be the lowest of the attribute prices.
    That what I would have thought. However, on my shop the starting price is blank although my attribute prices are spot on and works. Any idea what can cause a blank starting price ?

  7. #7
    Join Date
    Jul 2010
    Location
    Findon, UK
    Posts
    90
    Plugin Contributions
    0

    Default Re: Need attribute price to display total price not incremental price

    Don't worry, I figured it out on my own with a little adjustment.
    Once again many thanks for your original tip about how to show total prices.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,825
    Plugin Contributions
    6

    Default Re: Need attribute price to display total price not incremental price

    Could you give examples of what worked for you on this, price factors can be confusing and it helps to see how others do it ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Add base price to attribute price so that attribute shows total amount
    By dcitsolutions in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 18 Nov 2010, 08:56 AM
  2. Attribute is showing incremental price, not total price
    By ducksigns in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 28 Aug 2009, 02:35 PM
  3. Attribute price factor for total price
    By lloydwatkin in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 30 May 2007, 01:13 PM
  4. How to showing total sales price instead of showing incremental for attributes
    By psuskeels in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Nov 2006, 06:21 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
  •