Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Aug 2004
    Posts
    126
    Plugin Contributions
    0

    Default Can't get rid of price when priced by attribute

    I have a cart that, if I set up a product as priced by attribute and price set to zero, the price disappears as it should:

    http://www.cleosfineoils.com/shop/in...roducts_id=217

    Unfortunately, that only applies to new products. All the products we imported through webgility, refuse to stop showing the price, even when it is set as "priced by attribute" and price set to zero.

    http://www.cleosfineoils.com/shop/in...products_id=98

    I've checked and double checked it 1000 times and combed the database, but I can't find what is turned ON for the second product that isn't in the first. It must be some default setting that came over with the import preventing us from turning off that price the usual way, but what?

    Any help greatly appreciated!

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Can't get rid of price when priced by attribute

    Without access to your admin, my guess is the price exists in the attributes controller or there's a custom code on the tpl_product_info_display.php.

    Let me know.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  3. #3
    Join Date
    Aug 2004
    Posts
    126
    Plugin Contributions
    0

    Default Re: Can't get rid of price when priced by attribute

    Ah, you're totally right. We realized after getting away from the situation for a while that it had nothing to do with import - it was that the lowest attribute price was showing up as the price. That one that did NOT show the price just didn't have the attributes yet. Is there a way to edit the product template so that the price DOES show there (the main price area) if it is priced by price, but does NOT show there if it is priced by attribute?

  4. #4
    Join Date
    Aug 2004
    Posts
    126
    Plugin Contributions
    0

    Default Re: Can't get rid of price when priced by attribute

    If this helps, pretty sure this is the code, but I can't seem to take anything out without the price not showing for regularly priced products as well.

    <?php
    // base price
    if ($show_onetime_charges_description == 'true') {
    $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
    } else {
    $one_time = '';
    }
    echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']);
    ?>

  5. #5
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Can't get rid of price when priced by attribute

    By default the code will see the product price if it's not set to priced by attributes. Did someone set every product to priced by attribute when they are not? Are there any import/export data modules installed?
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

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

    Default Re: Can't get rid of price when priced by attribute

    Price by Attribute is designed to use the lowest price in the Option Name/Value groups to make up the displayed price ...

    If you do not want the Attributes used in calculating the displayed price, then you need to mark the Attribute not to be included in the base price ...
    Include in Base Price
    When Priced by Attributes
    See if doing that will block the cheapest combined price from being displayed ...
    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!

  7. #7
    Join Date
    Dec 2010
    Location
    U.S. State of Texas
    Posts
    76
    Plugin Contributions
    0

    Default Re: Can't get rid of price when priced by attribute

    Quote Originally Posted by Ajeh View Post
    Price by Attribute is designed to use the lowest price in the Option Name/Value groups to make up the displayed price ...

    If you do not want the Attributes used in calculating the displayed price, then you need to mark the Attribute not to be included in the base price ...


    See if doing that will block the cheapest combined price from being displayed ...
    I am trying to do something very similar but slightly different and I am sure this is somewhere but I can't seem to find the answer. I want to display the product price for display purposes but do not want the product price included in the shopping cart calculation when selecting attributes. For example a sofa and loveseat is displayed as $749. But buyers may want to just purchase only the sofa ($300) instead of the sofa and loveseat. However, when selecting the attribute of sofa, it adds the product price giving a total of $1049 instead of $300.

  8. #8
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Can't get rid of price when priced by attribute

    Set the product to $0, priced by attributes to yes then set each attribute to have a price and be included in base price
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

  9. #9
    Join Date
    Dec 2010
    Location
    U.S. State of Texas
    Posts
    76
    Plugin Contributions
    0

    Default Re: Can't get rid of price when priced by attribute

    Quote Originally Posted by twitchtoo View Post
    Set the product to $0, priced by attributes to yes then set each attribute to have a price and be included in base price
    I tried that but then it goes back to displaying the lower price only. I am trying to have it display the group price for display purposes but not include the base price in the calculation when selecting attributes at product info.

  10. #10
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Can't get rid of price when priced by attribute

    Sounds like you need to use Twitch List Price, and change the wording :)

    http://www.zen-cart.com/downloads.php?do=file&id=1772

    Then you put the group price of the furniture in the 'list_price' field and the product and attributes work just as they should.

    Change the display 'List Price: ' to whatever you'd like.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Can I have each attribute show its price without using Priced By Attribute?
    By linuxmant in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Nov 2009, 07:58 PM
  2. Priced by attribute special using original price
    By damiantaylor in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 3 Nov 2009, 04:30 PM
  3. Get rid of strikethrough prices for price by attribute.
    By Jaaxx in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 29 Mar 2009, 04:49 AM
  4. Include in Base Price When Priced by Attributes
    By David Bo in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Jan 2008, 10:19 PM
  5. Can't get rid of price in $ ?!?
    By ukspread in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 15 Jan 2007, 04:09 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR