Results 1 to 10 of 41

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    35
    Plugin Contributions
    0

    help question How can I show the attribute weight for each item in cart?

    In the shopping cart it adds the total weight up top amount as we know based on the option value weight.

    I want to also show the individual attribute weight for each item.

    So for instance attributes for delivery veggie product:

    option name= spinach + checkbox + option value weight = + 1 lb

    when cart viewed the listing does not include the option value weight

    it merely says
    • spinach-


    I want it to say
    • spinach- 1 lb.


    As it adds the poundage up at top why not show the individual weight amounts listed for each attribute as well?

    Thanks ahead of time. I am almost done with cart and this is the last to go!

  2. #2
    Join Date
    Aug 2007
    Posts
    35
    Plugin Contributions
    0

    Default How can I show products attribute weight for each item in cart?

    <li><?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER . $value['products_attributes_weight']; ?></li>

    this is on the tpl_shopping_cart_default.php where it lists the product option name with the -

    I added the value products attributes weight as that is what the filed name is in the database

    Does not render though - anybody with ideas?

    Thanks

    I hope I can crack this.

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

    Default Re: How can I show the attribute weight for each item in cart?

    Sounds like you turned it off ...

    Catalog ... Product Types ... Edit Layout button ...
    Show Attribute Weight
    Display Attribute Weight on Product Info 0= off 1= on
    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!

  4. #4
    Join Date
    Aug 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: How can I show the attribute weight for each item in cart?

    Hi - and thanks - sorry for the bother - great for a reply!

    It is turned on - I want to show the option value weight in the actual cart page for each product attribute.

    Like this

    product info page

    Produce Box

    Options
    Bananas CHECK BOX (+1.5lbs)

    add to cart

    then go to cart

    Produce Box

    • Bananas -


    Bananas has an individual weight of 1.5 lbs. that I specified in the weight box for the option in attributes.

    I want to show the individual weight next to the option selected in the actual cart page. Make sense?

    I can send a URL if it helps - appreciate it so much.

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

    Default Re: How can I show the attribute weight for each item in cart?

    Could you switch to Classic Template and see if it is working to rule out your template?
    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!

  6. #6
    Join Date
    Aug 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: How can I show the attribute weight for each item in cart?

    I am using Classic template

    Seems so simple to list the weight next to option in cart???

    • Bananas - 1.5 lbs.


    It should call the products_attributes_weight

 

 

Similar Threads

  1. how can I force the customer to enter a Code for each item that he adds?
    By iwashere in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 31 Aug 2011, 08:29 PM
  2. list a price for each item on the shopping cart content page
    By hoang in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 16 Apr 2010, 08:17 PM
  3. 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
  4. How to find out the total weight for each order?
    By doubletiger in forum General Questions
    Replies: 0
    Last Post: 12 Nov 2007, 05:58 PM
  5. Can I have each attribute separately in the shopping cart?
    By vatel in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 May 2007, 05:45 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