how to add a separate line for RDF.
Announcement
Collapse
No announcement yet.
Retrieve AvaTax Customer Custom Fields
Collapse
X
-
Hey mvasquez, I had got my initial issue working, thanks to Brennan's answer on how to call those customer AvaTax fields.
-
Thank you Brennan - coming in clutch with the knowledge!!
This will help get some feature functionality implemented for the CO Retail Delivery Fee "tax" rolling out next month until Avalara, Miva and others get this change smoothed out in their respective systems.
Leave a comment:
-
Here is an example of how to load all 3 peices of Avatax Customer Data in template code:
Code:<mvt:do file="g.module_store_module_tax" name="l.settings:customer:avatax_exemption" value="Module_Customer_Field_Value( l.module, g.customer:id, 'exemption' ) " /> Exemption Code: &mvte:customer:avatax_exemption; <mvt:do file="g.module_store_module_tax" name="l.settings:customer:avatax_customer_code" value="Module_Customer_Field_Value( l.module, g.customer:id, 'code' ) " /> Customer Code: &mvte:customer:avatax_customer_code; <mvt:do file="g.module_store_module_tax" name="l.settings:customer:avatax_use_code" value="Module_Customer_Field_Value( l.module, g.customer:id, 'usecode' ) " /> Use Code: &mvte:customer:avatax_use_code;
- 1 like
Leave a comment:
-
Retrieve AvaTax Customer Custom Fields
My site has AvaTax implemented and there is a specific function I am writing which needs to check the AvaTax Customer Code when the user is logged in. I am not quite sure how to target this - say on the OSEL page.
I have been informed that this value is exposed as a Customer Custom Field so:
HTML Code:<mvt:do file="g.Module_Root $ '/modules/util/customfld.mvc'" name="l.success" value="Module_Customer_Field_Value( module, customer_id, 'code' ) " />
Attached FilesTags: None
Leave a comment: