• I am using woo price calculator on my site :

    I have drop down 3mm, 6mm,10mm in a select element.

    i want to calculate custom price based on option selected above. if customer select 3mm and then enter width value in text field and height value in text field and i calculate price by multiplicating (width*height*0.042) For example :

    if(option==’3mm’){
    (0.042*width*height)
    }

    But if formula is not working for me.

    Here is the woo price formula i used :

    if($aws_price_calc_6==’3mm’){
    (0.02430555555*$aws_price_calc_7*$aws_price_calc_8)
    }else if ($aws_price_calc_6==’6mm’){

    (0.04166666666*$aws_price_calc_7*$aws_price_calc_8)

    }else if($aws_price_calc_6==’10mm’){
    (0.0625*$aws_price_calc_7*$aws_price_calc_8)
    }

    Please help me..

    Thanks
    Aadil

    The page I need help with: [log in to see the link]

  • The topic ‘Hello’ is closed to new replies.