def url_for_order(options = { })
      trolley = options.delete(:trolley) || @trolley
      trolley = @order.trolley if @order

      order = options.delete(:order) || @order || trolley.selected_order
      
      options[:id] = order
      options[:controller] = 'orders'
      options[:action] = 'show'
      options[:urlified_name] = Basket.site_basket.urlified_name

      url_for options
    end
def url_for_order(options = { })
      trolley = options.delete(:trolley) || @trolley
      trolley = @order.trolley if @order

      order = options.delete(:order) || @order || trolley.selected_order
      
      options[:id] = order
      options[:controller] = 'orders'
      options[:action] = 'show'
      options[:urlified_name] = Basket.site_basket.urlified_name

      url_for options
    end
expects order
 either as instance variables or in options