For the sample workaround below, UPS Ground Shipping item will not be available for customer's with Shipping State of either Hawaii or Alaska.
1. Take note of the Internal ID assigned to UPS Ground shipping item.
- Navigate to Lists > Accounting > Shipping Items
- Take note of the Internal ID for UPS Ground (Ex. Internal ID= 6)
2. Create a new Tag
- Navigate to Setup > Site Builder > Tags > New
- Tag = EXCLUDEFORHIAK
- Description = This is a script to exclude UPS ground shipping for customers with shipping state of HI or AK
- Then Save.
Note: Make sure that the UPS Ground Internal ID is entered on the condition "if(radio_[z].value == 6)"
3. Edit one of the Web Site Themes
- Navigate to Setup > Site Builder > Themes
- Edit the theme that is currently applied on the web store
- On the Body Tab > Footer Template field, add the name of the tag <EXCLUDEFORHIAK>
- Then Save.
No comments:
Post a Comment