Customer application tweaks with JavaScript - xmpie-users/uStore-js GitHub Wiki
There are a lot of useful JavaScript tweaks that can be applied to your uStore stores to enhance the basic features and workflows. Below are several examples:
Instructions
Ordering & Checkout
- Setting the shipping address to be the billing address by default
- Hiding the billing address if it is already entered
- Sorting the approvers drop-down list
- Hide the Add Address button
- Automatically refresh preview of dynamic product v1
- Automatically refresh preview of dynamic product v2
- Jump to customization step when reordering a dynamic product
- Repeating the terms and conditions acceptance
- Multiple cost center fields and cost center validation
- Cost Center Clearing with Dropdown List
- Cost Center value autopopulated from customer custom field
- Multiple dependent dials
- Add static products to the cart in one click
- Automatically recalculate pricing
- Show page preview based on customization step
- Hide preview of a specific composite product
- Resizing the rich text editor
- Hiding rich text editor buttons
- Hide unnecessary paging links
- Prevent TIF file upload to graphic dials
- Change clearing method based on user group
- Change clearing method based on user group v2 (NG)
- Forcing the user to actually view the proof before checkout
- Request Mandatory Phone number
- How to show the pricing table open by default
- Automatically apply a coupon or discount to a store
- Share a user's uploaded images across multiple products
- Replace a System Error Message with Custom Message
- Checking the wanted or requested date on reorders
- Validating a purchase order number format
- Hiding colors in the Rich Text Editor
- Hiding colors in uEdit
Order Approval
Order & account management
- Setting orders search to advanced by default
- Restrict new user registration to a specific email domain
- Showing the OrderProductId in the cart
Store design
- Changing CSS attributes on a specific product page
- Changing the whole store design (CSS) based on the logged in user
- Always open all side menu items (groups and sub groups)
- Hide Fixed cost column of pricing table
- Improving the image resolution in Product List
- Remove-(Trim)-Leading-and-Trailing-Spaces-in-User-Log-In-Form