Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
 
{cart_total_weight} in cart_items_info
Posted: 04 November 2010 03:26 PM   [ Ignore ]
Has a Nice Profile
Avatar
RankRank
Total Posts:  115
Joined  2010-04-02

hi there,

there is a variable {item_weight} it would be nice if there was a {cart_total_weight} variable.

cheers
stefan

Profile
 
 
Posted: 05 November 2010 06:09 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8342
Joined  2008-09-29

Nice idea. Pretty simple to add too. I can’t right now though, as cart_info and cart_items_info have been ported to the EE 2.1 version of CartThrob already so they’re in lockdown for now.

 Signature 

NOTE: If I say “I will look into x” and you PM me information, please do not hesitate to contact me again about it, if I do not respond in several hours, or at most a day. Please feel free to remind me as you see fit

Profile
 
 
Posted: 09 November 2010 04:48 PM   [ Ignore ]   [ # 2 ]
Has a Nice Profile
Avatar
RankRank
Total Posts:  118
Joined  2010-10-08

Snap! Was just thinking this, too. Is there a way to this without a specific tag? Maybe something *like* this:

{exp:cartthrob:arithmetic operator="+" num1="{product_options}{option}{/product_options}" num2="{product_weight}"

I know this won’t work, but you get the idea.

Profile
 
 
Posted: 12 November 2010 08:39 PM   [ Ignore ]   [ # 3 ]
Wallflower
Rank
Total Posts:  7
Joined  2010-08-02

I am looking for this too.

Profile
 
 
Posted: 02 February 2011 02:55 PM   [ Ignore ]   [ # 4 ]
Is a Really Great Dancer
RankRank
Total Posts:  51
Joined  2010-09-01

Any news on this? Anyone managed to get this to work?

Profile
 
 
Posted: 02 February 2011 03:17 PM   [ Ignore ]   [ # 5 ]
Is a Really Great Dancer
RankRank
Total Posts:  51
Joined  2010-09-01

Done it with a simple bit of PHP in the template

Profile