KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Inserting a comment to a specific item in your order
PRODUCT: 4D Business Kit | VERSION: 1.0 | PLATFORM: Mac & Win
Published On: June 4, 2002

Here is the situation: You operate a store using 4D Business Kit and your customers place orders that need to be personalized. For example, they purchase a picture frame and would like to have it engraved. You can allow your customers to specify what they want to be engraved by using the command "4DBKInfoSet" along with the comments in the code used to add the item into the shopping cart.

For example:

<a href="4DBKExecute:4DBKStoreSet/MYDV;4DBKQuantitySet/+1;4DBKInfoSet/Happy Birthday!;4DBKBasketSet/!4DBKField/C01;4DBKGo/menu.htm"target="menu"><img src="../WebMediaUS/icoAddToCart.gif" width="23" height="25" border="0" align="absmiddle"><b>Add to cart</b></a></td>


NOTE: You may also decide to pass in a variable from an html form, setting that form variable to a 4D Business Kit variable using the 4DBKVarSet command and replace the string "Happy Birthday!" above, with the designated 4DBK variable.