I'm in the process of setting up a ConversionValue to pass to Google AdWords, but I'm stuck on what is probably a basic .Net context issue.
I calculate the total CostOfGoods in OrderTotalSummary.ascx.cs, and stick it into a string (asp:Label) in OrderTotalSummary.ascx.
The total price and conversion value are calculated in ReceiptPage.ascx.cs.
How do I access the CostOfGoods (in OrderTotalSummary.ascx/.cs) from the "calling" page, ReceiptPage.ascx(/.cs), without getting an error like this?
error CS0103: The name 'Subtotal_cog' does not exist in the current context
passing price minus CostOfGoods as AdWords ConversionValue
- crockettdunn
- Lieutenant Commander (LCDR)
- Posts: 105
- Joined: Sun Oct 26, 2008 6:32 pm
- Contact: