I am new with Views Bulk Operations Module. I want to be able to change selling price of the attributes by doing calculations on cost price.
- In VBO choose nodes (ubercart products)
- Select and Execute arbitary PHP script – to write!
- By aplying the script the following changes are done:
- in table ‘uc_product_options’ parameter ‘price’ is calculated as (‘price’ = ‘cost’ *1.2) for each attribute.
Fortunately someone’s beaten you to it 🙂
Ubercart Product Actions
If that module doesn’t have the exact combination of actions you’re looking for, just peek through the code and it should be easy to work out how to adjust it for your needs.