[SOLVED]Overwrite quantity with an output field

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED]Overwrite quantity with an output field

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7178
    Neutrino86
    Participant

    Hello,

    I try to overwrite woocommerce quantity by an output field but i don’t find any way.

    For a product sell by lenght, i want the calculated price will be price by meter and the quantity the total lenght.

    Do you have a solution for this? Maybe map a variable to a hidden input field that i can use as quantity?

    Thanks,

    Julien

    #7184
    Naidi
    Participant

    Hi ,

    you can do that simply, here is the link from our documentation on how you can achieve that:
    https://altoswebsolutions.com/manual/woo-price-calculator/how-to-overwrite-quantity-field

    Best regards,
    Naidi
    AT859

    #7183
    Neutrino86
    Participant

    Hi Naidi,

    Thank you but what i need is to overwrite with an output field, not with an input field.
    I have a lenght input field, a quantity input field and i want the woocommerce quantity egal to quantity field*lenght field.

    Regards,

    Julien

    #7182
    Naidi
    Participant

    Hi ,

    for the moment in WooPriceCalculator you can only overwrite it with an input field.
    Anyway if you really are interested on having such function, you can request a quotation for this feature sending an email with detailed information
    and an example of what is your case / what you want to achieve to : https://altoswebsolutions.com/contact-us

    Best regards.
    Naidi
    AT859

    #7181
    Neutrino86
    Participant

    Hi,

    I have find the solution by modifing CalculatorHelper.php, i use multiple input field instead of just one to get the quantity and it works great.

    That solve my problem with weight too because the quantity being the total length woocommerce calculates the right weight.

    Thanks,

    Julien

    #7180
    matthieuh
    Participant

    I have the same need.
    I’ve made a wall paper calculator.
    Price is per roll
    Quantity is number of roll.
    User enter wall dimensions and calculator calculate the quantity of wallpaper roll needed.
    Would need then overwrite quantity with Output field to get the order Quantity of rolls x Base price

    There are other options but they will not be easy to undestand for customer.

    #7179
    bill
    Participant

    Hello Matthieuh,

    for the moment our plugin overwrite the quantity field of woo commerce, with an input field that you select, if you have formulas based on your quantity fields. This means that the woo commerce quantity filed will be hidden and will be shown a WPC input field.

    Here is our documentation how you can achieve that:
    https://altoswebsolutions.com/manual/woo-price-calculator/how-to-overwrite-quantity-field

    You also can use output fields to show the user the quantity of roll that he must order.
    Otherwise you can check our customization policy:
    https://altoswebsolutions.com/customization-policy
    And request a quotation by sending us an email with detailed information here:
    https://altoswebsolutions.com/contact-us

    Kind Regards,
    Bill
    AT1075

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.