BuyButtons are small ASP code fragments that are embedded in the catalog pages of your web site. The code fragments can be seen on the supplied demo page. The BuyButtons allow the customer to place items in the Shopping Basket. The use of small embeddable objects allows the web designer to create any look imaginable and incorporate into that look product purchasing commands.
BuyButtons can be heavily customized because the full source code is provided. Buy buttons can also be customized for you by C Prompt. The cost is affordable. If you are interested is customized BuyButtons please contact CPrompt.
BuyObjects are defined in the SendSafe.BuyPageSetup.inc.asp (source code provided) and examples of use can be found in the SendSafe.buysample.asp page. These ASP code fragments cause BuyObjects to be dynamically consturcted as the ASP page is rendered.
Note: Not all parameters are available for all BuyButton functions (see SendSafe.BuyPageSetup.inc.asp source code for specific details).
| API Parameter | Description |
| itemCodeId | The item code that this buy object will sell |
| qtyListName | The name of a quantity price list OR empty for nothing. Once a qty Price table is in effect for an order, it counts for the entire order. |
| attribList | List of comma delimited attributes (or if empty then then attribute list from database is used). If the attribute list = "-1" or "," then no attribute list is displayed (even if present in the database) |
| showDescription | true/false show the FullName of the product as a description |
| showPrice | true/false show the price from the database |
| showStock | true/false show the stocking level of the item |
| showInLine | true/false show attribute in line with other fields |
| buttonText | Label for the Buy Button or empty for default value ("BUY") |
| suppressLabels | true/false show labels |
| font | The font to use (Arial, Courier, etc.) |
| fontsize | The size of the font (1,2,3...) |
| overRidePrice | Over rides the price obtained from the database and the Quantity table (if present) |
| buttonicon | Icon to use for button (empty to use standard button) |
| width | Width of button icon |
| height | Height of button icon |
| showQty | Shows Qty Entry Field (if not show qty is set to 1) |
| alignment | Set to HTML alignment strings "Center", "Right", "Left", etc. |
| allowPriceChange | true/false Allows the User to key in any price they like... (this is typically used for internal admin price entry OR invoicing Or etc.) |