fix online store checkout scripts