Yes, you can write a module that stores a weight for each item/product (just like the checkoutgroups module records a groupId) then you'd have to modify checkoutpaypal to include that information when it draws up the form contents that send the information over to paypal. Presumably you want the total weight for the consignment, so you just add up the weights for each item/product and include the total in the relevant manner. The paypal website has the technical details for doing that, look for the 'integration tools' section, I think.
alecmyers
Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-06-05 13:49
Just a note to let everyone/anyone know that version 0.3.3 of checkout and its associated modules are now in the community repository (so you can download them from the 'get more plugins' page of your gallery installation).
Although there's no formal 'release' mechanism, I'm now reasonably content to withdraw the 'beta' tag from this code. I'm also going to ask the forum admins to lock this thread - for bug reports and comments, please start a new thread.
If you're a foreign-language speaker, and you'd like to help with the translations - they all need bringing up to date again, and I think I lost one on the way somewhere - please drop me a pm with your email address and I'll send you the necessary .po files. Or if you're a Gallery expert, you can extract them yourself, and send them to me.
With luck, I'm going to start on the next few beta updates soon.
Posts: 4342
Yes, you can write a module that stores a weight for each item/product (just like the checkoutgroups module records a groupId) then you'd have to modify checkoutpaypal to include that information when it draws up the form contents that send the information over to paypal. Presumably you want the total weight for the consignment, so you just add up the weights for each item/product and include the total in the relevant manner. The paypal website has the technical details for doing that, look for the 'integration tools' section, I think.
Posts: 4342
Just a note to let everyone/anyone know that version 0.3.3 of checkout and its associated modules are now in the community repository (so you can download them from the 'get more plugins' page of your gallery installation).
Although there's no formal 'release' mechanism, I'm now reasonably content to withdraw the 'beta' tag from this code. I'm also going to ask the forum admins to lock this thread - for bug reports and comments, please start a new thread.
If you're a foreign-language speaker, and you'd like to help with the translations - they all need bringing up to date again, and I think I lost one on the way somewhere - please drop me a pm with your email address and I'll send you the necessary .po files. Or if you're a Gallery expert, you can extract them yourself, and send them to me.
With luck, I'm going to start on the next few beta updates soon.
Thanks everyone for their help and encouragement.