News:

Support the VirtueMart project and become a member

Main Menu

Calculated custom field?

Started by agrupe, June 02, 2012, 13:24:48 PM

Previous topic - Next topic

agrupe

Hi,

I'm looking for a way to display a custom filed which has a flexible content depending on the product price.

Example :  Customfield = Productprice -0.15

If the product price is 1€ then the customfiled should show 0.85€. If it is 1.25€ then the custom filed should be 1.10€. etc etc

Does anybody know how to get that?

Thanks

Andreas

P.S: That's the last thing I need to do before I can go life with my shop ;-)

lipes

#1
Did you get the CF working in your site?
I am in trouble with that...

Do you have a option if the Costumer doesnt want to select 'custom field' option and want just the default value for the product... is working in your site?

To make CF with Cart Variant you must read this 2st: http://forum.virtuemart.net/index.php?topic=90833.msg298101#msg298101

or install the VM2 sample data that will give you many CF types examples..
but for me any of them isnt working because the price of CF (cart variant) when is added to the Cart is different from the selection before..

live example not working (with problem): http://outros.net23.net/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=8&virtuemart_category_id=2
If you select different sizes and add to the cart you'll see always the same price added :(
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25