richms Posted December 1, 2009 Share Posted December 1, 2009 (edited) Whatever they choose, its reverting to the first option from that module after the payment method The array its returning looks like this - Array ( [id] => byitem [module] => By item V2.0 [methods] => Array ( [0] => Array ( [id] => byitem [title] => Calculated on the cart contents - Urban [cost] => 4.5 ) [1] => Array ( [id] => byitem [title] => Calculated on the cart contents - Rural [cost] => 9.5 ) ) ) I have another method that returns about 10 options for different areas - urban and rural and it also always reverts to the top item in the list. Is there something else it needs to return to make the items individually selectable? Is the ID supposed to be the same for all of them? I tried searching and found no documentation on writing a shipping module so just modified another one to do what I wanted. Edited December 1, 2009 by richms Quote Link to comment Share on other sites More sharing options...
richms Posted December 16, 2009 Author Share Posted December 16, 2009 Anyone know at all? I cant find any documentation on what a cart is supposed to reurn, so I am assuming that I should have something else other than the same id for each array within the array so that it can tell the difference. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.