I'd like if this block on product edit pages were expanded if in use (i.e. not the default value).

Sometimes I forget if I have custom price calcs on some products and wonder why the pricing is going nuts.

Comments

illepic’s picture

On about line 97 of uc_custom_price.module you should see:

'#collapsed' => TRUE,

change that to:

'#collapsed' => FALSE,

illepic’s picture

Ah, i see you have an "expanded in use" clause up there. Technically it's always in use with

$item->price = $item->price;

as a default value, it looks like.

tr’s picture

Category: feature » support
Status: Active » Fixed

You can always change the form with hook_form_alter() if you want it to show up expanded. That's not something I'm going to change in the module in the near future.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.