Users can use URL Parameters to interact with the NetSuite Web Store in a variety of ways, such as adding items to the cart, displaying shopping pages, and passing marketing information.
When a Promo Code is applied in the Shopping Cart, it cannot be overwritten with a new Promo Code unless shopper removes the Promo Code first using the Remove button in the Shopping Cart.
Users can automate this process by using URL Parameters instead to remove any Promo Codes which are applied to the Shopping Cart. Here is the URL Parameter to remove a Promo Code currently applied in the Shopping Cart:
http://shopping.netsuite.com/app/site/backend/setpromocode.nl?c={Account #}&n={Site Number}&kReferralCode=&redirect=/s.nl?sc={Internal ID of the Shopping Cart}
Account # (c=) - The user's NetSuite Account Number
Site Number (n=) - The Internal ID of the Site (if the user has multiple web sites)
Internal ID of the Shopping Cart (sc=) - The Shopping Cart's Internal ID. To get this, simply navigate to the Shopping Cart and take note of the value in the sc URL parameter. User can also navigate to Lists > Web Site > Tabs > view Shopping Cart and note the value of the ID on the address bar.
This URL sets the Promo Code in the Shopping Cart to empty, then redirects the shopper back to the Shopping Cart to reflect the changes. Here is a sample URL:
http://shopping.na1.netsuite.com/app/site/backend/setpromocode.nl?c=TSTDRV874458&n=1&kReferralCode=&redirect=/s.nl?sc=3
Note: If the user is using a custom domain for the web store, the Account # can already be ommitted from the URL, and the domain should be used instead of shopping.netsuite.com. Here is a sample:
http://www.mydomain.com/app/site/backend/setpromocode.nl?n=1&kReferralCode=&redirect=/s.nl?sc=3
No comments:
Post a Comment