I want to set up an alert to inform the customer that the price of shipping to an international location is subject to change based on the final rate.
How can I set this up? For domestic shipments the price is static so I only need this alert to appear for international clients.
Any ideas are appreciated! Thanks…
Anyone? I know I can simply add text to the template but I’d rather set something up that doesn’t have to be recreated each time I upgrade the system for updates.
Use a “post controller” for the ‘checkout’ controller.
Inside that post controller, for the ‘shipping mode’ check the ‘$user_data[‘s_country’]’ field and if it’s not domestic, add the following line of php code:
fn_set_notification('C', 'Notice', "International shipping rates may be different than displayed", TRUE);
[quote name=‘tbirnseth’]Use a “post controller” for the ‘checkout’ controller.
Inside that post controller, for the ‘shipping mode’ check the ‘$user_data[‘s_country’]’ field and if it’s not domestic, add the following line of php code:
[/QUOTE]
fn_set_notification('C', 'Notice', "International shipping rates may be different than displayed", TRUE);
Thank you so much!