Hi I am currently getting trying to get my head arounds arrays. The shopping cart system i use, stores the cart details into an array. I need to be able to update the array with a figure at a certain point. Please see array structure below;
The place i need to enter is ITEMS, zone cost, drilled down by the item id. i.e add zone cost to item array where ID EQ 12 I have had a look around, and i am thinking along the lines of array insert at? Any help would be appreciated. DecimalPlacesC 2 DecimalPlacesW 2 DiscountsDisplayIndex 1 DisplayIndex 1 ForceDecimalsC true ForceDecimalsW true Items array 1 struct DeliveryCost 100.0000 Description [empty string] FullDetails 1 The Cedar Ridge Playset (12) ID 12 Name The Cedar Ridge Playset Price 651.304347826 Quantity 1 Ref SELWOOD-CEDARRIDGE-09 TotalPrice 651.304347826 TotalWeight 42 Weight 42.00 zoneCost 0.00 2 struct DeliveryCost 50.0000 Description [empty string] FullDetails 1 Cabin Package (18) ID 18 Name Cabin Package Price 868.695652174 Quantity 1 Ref SELWOOD-CABIN-PCKG-09 TotalPrice 868.695652174 TotalWeight 130 Weight 130.00 zoneCost 0.00 NumberDisplay 0 Persistance 0 SHIPPING array 1 struct GetValue function WAEC_climbingframes_uk_Shipping_Charge Arguments: none ReturnType: Any Roles: Access: public Output: DisplayName: Hint: Description: IsActive true RuleName Shipping_Charge ShippingDisplayIndex 1 ShippingIsTaxed true TAX array 1 struct GetValue function WAEC_climbingframes_uk_VAT Arguments: none ReturnType: Any Roles: Access: public Output: DisplayName: Hint: Description: IsActive true RuleName VAT TaxDisplayIndex 1 WeightAlign 1 WeightSuffix oz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319036 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4