Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    May 2006
    Posts
    29
    Plugin Contributions
    0

    Default [Newbie Angst] Price Not Showing Next to Attribute

    Hey Folks,

    Finally getting my head around this (thankfully), but am having a problem:

    I've set a product to be PRICED BY ATTRIBUTES and then added the following

    1. Attribute Name = "# of Capsules"
    2. Attribute Value = "60 capsules"
    3. Attribute Value = "120" capsules"

    The 60 Capsules value is set to be priced at 5.95, and the 120 Capsules is set to be priced at 10.10. I did this by adding those values to the PRICE field in each attribute value. I also removed the "+" symbol before the PRICE field, as these aren't prices being added to any default price, they're the price itself.

    When viewing the resulting page, I get "Starting at: $5.95" which is fine, and then get:

    Please Choose:
    # of Capsules
    120 capsules ($0.00)
    60 capsules ($0.00)

    For the life of me, I can't figure out why the prices aren't showing up in the () next to the values themselves. Insofar as I can tell, this SHOULD be happening.

    Anyone have any ideas?

    Thanks,

    Anthony
    A friend will help you move.
    A good friend will help you move a body.

  2. #2
    Join Date
    May 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    Oh, a couple more items:

    1. In the Price Manager, the base price is set for $0.00, as it should be to have the pricing set by attributes. And again, the Set Price By Attributes selection is on for this product.

    2. When choosing a quantity and adding to a cart, the cart DOES show the proper price. It just doesn't seem to be displaying on the product page.

    Thanks Again,

    Anthony
    A friend will help you move.
    A good friend will help you move a body.

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    What version of Zen Cart are you using? What template is it based on?

  4. #4
    Join Date
    May 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    Zen Cart 1.3.0.1

    And the template I'm using is the Classic template, with just a few slight modifications.
    A friend will help you move.
    A good friend will help you move a body.

  5. #5
    Join Date
    May 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    And, for what it's worth, here are a couple of screen shots to show you how I've configured the product and the attributes in question:

    The product admin screen for this product:
    http://www.thinkbigideas.com/files/product.jpg

    The attributes controller screen for this product:
    http://www.thinkbigideas.com/files/attributes.jpg


    Again: The proper price for each attribute carries over into the cart, so it's definitely set up and there. It also displays properly as the "Starting from" price.

    It's just that the price for each of the two attributes set don't display on the product page. It only displays ($0.00) for each one of them on the product page.

    I did a test, rolling back the original product_info_display.php page and tpl_modules_attributes.php page to make sure that I hadn't messed anything up, but I still show the same issue.

    Am I missing something here? Was there a value to plug into the attributes controller that I missed?
    A friend will help you move.
    A good friend will help you move a body.

  6. #6
    Join Date
    May 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    Another bit of info from some digging I did:

    Thinking that there might be some kind of error in the attributes.php file (where much of the attribute logic is for creating the attribute lists for use in the product_info_display.php file, I tested out changing my current radio button list to a pull-down menu and checkbox selection list -- each of them carried over the same bug.

    All prices next to each of the attributes were displayed as ($0.00)
    A friend will help you move.
    A good friend will help you move a body.

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

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    Do you have an URL to your site?
    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!

  8. #8
    Join Date
    May 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    Ah, sure. Sorry -- should have included that with all the rest.

    Here's a link to the product that I've set up attributes for. It's the only one in the store at the moment, so I could get it working properly and then reproduce across others.

    http://store.lanisimpson.com/index.p...products_id=24

    If you need anything else right away, please email me at anthony AT thinkbigideas DOT com. I check that address regularly and will probably respond to it right away.

    Thanks,

    Anthony
    A friend will help you move.
    A good friend will help you move a body.

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

    Default Re: [Newbie Angst] Price Not Showing Next to Attribute

    Did you modify or customize the tpl_product_info_default.php

    You may have changed the flow of the code on this page as adding it to the cart appears to work ...

    How do you have the Attribute price configured for each Option Value?
    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!

  10. #10
    Join Date
    May 2006
    Posts
    29
    Plugin Contributions
    0

    Re: [Newbie Angst] Price Not Showing Next to Attribute

    Hmm... I don't know.

    I did edit tpl_product_info_display.php, but only to move the Attributes Module code segment above the "Add to Cart" code. The chunk of content moved is this:

    HTML Code:
    <!--bof Attributes Module -->
    <?php
      if ($pr_attr->fields['total'] > 0) {
    ?>
    <?php
    /**
     * display the product atributes
     */
      require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
    <?php
      }
    ?>
    <!--eof Attributes Module -->
    I will, however, check to see if any changes were made to the other file.

    As for how pricing was set up for the attributes, you can view screen shots of the configuration for each attribute (the 60 capsules and 120 capsules) by going here:

    http://www.thinkbigideas.com/files/60capsules.jpg

    http://www.thinkbigideas.com/files/120capsules.jpg

    Here's a screenshot of the admin for the Product Price Manager for the product these attributes are tied to:

    http://www.thinkbigideas.com/files/product_price.jpg


    See anything amiss?
    A friend will help you move.
    A good friend will help you move a body.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Attributes Base Price next to default attribute
    By perfumbg in forum General Questions
    Replies: 2
    Last Post: 30 Jul 2013, 06:14 AM
  2. Attribute price not showing up in sub-total or check-out
    By tcarden in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 25 Jan 2013, 09:25 PM
  3. Attribute price not showing
    By Goldenis in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 2 Feb 2011, 04:15 AM
  4. 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
  5. Zen Newbie & Attribute Angst
    By AnthonyBaker in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Jul 2006, 03:23 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