News:

Looking for documentation? Take a look on our wiki

Main Menu

Profit Margin on Custom Field

Started by dannystang, December 09, 2012, 04:52:46 AM

Previous topic - Next topic

dannystang

Can't seem to figure this one out, searched everywhere. I am on 2.0.14

Price Modifier for Profit Margin = 10%. My Base price for X product = 100. Final Price $110

So far everything is perfect.

Cart Variant based on size tshirts (Small/Medium/Large) = $5 / $10 / $15 respectively.

Drop down has +5 / +10 / +15 now how can I create a price modifier for profit margin for the CART VARIANT?

In this particular case say I also want to increase by 10% and show (Small $5.5 / $11 etc)

Another words I am trying to markup the cost of the variant AND the product. I thought I could just increase it before plugin it into the cart variant price but then if I wanted to increase my variant price by a % in the future I would have to do this all over again.

If by any chance anyone knows the line and php code for math on custom fields I will just take Custom Field price * 1.10 and adjust in the future...

Thanks for any help in advance it seems like such a simple change but can't figure this out!

dannystang

Ok, I am sure there is an easier way but since I still can't find it.

Myphpadmin
Virtuemart product customfields

Export to Excel and do calculation or I guess you can do it in sql.

So much easier than csvi tried that also.

Still I am sure there is a easier approach but can't figure it out...

Actlas

Could you explain how you did this please?

Actlas

Anybody please? How to make calculation rules apply to the custom fields as well?