2 replies [Last post]
lee
lee's picture
Offline
Joined: 07/16/2008
Juice: 20
Was this information Helpful?

Hi There -

Am in a time crunch and need to have this module completed in the next week or so if possible. I've prepared a file with all of the variables and queries and have a module skeleton.

This is a module that iterates over all of the ubercart nodes of a particular type and compares the price with a field in another node type. If they're not equal, then they get displayed in tabular form with radio buttons for each price, like this:

| [image] | ubercart title | 0 $.75 | other_______ | 0 $.95 | other node title |

Where the '0's are radio buttons. The admin will click on either radio button to choose the correct price or add in their own choice.

At the bottom is one submit button.

So if someone chooses .75 in the example above, the price of the other node title gets adjusted to equal it. If someone puts a value into 'other', then both prices get changed to the 'other' price.

After return, it displays the nid's of the two nodes, and the adjusted price in a table.

A second module that will reuse almost all of the code here, would do the same, but have all of the ubercart nodes displayed so they can all be set.

No pager necessary.

If you think you can do this, I'll send you the files that you need to do the work and you can give me an estimate of your hours to finish it and we can arrange payment. If you know Drupal forms, it shouldn't be too much trouble.

We're Drupal developers and have got a bunch of work coming up so we can give you a steady stream of part time work for the forseeable if you're reliable and sane and want the work.

webmasterkai's picture
Offline
Uber DonorBug Finder
Joined: 08/09/2007
Juice: 299
Re: $ to finish my module for me

How are the product node and "other node" linked? Does each product node only have one other node it is linked with? Do you have an image or graphic of the page? Is this an admin screen or customer screen?

Biodiesel * (ubercart + drupal) = Sundays Energy

lee
lee's picture
Offline
Joined: 07/16/2008
Juice: 20
Hi There - One's the

Hi There -

One's the nodereference of the other. I have the drupal query that will retrieve both nids.
This would be an admin page. Path would be admin/validate/price .

I have the foreach that displays everything in a table, I don't have the form code and dealing with the form values after submission.

I have the conditional that checks whether the prices match.

Aside from the ascii version in the post above, I have no graphic of the page. It would be a table, each product node getting a row with the listed data in it. Doesn't need to be pretty.

The admin should be able to go down the page and choose the values that should be inserted and click one submit button to do the bulk processing.

Is this sufficient to answer your question?