I have used the woocommerce add-on to create a form to add to my product but am confused as to how to do the calculations. I have a form with three dropdown options - Birch, Oak, and Walnut. I use separate values and make the dropdown saved values 0, 5, and 10 meaning Birch option adds 0 to price, oak adds 5 and walnut adds 10. I have a “total” field set as a calculated field, but I am confused as to how to tell my form to add the appropriate value to my product price. The knowledge base is too vague for me to understand how I am supposed to do this. It simply says I need a calculation field to "link up" with the price. I can see my form on the product page, but the total does not change when I select different options. How do I add the saved values of my dropdown field to the woo product price?
I have a calculated field to show a dollar amount. How can I have a calculation like 12.5 to show 12.50 instead? I have it set to two decimal places, which is what it shows unless the last digit of the decimal is 0. Since this represents a dollar amount, I want to show two decimal places at all times including 0. Not as much of an issue, but I would like to show .00 at the end whole number calculations. Is it possible to do either of these things?
I have a form to place bids. Each item has its own post and I have set a custom field on the posts so that I can insert [post_meta key="Item"] into a read-only form field so I know for which item the bid was submitted. I want to send an email saying, “thank you for bidding on item [post_meta key="Item"], but post_meta doesn’t render in the email notification message. I have also tried putting the field ID which has the meta key in the message, “thank you for bidding on item ” but the message returns a 0 instead of the post_meta field value. (thank you for bidding on 0) Is there any other way I can achieve my intended results of rendering the [post_meta key="Item"] in the email notification message the user receives when they submit their form?
I have styled the colors for read-only fields so there is a white background & border so that the field doesn’t look like a field at all but regular text on the white page. However, if a user clicks the text, the field highlights as active (in this case, blue). Is there a way to specifically format read-only only fields so that the "active" field color style doesn't show (basically so you can’t tell it’s active at all) or better yet just make the read-only fields unselectable? I don’t want to format all of my active fields with a white border, just the read-only ones. Thanks!