Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2006
    Posts
    4
    Plugin Contributions
    0

    Default How to showing total sales price instead of showing incremental for attributes

    in includes/modules/attributes.php - I changed to (getting rid of prefix):


    $currencies->display_price($new_attributes_price, zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . TEXT_ATTRIBUTE_IS_FREE;
    } else {
    // normal price
    $products_options_display_price= ' (' .
    $currencies->display_price(zen_get_products_base_price((int)$_GET['products_id']) +$new_attributes_price, zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ') ';
    }

    Enjoy,

    -Mario

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

    Default Re: How to showing total sales price instead of showing incremental for attributes

    If you don't input a prefix ... then it will not show but still work like +

    What are you trying to do with the attributes and price?

    Have you an URL with an example?

    It almost sounds like you are trying to do a Priced by Attribute but not use the built in logic for 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.5]
    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
    Nov 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: How to showing total sales price instead of showing incremental for attributes

    Only localhost url :) .. I am trying to price by attributes, but what i'm trying to do is show in a drop down (was i supposed to make the product $0.00 and the first attr $10?). It seemed odd to not be able to show a price in the list view, so i thought this worked better:

    My hacked code
    Starts at $10.00

    Unframed 8x10 Photo ($10.00)
    Framed Photo 8x10 ($15.00)
    Framed Photo 12x18 ($30.00)

    Out of Box
    Starts at $10.00

    Unframed 8x10 Photo
    Framed Photo 8x10 (+$5.00)
    Framed Photo 12x18 (+$20.00)

    It was easier to not make the customer do the math (and wonder what's going on in the cart if they didn't see the Starting at $10.00

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

    Default Re: How to showing total sales price instead of showing incremental for attributes

    Product Price 0
    Priced by Attribute YES

    Now just enter the price without prefix and the display value will calculate from the combination of the lowest prices of the Attribute Option Name groups to make the price ...
    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.5]
    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!

  5. #5
    Join Date
    Mar 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: How to showing total sales price instead of showing incremental for attributes

    Buit if you set the price as 0 and price by attributes, you can't put the product on sale. When you do, things get Oh so crazy...

  6. #6
    Join Date
    Mar 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: How to showing total sales price instead of showing incremental for attributes

    OK-here's why that won't work for me- Any ideas anyone?

    If you list the product as $0
    Attribute 1 $499
    Attribute 2 $599
    Attribute 3 $699

    Now, the product is in a top level category so Crystal vases>10" Crystal Vase

    This means that in your SaleMaker, you can not apply a sale to JUST the 10" crystal vase.

    In the SPEACIALS, you can't make it work either. I though I could trick the specials module by puutting -100, but the module though I meant the base price was $100.

    Any ideas?

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

    Default Re: How to showing total sales price instead of showing incremental for attributes

    What settings are you using for the Sale in SaleMaker?
    Deduction: 10.0000 Percent
    Pricerange: $0.00 to $0.00
    Specials Condition: Apply SaleDeduction to Specials Price - Otherwise Apply to Price
    Are the Products set to use that Category as the master_categories_id

    Are the attributes set to use:
    Apply Discounts Used
    by Product Special/Sale: YES
    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.5]
    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!

  8. #8
    Join Date
    Mar 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: How to showing total sales price instead of showing incremental for attributes

    SALEMAKER can not be used. Sale maker only allows sales to be placed on CATEGORIES. I need to place a sale on a product.

    Specials would work, but not with the base price set at $0.

    I don't know what you mean by "Are the Products set to use that Category as the master_categories_id"

    and Yes, the Apply Discounts Used
    by Product Special/Sale: is set to YES

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

    Default Re: How to showing total sales price instead of showing incremental for attributes

    Yes you would need to use a Special if just for one Product and not the Category ...

    If you enter the Special as a percentage, it should be able to calculate the discount on a Price by Attribute ...
    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.5]
    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!

  10. #10
    Join Date
    Mar 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: How to showing total sales price instead of showing incremental for attributes

    A percentage won't work.
    Item 1 needs to be $100 off -including all attributes
    Item 2 needs to be $150 off all attributes, etc.
    asnd the attributes are not set by percentage.
    Last edited by kkentert; 28 Nov 2006 at 06:26 AM.

 

 

Similar Threads

  1. Showing total price in attributes drop-down
    By kazbryan in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 12 Apr 2011, 03:31 PM
  2. Replies: 5
    Last Post: 27 Mar 2011, 05:54 AM
  3. Need attribute price to display total price not incremental price
    By Rickk123 in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 2 Sep 2010, 06:26 PM
  4. Sales tax showing in total, but not as line item
    By brihod in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 3 Aug 2010, 04:52 AM
  5. 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

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