KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Retrieving personalized item information from an order
PRODUCT: 4D Business Kit | VERSION: 2.x | PLATFORM: Mac & Win
Published On: February 26, 2004
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Here is the situation:

Your clients (for whom you are setting up a store for) wants to show personalized data for each item in the order summary and the invoice.

Here is what you need to do:

If you need to personalize an order item you can use the command 4DBKInfoSet to pass in the personalized data to that order item (during the addition of this item into the basket). The problem people run into is when retrieving the personalized information. How? Simple. Since you entered an item into the shopping cart, the item is now a basket item and you must use the 4DBKField method to extract any information regarding that item. So, in order to extract the personalized data, use 4DBKField/BskInfo.

Note: If you need to update this field, you can use the command 4DBKInfoUpdate to do so.