This section is intended for both site designers and maintainers.
Overview: If your site supports a catalog system you may want to highlight either individual products or categories of products from a content page. Optionally you may want to be able to put a given product directly into the visitor's shopping cart from a content page.
- Linking to a category or product page.
- Putting a product into the visitor's shopping cart.
Linking to a category or product page.
The simplest method is to open the target page in a browser window, copy the location (URL) from the address bar and then enter either and image or text onto the page you want to link from. Highlight this text and click on the link icon.
Putting a product into the visitor's shopping cart.
The first rule is you can only put in "real" products, that is either stand alone or child products. The second rule is that there is no way for the system to suppress the link if the item is out of stock. Assuming the Product ID is 55, your site uses the 'Sample' database and its called 'Fancy Hat' you can use something like the following
Order a {a href='/cgi-bin/sc-v4/doscartDisQ.pl?client='Sample&Action=Add&PRID=55&55:Quant=1'}Fancy Hat{/a}
Which will look something like this: Order a Fancy Hat