Flower farm profit per acre is your sales minus every cost, including your own hours, divided by the acres you have in beds. University of Tennessee Extension’s 2025 zinnia budget shows $9,256 in sales and $3,089 left over on just 1,000 square feet, while a Virginia Tech extension guide cites $25,000 to $35,000 in value per acre for field-grown cut flowers.
I built this free calculator so you can run that math on your own beds in about a minute. When you are ready to turn your numbers into real prices for bouquets, CSA shares, weddings and market tables, the Flower Farm Pricing Toolkit is the spreadsheet I made to do it all in one place.
Flower Farm Profit Per Acre Calculator
Pick a crop to load University of Tennessee Extension’s 2025 budget numbers, then change anything to match your farm. Results update as you type.
Quick start
$
Count planted beds only, not paths. 1 acre is 43,560 square feet.
Fine-tune yield and costs (per 1,000 sq ft)
What the beds produce
%
What it costs you
% of sales
$
hrs
$
$
Nothing you type here is saved or sent anywhere.
How the profit per acre math works
1Stems soldplants x % sold x stems per plant
2Salesstems sold x price per stem
3Profitsales minus all costsmarketing, growing, your labor, overhead
4Per acreprofit per 1,000 sq ft x 43.56a ceiling, not a promise
Your labor is counted as a cost on purpose. If you leave it out, the profit looks bigger, but it is really unpaid wages. The line “what you earn per hour worked” puts it back so you can see what the beds actually paid you.
Why the per acre number can look too good
Scale a 1,000 square foot budget up to a full acre and the numbers jump. The field-acre estimates tell a different story.
Sales per acre: on paper vs. in the field
Small-plot budget scaled to an acreField-acre estimate
Multiply the zinnia budget by 43.56 and you get more than $130,000 of profit per acre and over 400,000 stems. The field-acre estimates are a small fraction of that. The gap is the part most profit calculators skip: an acre has paths and headlands, not every crop yields like zinnias, and you have to find a buyer for every stem you count. Use the per 1,000 sq ft result as your honest number, and treat the per acre line as a ceiling.
Same 1,000 square feet, very different profit
Crop choice moves your profit as much as acreage does. In University of Tennessee’s 2025 budgets, zinnias keep about a third of their sales after every cost, while single-stem sunflowers keep about an eighth. One zinnia plant gives about 8 stems; a single-stem sunflower gives 1. Switch the calculator’s starting numbers to compare them yourself.
Zinnias
$3,089 kept
of $9,256 in sales
33% of sales kept. 9,256 stems at $1.00. Many stems per plant.
Sunflowers, single stem
$629 kept
of $4,760 in sales
13% of sales kept. 2,800 stems at $1.70. One stem per plant.
These are the calculator’s starting numbers, taken from the University of Tennessee zinnia budget: 1,780 plants on 1,000 square feet, 65 percent marketed, 8 stems per plant, $1.00 a stem.
Profit: $9,256 minus $6,167 = $3,089 on 1,000 square feet
Break-even: about $0.59 a stem. Below that, every stem you sell costs you money.
Notice how much rides on the price per stem. That is the one number you control at the market table. If you are not sure what your stems really cost you, the free Flower Pricing Reality Check works out your cost per stem, and the Flower Farm Pricing Toolkit turns it into prices for every way you sell.
What the full toolkit adds
If you want every pricing tool in one download, the Complete Flower Farm Pricing Bundle is $44 on this site ($58 if you bought the kits separately). The $7 bouquet calculator is already inside the toolkit.
This page answers one question: does the space pay? The toolkit answers the next one, which is what to charge for every stem, bouquet and share you sell.
The next step: what to charge
Flower Farm Pricing Toolkit
17 tabs and 11 calculators in one spreadsheet
True cost per stem for 35 varieties, seed to sale
Bouquet, market, CSA and wedding prices with your labor built in
Works in Excel and Google Sheets, instant download
Five short emails: the full breakdown of the free Flower Pricing Reality Check, then how to find your floor for one bouquet, three prices you can say without flinching, and why big quotes come out too small. Profit per acre starts with what each bouquet really earns.
By signing up you agree to get these emails from Anna Katherine. Unsubscribe anytime. Privacy policy.
Flower farm profit per acre FAQ
How much profit can a flower farm make per acre?
It depends far more on what you sell than on the acreage. A Virginia Tech extension guide cites $25,000 to $35,000 in value per acre for field-grown cut flowers, and that is sales, not profit. Subtract seed, marketing, overhead and your own hours to find profit. University of Tennessee’s 2025 zinnia budget leaves about a third of sales as profit after paying labor.
Is flower farming profitable on a small plot?
It can be. University of Tennessee Extension’s 2025 zinnia budget shows $9,256 in sales and $3,089 left after all costs, including paid labor, on just 1,000 square feet. Their single-stem sunflower budget leaves only $629 on the same space. Crop choice and price per stem make the difference, so run both through the calculator above.
How many stems can you grow in 1,000 square feet?
University of Tennessee Extension’s 2025 budgets estimate 9,256 marketable zinnia stems from 1,780 plants, assuming 65 percent are sold at 8 stems each, and 2,800 single-stem sunflowers on the same 1,000 square feet. Your own spacing, weather and pests will move these numbers, so track a full season of your harvest and use your real count.
What costs should I count when figuring flower farm profit?
Count marketing and selling costs, seed and plugs, soil and fertilizer, your labor hours at a real wage, and a share of tools, irrigation, cooler space and general overhead. University of Tennessee’s budgets add 20 percent of sales for marketing and 15 percent of production cost for overhead. Leaving out your own time is the most common way growers overstate profit.
Ready to price what those beds grow? The Flower Farm Pricing Toolkit does the math for bouquets, market bunches, weddings and CSA shares, with your labor already in it.
Free Flower Price Cheat Sheet
Two pages of cost-per-stem, bouquet, wholesale, CSA, and wedding formulas, with labeled sample numbers. Enter your email and I will send the PDF.
(function(){
var P={z:{pl:1780,mk:65,sp:8,pr:"1.00",mf:20,gc:959,lh:112,wg:15.87,fx:1579},s:{pl:4000,mk:70,sp:1,pr:"1.70",mf:20,gc:947,lh:68,wg:15.87,fx:1153}};
function $(id){return document.getElementById(id);}
function v(id){var x=parseFloat($(id).value);return isNaN(x)||x<0?0:x;}
function money(x){return (x<0?"-$":"$")+Math.round(Math.abs(x)).toLocaleString("en-US");}
function num(x){return Math.round(x).toLocaleString("en-US");}
function esc(s){return String(s).replace(/&/g,"&").replace(/</g,"<");}
$("ac-crop").addEventListener("change",function(){var p=P[this.value];for(var k in p){$("ac-"+k).value=p[k];}run();});
function bars(items,max){var h='<div class="bars">';items.forEach(function(it){var w=max>0?Math.max(0,it.v)/max*100:0;h+='<div class="b" title="'+esc(it.l+": "+it.t)+'"><span>'+esc(it.l)+'</span><div class="track"><div class="fill" style="width:'+w.toFixed(1)+'%;background:'+it.c+'"></div></div><span class="val">'+esc(it.t)+'</span></div>';});return h+'</div>';}
function line(stems,mf,flat,price,be){
var W=Math.max(300,Math.min(640,($('ac-out').clientWidth||560))),H=Math.round(W*0.42)+40,L=58,R=14,T=14,B=30;var xmax=Math.max(price*2,be*1.6,1);xmax=Math.ceil(xmax*4)/4;
function prof(p){return stems*p*(1-mf)-flat;}
var ymin=prof(0),ymax=prof(xmax);if(ymax<=0)ymax=Math.abs(ymin)*0.3;
function X(p){return L+(p/xmax)*(W-L-R);}function Y(y){return T+(ymax-y)/(ymax-ymin)*(H-T-B);}
var s='<svg viewBox="0 0 '+W+' '+H+'" role="img" aria-label="Line chart: profit per 1,000 square feet rises with price per stem; it crosses zero at the break-even price of $'+be.toFixed(2)+'.">';
[ymin,0,ymax].forEach(function(t){s+='<line x1="'+L+'" x2="'+(W-R)+'" y1="'+Y(t)+'" y2="'+Y(t)+'" stroke="'+(t===0?'#8a8579':'#ece6db')+'" stroke-width="1"/><text x="'+(L-6)+'" y="'+(Y(t)+4)+'" text-anchor="end">'+money(t)+'</text>';});
for(var i=0;i<=4;i++){var p=xmax*i/4;s+='<text x="'+X(p)+'" y="'+(H-10)+'" text-anchor="middle">$'+p.toFixed(2)+'</text>';}
s+='<line x1="'+X(0)+'" y1="'+Y(prof(0))+'" x2="'+X(xmax)+'" y2="'+Y(prof(xmax))+'" stroke="#1F7FA8" stroke-width="2.5" stroke-linecap="round"/>';
if(be>0&&be<=xmax){s+='<circle cx="'+X(be)+'" cy="'+Y(0)+'" r="5" fill="#D9622B" stroke="#fffdf9" stroke-width="2"/><text x="'+(X(be)+8)+'" y="'+(Y(0)+18)+'" style="fill:#1f1d1a;font-weight:600">break-even $'+be.toFixed(2)+'</text>';}
s+='<circle cx="'+X(price)+'" cy="'+Y(prof(price))+'" r="5" fill="#1F7FA8" stroke="#fffdf9" stroke-width="2"/><text x="'+(X(price)-8)+'" y="'+(Y(prof(price))-10)+'" text-anchor="end" style="fill:#1f1d1a;font-weight:600">you: '+money(prof(price))+'</text>';
s+='<rect class="hit" x="'+L+'" y="'+T+'" width="'+(W-L-R)+'" height="'+(H-T-B)+'" fill="transparent"/></svg>';
return {svg:s,X:X,L:L,R:R,W:W,xmax:xmax,prof:prof};
}
function run(){
var sqft=$("ac-unit").value==="acre"?v("ac-area")*43560:v("ac-area");var k=sqft/1000;
var stems=v("ac-pl")*(Math.min(v("ac-mk"),100)/100)*v("ac-sp");var price=v("ac-pr");var mf=Math.min(v("ac-mf"),100)/100;
var sales=stems*price,mkt=sales*mf,gc=v("ac-gc"),lab=v("ac-lh")*v("ac-wg"),fx=v("ac-fx");var flat=gc+lab+fx;var cost=mkt+flat;var net=sales-cost;
var perHour=v("ac-lh")>0?(net+lab)/v("ac-lh"):0;var be=stems*(1-mf)>0?Math.ceil(flat/(stems*(1-mf))*100)/100:0;
var h='<div class="hero'+(net<0?' neg':'')+'"><div class="k">'+(net<0?'These beds lose, per 1,000 sq ft':'You keep, per 1,000 sq ft of beds')+'</div><div class="v">'+money(net)+'</div><div class="small">'+num(stems)+' stems sold, '+money(sales)+' in sales, '+money(cost)+' in costs including your labor.'+(k!==1?' Your '+num(sqft)+' sq ft: <strong>'+money(net*k)+'</strong>.':'')+'</div></div>';
h+='<div class="tiles"><div class="tile"><div class="k">You earn per hour worked</div><div class="v">'+money(perHour)+'</div><div class="s">profit plus wage, per hour</div></div><div class="tile"><div class="k">Break-even price</div><div class="v">$'+be.toFixed(2)+'</div><div class="s">per stem, after all costs</div></div><div class="tile"><div class="k">Per acre ceiling</div><div class="v">'+money(net*43.56)+'</div><div class="s">only if every acre did this</div></div></div>';
if(sqft>=43560/4){h+='<p class="small" style="margin-top:10px">Heads up: an acre of beds at these numbers means selling '+num(stems*43.56)+' stems a season. A Virginia Tech extension guide cites $25,000 to $35,000 in value per acre for field-grown cut flowers. Line up buyers for this volume before you plant for it.</p>';}
if(net<0){h+='<p class="small" style="margin-top:10px;color:#9a3a14"><strong>These beds lose money.</strong> Raise your stem price above the break-even, cut costs, or sell more of what you grow.</p>';}
if(sales>0){var c="#D9622B",p="#1F7FA8";var items=[{l:"Marketing",v:mkt},{l:"Labor",v:lab},{l:"Overhead",v:fx},{l:"Growing",v:gc}].sort(function(a,b){return b.v-a.v;}).map(function(i){return {l:i.l,v:i.v/sales,t:Math.round(i.v/sales*100)+"¢",c:c};});items.push({l:net<0?"Loss":"You keep",v:Math.abs(net)/sales,t:(net<0?"-":"")+Math.round(Math.abs(net)/sales*100)+"¢",c:net<0?"#8a8579":p});
var mx=0;items.forEach(function(i){if(i.v>mx)mx=i.v;});
h+='<div class="chart-t">Where each $1 of sales goes</div><div class="legend"><span><i style="background:#D9622B"></i>Costs</span><span><i style="background:#1F7FA8"></i>Profit</span></div>'+bars(items,mx);}
var ln=line(stems,mf,flat,price,be);
h+='<div class="chart-t">Price per stem is your biggest lever</div><div style="position:relative" id="ac-lw">'+ln.svg+'<div class="tip" id="ac-tip"></div></div><p class="small">Profit per 1,000 sq ft at each stem price, with your other numbers held the same.</p>';
h+='<div class="cta"><p><strong>Your floor is $'+be.toFixed(2)+' a stem. Now set prices that clear it.</strong> The Flower Farm Pricing Toolkit turns your real costs into prices for bouquets, market bunches, CSA shares and weddings, with your labor built in.</p><div class="btns"><a class="btn" href="https://annakatherinepage.com/product/flower-farm-pricing-toolkit/?utm_source=blog&utm_medium=article&utm_campaign=cb_site_nov26&utm_content=flower-farm-profit-per-acre-calculator">Get the $27 toolkit</a></div></div>';
$("ac-out").innerHTML=h;
var w=$("ac-lw"),tip=$("ac-tip"),svg=w.querySelector("svg");
w.addEventListener("mousemove",function(e){var r=svg.getBoundingClientRect();var sx=(e.clientX-r.left)/r.width*ln.W;if(sx<ln.L||sx>ln.W-ln.R){tip.style.display="none";return;}var pp=(sx-ln.L)/(ln.W-ln.L-ln.R)*ln.xmax;tip.innerHTML="$"+pp.toFixed(2)+" a stem: "+money(ln.prof(pp));tip.style.display="block";tip.style.left=Math.min(e.clientX-w.getBoundingClientRect().left+10,r.width-170)+"px";tip.style.top="0px";});
w.addEventListener("mouseleave",function(){tip.style.display="none";});
}
["ac-area","ac-unit","ac-pr","ac-pl","ac-mk","ac-sp","ac-mf","ac-gc","ac-lh","ac-wg","ac-fx"].forEach(function(id){$(id).addEventListener("input",run);$(id).addEventListener("change",run);});
run();
var rt;window.addEventListener('resize',function(){clearTimeout(rt);rt=setTimeout(run,200);});
})();
window.fluent_form_ff_form_instance_2_1 = {"id":"2","ajaxUrl":"https:\/\/annakatherinepage.com\/wp-admin\/admin-ajax.php","settings":{"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","asteriskPlacement":"asterisk-right"},"restrictions":{"denyEmptySubmission":{"enabled":false}}},"form_instance":"ff_form_instance_2_1","form_id_selector":"fluentform_2","rules":{"email":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}}},"debounce_time":300,"file_upload_settings":[]};
window.fluent_form_ff_form_instance_5_2 = {"id":"5","ajaxUrl":"https:\/\/annakatherinepage.com\/wp-admin\/admin-ajax.php","settings":{"layout":{"labelPlacement":"top","asteriskPlacement":"asterisk-right","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""},"restrictions":{"denyEmptySubmission":{"enabled":false}}},"form_instance":"ff_form_instance_5_2","form_id_selector":"fluentform_5","rules":{"email":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}}},"debounce_time":300,"file_upload_settings":[]};
(function(){
if (!window.matchMedia || !window.matchMedia('(max-width: 781px)').matches) return;
var aff = /go\.shopmy\.us|amzn\.to|amazon\.com\/.*tag=|walmrt\.us|pxf\.io|shareasale|awin1|anrdoezrs|dpbolvw|jdoqocy|tkqlhce|kqzyfj|sjv\.io|linksynergy/i;
var root = document.querySelector('.wp-block-post-content') || document.querySelector('.entry-content');
if (!root) return;
var btns = root.querySelectorAll('a.wp-block-button__link');
var first = null;
for (var i = 0; i < btns.length; i++) { if (aff.test(btns[i].href)) { first = btns[i]; break; } }
if (!first) return;
var name = '';
var p = root.querySelector('p');
if (p) { var l = p.querySelector('a'); if (l && l.href === first.href) name = l.textContent; }
if (!name) name = first.textContent;
var bar = document.createElement('div');
bar.className = 'ak-sticky-buy';
bar.setAttribute('role', 'region');
bar.setAttribute('aria-label', 'Top pick');
var span = document.createElement('span'); span.className = 'ak-sb-name'; span.textContent = 'Top pick: ' + name.trim();
var a = document.createElement('a'); a.href = first.href; a.target = '_blank'; a.rel = 'nofollow sponsored noopener'; a.textContent = 'Shop now';
var x = document.createElement('button'); x.type = 'button'; x.setAttribute('aria-label', 'Close'); x.textContent = '×';
bar.appendChild(span); bar.appendChild(a); bar.appendChild(x);
document.body.appendChild(bar);
var closed = false;
x.addEventListener('click', function(){ closed = true; bar.classList.remove('is-on'); });
function check(){
if (closed) return;
var r = first.getBoundingClientRect();
var footer = document.querySelector('footer');
var nearEnd = footer && footer.getBoundingClientRect().top < window.innerHeight;
if (r.bottom < 0 && !nearEnd) bar.classList.add('is-on'); else bar.classList.remove('is-on');
}
window.addEventListener('scroll', check, { passive: true });
check();
})();
(function () {
var c = document.body.className;
c = c.replace(/woocommerce-no-js/, 'woocommerce-js');
document.body.className = c;
})();
var fluentFormVars = {"ajaxUrl":"https://annakatherinepage.com/wp-admin/admin-ajax.php","forms":[],"step_text":"Step %activeStep% of %totalStep% - %stepTitle%","step_completed_text":"Completed","is_rtl":"","date_i18n":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":{"shorthand":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"longhand":["January","February","March","April","May","June","July","August","September","October","November","December"]},"weekdays":{"longhand":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shorthand":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"daysInMonth":[31,28,31,30,31,30,31,31,30,31,30,31],"rangeSeparator":" to ","weekAbbreviation":"Wk","scrollTitle":"Scroll to increment","toggleTitle":"Click to toggle","amPM":["AM","PM"],"yearAriaLabel":"Year","firstDayOfWeek":1},"pro_version":"","fluentform_version":"6.2.17","force_init":"","stepAnimationDuration":"350","upload_completed_txt":"100% Completed","upload_start_txt":"0% Completed","uploading_txt":"Uploading","choice_js_vars":{"noResultsText":"No results found","loadingText":"Loading...","noChoicesText":"No choices to choose from","itemSelectText":"Press to select","maxItemTextSingular":"Only %%maxItemCount%% option can be added","maxItemTextPlural":"Only %%maxItemCount%% options can be added"},"input_mask_vars":{"clearIfNotMatch":false},"nonce":"7c80d6e00c","file_delete_nonce":"b65f233ec2","form_id":"2","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"","token_nonce":"017102e809"};
var fluentform_submission_messages_2 = {"file_upload_in_progress":"File upload in progress. Please wait...","javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_payment_messages_2 = {"stock_out_message":"This Item is Stock Out","item_label":"Item","price_label":"Price","qty_label":"Qty","line_total_label":"Line Total","sub_total_label":"Sub Total","discount_label":"Discount","total_label":"Total","signup_fee_label":"Signup Fee","trial_label":"Trial","processing_text":"Processing...","confirming_text":"Confirming..."};
var fluentform_save_progress_messages_2 = {"copy_button":"Copy","email_button":"Email","email_placeholder":"Your Email Here","copy_success":"Copied"};
var fluentform_address_messages_2 = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentform_gateway_messages_2 = {"request_failed":"Request failed. Please try again","payment_failed":"Payment process failed!","no_method_found":"No method found","processing_text":"Processing..."};
var fluentform_submission_messages_global = {"javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_address_messages_global = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentFormVars = {"ajaxUrl":"https://annakatherinepage.com/wp-admin/admin-ajax.php","forms":[],"step_text":"Step %activeStep% of %totalStep% - %stepTitle%","step_completed_text":"Completed","is_rtl":"","date_i18n":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":{"shorthand":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"longhand":["January","February","March","April","May","June","July","August","September","October","November","December"]},"weekdays":{"longhand":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"shorthand":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"daysInMonth":[31,28,31,30,31,30,31,31,30,31,30,31],"rangeSeparator":" to ","weekAbbreviation":"Wk","scrollTitle":"Scroll to increment","toggleTitle":"Click to toggle","amPM":["AM","PM"],"yearAriaLabel":"Year","firstDayOfWeek":1},"pro_version":"","fluentform_version":"6.2.17","force_init":"","stepAnimationDuration":"350","upload_completed_txt":"100% Completed","upload_start_txt":"0% Completed","uploading_txt":"Uploading","choice_js_vars":{"noResultsText":"No results found","loadingText":"Loading...","noChoicesText":"No choices to choose from","itemSelectText":"Press to select","maxItemTextSingular":"Only %%maxItemCount%% option can be added","maxItemTextPlural":"Only %%maxItemCount%% options can be added"},"input_mask_vars":{"clearIfNotMatch":false},"nonce":"7c80d6e00c","file_delete_nonce":"b65f233ec2","form_id":"5","step_change_focus":"1","has_cleantalk":"","pro_payment_script_compatible":"","token_nonce":"017102e809"};
var fluentform_submission_messages_5 = {"file_upload_in_progress":"File upload in progress. Please wait...","javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_payment_messages_5 = {"stock_out_message":"This Item is Stock Out","item_label":"Item","price_label":"Price","qty_label":"Qty","line_total_label":"Line Total","sub_total_label":"Sub Total","discount_label":"Discount","total_label":"Total","signup_fee_label":"Signup Fee","trial_label":"Trial","processing_text":"Processing...","confirming_text":"Confirming..."};
var fluentform_save_progress_messages_5 = {"copy_button":"Copy","email_button":"Email","email_placeholder":"Your Email Here","copy_success":"Copied"};
var fluentform_address_messages_5 = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
var fluentform_gateway_messages_5 = {"request_failed":"Request failed. Please try again","payment_failed":"Payment process failed!","no_method_found":"No method found","processing_text":"Processing..."};
var fluentform_submission_messages_global = {"javascript_handler_failed":"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again"};
var fluentform_address_messages_global = {"please_wait":"Please wait ...","location_not_determined":"Could not determine address from location.","address_fetch_failed":"Failed to fetch address from coordinates.","geolocation_failed":"Geolocation failed or was denied.","geolocation_not_supported":"Geolocation is not supported by this browser."};
//# sourceURL=fluent-form-submission-js-extra
(function () {
var LABEL = "Send me the cheat sheet";
var PDF = "https://annakatherinepage.com/wp-content/uploads/2026/11/flower-price-cheat-sheet.pdf";
var CONFIRM = '<p>Your Flower Price Cheat Sheet is ready. <a href="' + PDF + '">Download the two-page PDF</a> now.</p><p>Give the email a minute, and peek in spam the first time so the next one lands in your inbox. The formulas use labeled sample numbers. Type over them with yours.</p>';
function retitle() {
var buttons = document.querySelectorAll(".fluent_form_5 .ff-btn-submit, form.fluent_form_5 .ff-btn-submit, .frm-fluent-form.fluent_form_5 .ff-btn-submit");
for (var i = 0; i < buttons.length; i++) {
var b = buttons[i];
if ((b.textContent || "").indexOf("cheat sheet") === -1) {
b.textContent = LABEL;
b.setAttribute("aria-label", LABEL);
}
b.style.backgroundColor = "#5a6b4e";
b.style.borderColor = "#5a6b4e";
b.style.color = "#ffffff";
}
var styles = document.querySelectorAll(".ff-form-inline-style style");
for (var j = 0; j < styles.length; j++) {
var s = styles[j];
if ((s.textContent || "").indexOf("fluent_form_5") !== -1 && (s.textContent || "").indexOf("#123d2e") !== -1) {
s.textContent = s.textContent.replace(/#123d2e/g, "#5a6b4e");
}
}
}
if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", retitle);
else retitle();
setTimeout(retitle, 400);
function maybeFixSuccess(root) {
if (!root) return;
var success = root.querySelector(".ff-message-success, .ff-el-success, .ff-form-success");
if (!success) return;
var t = (success.textContent || "").toLowerCase();
if (t.indexOf("inbox") !== -1 || t.indexOf("cheat sheet") === -1) {
success.innerHTML = CONFIRM;
}
}
document.addEventListener("fluentform_submission_success", function () {
maybeFixSuccess(document.querySelector(".fluentform_wrapper_5, #fluentform_5, .ff_form_wrapper_5"));
});
if (window.jQuery) {
window.jQuery(document).on("fluentform_submission_success", function () {
maybeFixSuccess(document.querySelector(".fluentform_wrapper_5, #fluentform_5, .ff_form_wrapper_5"));
});
}
})();
(function(){
function rgb(c){var m=(c||"").match(/[0-9.]+/g);return m?m.map(Number):null;}
function lum(a){return (0.299*a[0]+0.587*a[1]+0.114*a[2])/255;}
function effbg(el){var n=el;while(n){var c=rgb(getComputedStyle(n).backgroundColor);if(c&&(c.length<4||c[3]>0.5))return c;n=n.parentElement;}return null;}
var sel="main h1,main h2,main h3,main h4,main p,main li,main span,#frc h1,#frc h2,#frc h3,#frc p,#frc span,#frc li";
document.querySelectorAll(sel).forEach(function(t){
var bg=effbg(t);
if(!bg) return;
if(lum(bg)<0.30){
var fc=rgb(getComputedStyle(t).color);
if(fc && lum(fc)<0.5){ t.style.setProperty("color","#f7f1e6","important"); }
}
});
})();
(function () {
function formIdFrom(ev, data) {
var id = "";
var form = null;
if (data) {
if (data.formId != null) id = String(data.formId);
else if (data.form_id != null) id = String(data.form_id);
form = data.form;
if (form && form.jquery) form = form[0];
}
if (!form && ev && ev.detail) {
form = ev.detail.form;
if (form && form.jquery) form = form[0];
if (!id) {
if (ev.detail.formId != null) id = String(ev.detail.formId);
else if (ev.detail.form_id != null) id = String(ev.detail.form_id);
}
}
if (!form && ev && ev.target && ev.target.nodeType === 1) {
form = ev.target.closest ? (ev.target.closest("form") || ev.target.closest("[id^='fluentform_']") || ev.target.closest("[class*='fluent_form_']")) : ev.target;
}
if (!id && form) {
var src = String((form.id || "") + " " + (form.className || "") + " " + (form.getAttribute && (form.getAttribute("data-form_id") || form.getAttribute("data-id") || "") || ""));
var m = src.match(/fluentform_wrapper_(\d+)/) || src.match(/fluentform_(\d+)/) || src.match(/fluent_form_(\d+)/);
if (m) id = m[1];
}
return id;
}
function newEventId() {
try {
if (window.crypto && typeof crypto.randomUUID === "function") return crypto.randomUUID();
} catch (err) {}
return "ff5lead_" + Date.now() + "_" + Math.random().toString(16).slice(2);
}
var lockUntil = 0;
function fireLead(ev, data) {
if (formIdFrom(ev, data) !== "5") return;
if (typeof window.fbq !== "function") return;
var now = Date.now();
if (now < lockUntil) return;
lockUntil = now + 2000;
var eid = newEventId();
try {
fbq("track", "Lead", { content_name: "Flower Price Cheat Sheet" }, { eventID: eid });
} catch (err) {}
}
document.addEventListener("fluentform_submission_success", function (ev) {
fireLead(ev, ev && ev.detail);
});
if (window.jQuery) {
window.jQuery(document).on("fluentform_submission_success", function (ev, data) {
fireLead(ev, data);
});
window.jQuery(document.body).on("fluentform_submission_success", function (ev, data) {
fireLead(ev, data);
});
}
})();
Leave a Reply