Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41
  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
    67,383
    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.3]
    Officially PayPal-Certified! Just click here

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

  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
    67,383
    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.3]
    Officially PayPal-Certified! Just click here

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

  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

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,383
    Plugin Contributions
    6

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

    Zen Cart is designed to show the weight ...

    You add an Attribute you enter the weight ... voila!

    Your weight is not working ... you have customize the default template so it is hard to know what else you have changed to affect this ...

    If you see the attribute weight in the Attributes Controller ... and you have set the Product Type setting to show the weight ... then either you have:

    1 turned this off by changing code

    2 turned this off by deleting code

    3 turned this off in the stylesheet

    Have you an URL to a Product where the Attribute is setup with weight but is not showing?

    How much does the Product weigh?

    How much does the Attribute weigh?
    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.3]
    Officially PayPal-Certified! Just click here

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

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

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

    Okay - I uploaded original tpl shopping default again to no avail.

    I don't think its css and I have not done any major mods to any pages.

    Here is the URL - there is no product weight - just individual weights for each product option

    View in IE if you please - I am still fudging with Firefox views - float is off

    http://vinestreetworks.com/test/inde...&products_id=1

    when you add the options - no weight shows in cart as said -

    THE TOTAL WEIGHT SHOWS UP TOP OF COURSE - I want to show the individual weights for each option listed under the product

    so many thanks

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,383
    Plugin Contributions
    6

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

    I see attribute weights on both IE 6.x and FireFox 2.x ... umm ... perhaps close your browser windows, clear your cache and look again ...
    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.3]
    Officially PayPal-Certified! Just click here

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

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

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

    Yes I see them too but when you add to the cart it doesn't show individual weight next to option

    Weights show on product info page but not in actual shopping cart it just has the option name with a -
    Last edited by Fay808; 1 Sep 2007 at 03:26 AM.

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. Attribute images popup to show larger image
    By sonicparke in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 27 May 2011, 08:49 AM
  2. "Units in Stock" still showing...help?
    By Janice in forum Basic Configuration
    Replies: 21
    Last Post: 5 Feb 2009, 01:57 PM
  3. Shopping cart not calculating weight
    By k4satin in forum Basic Configuration
    Replies: 4
    Last Post: 11 May 2007, 09:33 AM
  4. cart sidebox item count (not total count)
    By mrmarcus66 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Nov 2006, 01:01 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
  •