• Resolved Mario Barretta

    (@mario-barretta)


    Hi and thank yuo for your plugin in.
    it is possible to have a WooCommerce product to which you can add parameters that allow the calculation of the final price?

    Example:

    I have a window that costs X euros per square meter
    I indicate height
    I indicate width
    (calculate the area – (height*width)/100 and multiply for product price per square meter)

    User must be able to proceed to insert other windows with different measures so selecting the same product but assigning it differents measures

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @mario-barretta ,
    I read your requirements. Happily I can say that it is possible in our premium plugin. With use of the custom formula.
    You can refer implementation of the same in our demo site,

    Front End,
    https://wcpa.demo.acowebs.com/product/ceramic-tiles/
    Backend Settings,
    https://wcpa.demo.acowebs.com/wp-admin/post.php?post=45871&action=edit

    Thread Starter Mario Barretta

    (@mario-barretta)

    Hi @rahulacodez thankyou for your reply and i’m happy to read what you write.
    I’ve seen your form and i do not found how to you have created the join with the price and if i need to input not in mt but in cm how can i add a /100 formule?
    Thank you

    • This reply was modified 3 years, 3 months ago by Mario Barretta. Reason: additional info request

    Hi @mario-barretta ,
    We currently updated the formula for the centimeter value in the demo,
    to convert cm square to meter square we need to divisible by 10000 not by 100

    If you edit Height field from backend you can see the formula in enable price section

    formula for the field in demo is,

    ((({field.wcpa-number-1628255157677.value}*{this.value})/10000)*{product_price})

    Thread Starter Mario Barretta

    (@mario-barretta)

    Hi @rahulacodez oh yes excuse me the divisor must be 10000 and not 100 how i write you.
    Thank You for updating.
    I do not found, in the form (or in others positions), where is and where to insert the formula that you have shared with me.

    Hi @mario-barretta ,

    You can check the this Link. Here you can see 2 fields Width and Height.
    If you edit the Height field. You can see an option “Enable Price” in general tab. Here chosen pricing type is custom formula. So, a field for custom formula will appear you can add formula in the field.

    Thread Starter Mario Barretta

    (@mario-barretta)

    Ok thank yuo now i see with attention to try to replicate on my test.
    Is compatible with elementor?
    i do not found it on my elementor dashboard nut maybe it’s automatically added to WooCommerce product also if, in my test with free plugin, i do not see nothing
    It is also possible to can set these additional fields ONLY for specifics produtcs and not for all?

    Hi @mario-barretta ,

    Yes, It is compatible with elementor.
    You can add add to cart button using elementor and our form fields will be showing just before the cart button. One thing to notice is that, in elementor there are two add to cart buttons, one with quantity field and one without quantity field, Our plugin will work with “add to cart button with quantity field” only

    It is also possible to set fields only for the specific products and also for specific categories.

    Thread Starter Mario Barretta

    (@mario-barretta)

    WOW @rahulacodez your plugin is really Wonderful (and also support).
    How to set only for specific products?
    Now i’ve only to buy the pro version and try to replicate your form and learn how to create calculated fields.
    i’ve tried to add cart button on my template but i do not see the form test that i’ve created with free plugin (to try)

    Hi @mario-barretta

    If you are editing or creating a product you can see a tab called “Custom Product Options” ( View ), From here you can choose the created form for the product.

    Also, while creating a form you can select the categories for the form, to display the fields for specific categories

    Thread Starter Mario Barretta

    (@mario-barretta)

    Hi @rahulacodez thank you
    Ok perfect.
    nw i do not see the calculated fields and the price total because i’ve free version and i need only to buy the pro is correct?

    Hi @mario-barretta ,

    Yes, Custom formula is a pro version feature. It is only available in the pro version.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to have a repeater and calculate a value to moltpilicate for price?’ is closed to new replies.