• Resolved Mario Barretta

    (@mario-barretta)


    Hi,
    Great plugin but i’m not able to understand how to take the options added to my product and to show in the woocommerce mail received for order or quote.
    Can you help me?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    We are saving the Extra Product Options data as order item meta data.

    You can retrieve the value using the below function.

    wc_get_order_item_meta($item_id, $field_name, true);

    We hope this helps.

    Thank you!

    Thread Starter Mario Barretta

    (@mario-barretta)

    ThankYou @themehigh
    `I take advantage of the prompt response to ask if and how I can perform calculations related to the additional fields I created.
    For example I have indicated height and width as values for a product and I need to multiply them in order to have the price of the product calculated on this basis.
    The specific case is a window whose price is X per square meter and the customer indicates height and width that I multiply to get the area and that will then be multiplied by the price per square meter.
    Example :
    Price MQ : 100
    Height: 100 cm
    Width: 200 cm

    Total : [(Height*Width)/100)]*Price MQ]

    I hope I have explained myself and thank you

    Plugin Author ThemeHigh

    (@themehigh)

    We are a little bit unclear about your exact requirement. Whether the fields(Height and Width) that you would like to create is a field with price or not? Could you please clarify?

    Thank you!

    Thread Starter Mario Barretta

    (@mario-barretta)

    are measures on cm needed to calculate an area (Height*Widht)/100
    Result must be used to calculate the totale price using the product price

    Think to a window on that you have a price for MQ and yu calculate the area of window to have the final price.

    Plugin Author ThemeHigh

    (@themehigh)

    Unfortunately, your requirement cannot be achieved using the lite version of our plugin.

    Thank you!

    Thread Starter Mario Barretta

    (@mario-barretta)

    Thank you but i’ve not problems to buy the pro version if it solve my request

    Plugin Author ThemeHigh

    (@themehigh)

    As per the WordPress forum policy, we can’t answer premium related questions on this forum. Could you please raise a ticket through our website? We hope our technical team will be able to help you.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding fields in mail quote’ is closed to new replies.