Previous Topic

Next Topic

Book Contents

SalesCart-X Product Pages in Macromedia

If you are using Macromedia Dreamweaver or UltraDev as your web design tool, follow this section. If you have a different design tool, skip to the next section.

A SalesCart Product Page displays products, and is where shoppers add items to their carts. The following procedure will edit the existing product page created automatically by SalesCart during the Getting Started section, but it also applies to all SalesCart product pages that you create.

Macromedia Dreamweaver can understand and edit both .htm and .php pages so there is no special configuration required.

Your first "demo" SalesCart Product Page is already built for you by the SalesCart Web Wizard. To edit the existing "blank" SalesCart Product Page:

Open your Web Design Tool and edit the productpage.php page.

Note: If you insert the product link inside of a form, SalesCart "may" not work properly. Information passed on to the checkout pages will be associated with a form within a form. This may be useful though in advanced cases. You "MUST" delete the entire "pretend" product link including the form on the productpage.htm to prevent this mistake.

  1. Double click on the filename to edit /mall/productpage.php.
  2. The existing product link information is not a "real" product link just a demo, highlight the entire cell and delete it. Place the cursor where you would like to place the product link.
  3. To add a new Product Link to a Product Page, position your cursor where you want to add the product.
  4. From Macromedia go to: SalesCart>>SalesCart Main Menu. The SalesCart Main Menu should appear.
  5. Once you click on Add Product Link the following should appear.

These fields define a product. A Product Page is simply any .htm page or any page saved with .php extension and has a least one SalesCart Product Link on the page. SalesCart product pages should be saved with the .php extension if you are going to use the include options for product attributes (not .htm), and we recommend that you place them in the mall directory of your SalesCart Web. In addition, you will see that a SalesCart product page requires a link to /sc-bin/path.php so check and ensure the posting of the page is secure. The only thing that differentiates a normal html page from a SalesCart product page is that it is saved with .php extension and it has this require statement at the top.

<?
require("../sc-bin/path.php");
?>

Advanced Users: A product page can be stored in a folder other than the /mall folder but all of the relative links of the actual product link must be updated to accommodate that including the Add-to-Cart Button, Quantity Button, the Shop1.php and any other graphics or includes that are normally linked relative to the /mall folder.

Note: If you do not make use of certain features such as the product expiration or Include features, you can save the Product Page with a .htm or .html extension.

In This Section

General Property Dialog

Options Property Dialog

Discounts Property Dialog

Global Property Dialog

Checkout Property Dialog

About Property Dialog

See Also

PRODUCT PAGES in SalesCart-X

SalesCart-X Product Pages in FrontPage

Testing Your SalesCart-X Web