Set Quote Expiration
Set how many days after a quote request is submitted you want quotes to stay valid. After that, the quote can't become a purchase, regardless of its status.
Example
You want quotes to stay valid for 14 days after a customer submits a request. You set the Days to Expiration field to 14. Any quote created on your site has 14 days to become a purchase. If a customer waits 15 days, they won't be able to buy from that quote.
To configure the quote’s expiration:
-
Go to Commerce > Websites > Configuration.
-
Select your website and domain and click Configure.
-
Go to the My Account tab and the Quotes subtab.
-
In the Days to Expiration field, enter how many days until the quote expires.
If you enter a value of 0, the Default Quote Expiration (In Days) value in the Sales Preference record will set the quote expiration. To check this value, go to Setup > Sales > Sales Preferences.
-
In the Days Before Expiration Notification field, enter how many days before a quote expires you want to display an expiration notice on your website.
-
Click Save.
To configure the quote’s expiration (SuiteCommerce Advanced pre-Vinson):
-
Create a custom module that includes the SC.MyAccount.Configuration object as a dependency. See Create a Custom Module for instructions.
Note:Don't edit the original Configuration.js source file. See Best Practices for Customizing SCA for information and best practices for customizing JavaScript.
This task requires developer experience.
-
Update the
days_to_expire
property in the custom module to match the number of days before a quote expires. -
Update the
quote.daysToExpirationNotification
property in the custom module to match the number of days before a quote expires when you want to display an expiration notification on your website. -
Save and deploy to your site. See Deploy SCA Customizations to NetSuite for more information.