archive-com.com » COM » S » SHOPSITE.COM

Total: 858

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Custom Product Templates: Product Name, SKU, and Description
    fields Not all of the sample products have information in all three fields The product information is presented within a fairly simple page template Product Name 23496 ss Here is my product description details about my product DEFINE PRODUCT IF PRODUCT DisplayName PRODUCT NameSize Begin PRODUCT NameStyle Begin PRODUCT Name PRODUCT NameStyle End PRODUCT NameSize End END IF IF PRODUCT DisplaySKU br PRODUCT SKUSize Begin PRODUCT SKUStyle Begin PRODUCT SKU PRODUCT SKUStyle End PRODUCT SKUSize End END IF IF PRODUCT ProductDescription br PRODUCT DescriptionSize Begin PRODUCT DescriptionStyle Begin PRODUCT ProductDescription PRODUCT DescriptionStyle End PRODUCT DescriptionSize End END IF END DEFINE PRODUCT Product Name As A Link If you want to make it so that the product name is a hyperlink to the product more information page if the product more information page is turned on You can set up the product name section in your product template similar to the following IF PRODUCT DisplayName PRODUCT NameSize Begin PRODUCT NameStyle Begin IF PRODUCT DisplayMoreInformationPage a href PRODUCT MoreInfoURL PRODUCT Name a ELSE PRODUCT Name END IF PRODUCT NameStyle End PRODUCT NameSize End END IF Include Files Rather than create your own template code for these fields you can use the same code that is used by the built in ShopSite templates The custom template code to display each of these fields is contained in separate include files and you can use them by putting these lines in your template in the appropriate places DEFINE PRODUCT INCLUDE Product Name PROCESS INCLUDE Product Sku PROCESS INCLUDE Product Description PROCESS END DEFINE PRODUCT Return To Product Template Home Page Check These Out Mobile Commerce Product Reviews Cross Sell UpSell Breadcrumbs Responsive Design Top Template Tips Custom Cart No Template Quick Easy Templates Divided Customer Text Entry Multi Add To Cart Template View All Most

    Original URL path: http://www.shopsite.com/templates/examples/product-01-name_sku_description.html (2016-01-08)
    Open archived version from archive


  • Custom Product Templates: Product Price
    Begin PRODUCT AltPrice PRODUCT PriceStyle End PRODUCT PriceSize End END IF END IF END IF END DEFINE PRODUCT Product Quantity Pricing Example 3 Quantity pricing a ShopSite Pro feature is quite different from other types of product pricing and uses a different set of custom template tags The quantity pricing information is presented in an HTML table The merchant can select background colors for the table rows but you can apply additional formatting by defining attributes for the table qpheader element in a CSS style sheet Quantity pricing requires customers to be able to enter the quantity that they want to order so your template must also display the product quantity input box An input box requires an HTML form so instead of a simple Add to Cart link your template must have a form submit button Because quantity pricing and other pricing options are so different it s best to use an IF tag to test for quantity pricing and then have two separate paths through the code Although the merchant can enter values for regular pricing quantity pricing and variable pricing they are mutually exclusive and quantity pricing take priority Product Name Quantity 1 12 13 Price 4 00 3 50 On Sale 3 75 3 25 Quantity DEFINE PRODUCT IF PRODUCT DisplayName PRODUCT NameSize Begin PRODUCT NameStyle Begin PRODUCT Name PRODUCT NameStyle End PRODUCT NameSize End END IF IF PRODUCT QuantityPricing PRODUCT QuantityPricing form action SHOPPING CART URL BASE order cgi method post Quantity input type text size 2 name PRODUCT RecordNumber qnty value 1 input type hidden name storeid value STORE ID input type hidden name dbname value products input type hidden name function value add input type hidden name itemnum value PRODUCT RecordNumber input class add type submit value ADDTEXT form ELSE define a VAR to track if a product is on sale VAR SaleOn no if product is on sale and there is a sale price set VAR IF PRODUCT SaleOn IF PRODUCT SaleAmount VAR SaleOn yes Else VAR SaleOn no END IF END IF IF PRODUCT DisplayPrice br IF VAR SaleOn yes strike PRODUCT Price strike PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT SaleAmount PRODUCT PriceStyle End PRODUCT PriceSize End STORE OnSaleText IF PRODUCT AltPrice br strike PRODUCT AltPrice strike PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT AltSaleAmount PRODUCT PriceStyle End PRODUCT PriceSize End END IF ELSE product is not on sale PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT Price PRODUCT PriceStyle End PRODUCT PriceSize End IF PRODUCT AltPrice PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT AltPrice PRODUCT PriceStyle End PRODUCT PriceSize End END IF END IF END IF END IF END DEFINE PRODUCT Product Variable Price Example 4 Variable pricing a ShopSite Pro feature overrides regular pricing when enabled Because customers can enter the price that they want to pay for the product your template must use an HTML form and a submit button instead of an Add to Cart link If the merchant has enabled variable price for a product variable

    Original URL path: http://www.shopsite.com/templates/examples/product-02-price.html (2016-01-08)
    Open archived version from archive

  • Custom Product Templates: Product Graphic
    Attributes This example shows how to specify some image attributes for a product graphic Using the Remove HTML attribute with the PRODUCT Graphic tag leaves all the merchant defined image attributes but also lets you specify additional attributes This example sets left alignment for the image IF PRODUCT DisplayGraphic IF PRODUCT Graphic img PRODUCT Graphic Remove HTML align left END IF END IF Example 3 Specify All Image Attributes For full control over image attributes you can use the IMAGE Product Graphic tag which only returns the path and file name of the image IF PRODUCT DisplayGraphic IF PRODUCT Graphic img src media IMAGE PRODUCT Graphic align left border 0 alt Click for more information END IF END IF Example 4 Product Image with Link to More Info Page This example tests to see if a product has a More Info page defined If it does the template makes the product name and graphic into hyperlinks IF PRODUCT DisplayGraphic IF PRODUCT Graphic IF PRODUCT DisplayMoreInformationPage a href PRODUCT MoreInfoURL PRODUCT Graphic a ELSE PRODUCT Graphic END IF END IF END IF Example 5 Product Image with Alignment Using the merchant defined image alignment is fairly easy though you may have to work with it a bit to get the text wrap effects that you want IF PRODUCT DisplayGraphic IF PRODUCT Graphic img PRODUCT Graphic Remove HTML align PRODUCT ImageAlignment END IF END IF Return To Product Template Home Page Check These Out Mobile Commerce Product Reviews Cross Sell UpSell Breadcrumbs Responsive Design Top Template Tips Custom Cart No Template Quick Easy Templates Divided Customer Text Entry Multi Add To Cart Template View All Most Popular Tips Update Your Templates New v12 SP1 Template Tags New v12 Template Tags New v11 SP2 Template Tags New v11 SP1 Template Tags New v11

    Original URL path: http://www.shopsite.com/templates/examples/product-03-graphic.html (2016-01-08)
    Open archived version from archive

  • Custom Product Templates: Ordering Options
    just displays a simple Add to Cart button Product Name Roses Daisies Mums Lilies Red White Pink Yellow IF PRODUCT DisplayOrderingOptions form action SHOPPING CART URL Base order cgi method post input type hidden name storeid value STORE ID input type hidden name dbname value products input type hidden name function value add PRODUCT OptionText Order Option Menu Line input type hidden name itemnum value PRODUCT RecordNumber input type submit value PRODUCT AddToCartButton form ELSE a href PRODUCT AddToCartURL Add to Cart a END IF Example 2 Ordering Options In A Column You can change Line to Column to display the ordering option pull down menus in a single column rather than in a line Product Name Roses Daisies Mums Lilies Red White Pink Yellow IF PRODUCT DisplayOrderingOptions form action SHOPPING CART URL Base order cgi method post input type hidden name storeid value STORE ID input type hidden name dbname value products input type hidden name function value add PRODUCT OptionText Order Option Menu Column input type hidden name itemnum value PRODUCT RecordNumber input type submit value PRODUCT AddToCartButton form ELSE a href PRODUCT AddToCartURL Add to Cart a END IF Return To Product Template Home Page Check These Out Mobile Commerce Product Reviews Cross Sell UpSell Breadcrumbs Responsive Design Top Template Tips Custom Cart No Template Quick Easy Templates Divided Customer Text Entry Multi Add To Cart Template View All Most Popular Tips Update Your Templates New v12 SP1 Template Tags New v12 Template Tags New v11 SP2 Template Tags New v11 SP1 Template Tags New v11 Template Tags Page Templates Quick Easy Page Template Advanced Page Template Product Templates Quick Easy Product Template Advanced Product Template General Add To Cart Form Other Templates Search Results Templates Shopping Cart Templates Gift Certificate Templates Customer Registration Templates Advanced Features

    Original URL path: http://www.shopsite.com/templates/examples/product-04-ordering_options.html (2016-01-08)
    Open archived version from archive

  • Custom Product Templates: Add to Cart and View Cart Buttons
    example Add to Cart View Cart a href PRODUCT AddToCartURL Add to Cart a nbsp nbsp a href Shopping Cart URL View Cart a Example 2 Text Buttons This examples shows how to use the merchant defined text for the Add to Cart and View Cart buttons links This code does not check to see whether the merchant chose text or an image but does check to see if the text field is blank and uses a hard coded value if it is a href PRODUCT AddToCartURL IF PRODUCT AddToCartButton Add to Cart ELSE PRODUCT AddToCartButton a END IF a href Shopping Cart URL IF PRODUCT ViewCartButton View Cart ELSE PRODUCT ViewCartButton a END IF Example 3 Text or Graphic Buttons This examples shows how to test to see if the merchant has defined an image or text for the buttons Obviously you ll need different HTML to display an image instead of text The template code for the product price is simplified for this example a href PRODUCT AddToCartURL IF AddImage img AddImage a ELSE AddText a END IF a href SHOPPING CART URL IF ViewImage a ELSE ViewText a END IF Example 4 Text Graphic or Form Buttons This examples shows the easiest way to display the Add to Cart and View Cart buttons for a product using the PRODUCT OrderCheckout tag This tag outputs the correct HTML for the buttons no matter what the merchant has defined text or an image If a product has the options set to display ordering options or the quantity input box on the store pages this tag will output an entire set of form tags so customers can select and enter information PRODUCT OrderCheckout Return To Product Template Home Page Check These Out Mobile Commerce Product Reviews Cross Sell UpSell Breadcrumbs

    Original URL path: http://www.shopsite.com/templates/examples/product-05-buttons.html (2016-01-08)
    Open archived version from archive

  • Custom Product Templates: Subproducts
    your product template is done with a loop LOOP SUBPRODUCTS br SUBPRODUCTS END LOOP SUBPRODUCTS Every time the template parser cycles through the loop it will replace the SUBPRODUCTS tag with the subproduct definition You don t have to know what subproducts are assigned to the product the LOOP SUBPRODUCTS tags cycle through all of them Subproduct Example This example defines the subproduct to display the subproduct name price and an Add to Cart button It does not display sale prices or alternate currency prices for subproducts In the product definition there is a test for whether a product has subproducts and if it does only the product name graphic and description are displayed before the subproducts Rose Bouquet 1doz Roses 29 99 Add To Cart 2doz Roses 44 99 Add To Cart 3doz Roses 59 99 Add To Cart DEFINE SUBPRODUCT IF PRODUCT DisplayMoreInformationPage a href PRODUCT MoreInfoURL PRODUCT Name a ELSE PRODUCT Name END IF PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT Price PRODUCT PriceStyle End PRODUCT PriceSize End a href PRODUCT AddToCartURL Add to Cart a END DEFINE SUBPRODUCT DEFINE PRODUCT IF PRODUCT DisplayName PRODUCT NameSize Begin PRODUCT NameStyle Begin PRODUCT Name PRODUCT NameStyle End PRODUCT NameSize End END IF IF PRODUCT Subproduct LOOP SUBPRODUCTS br SUBPRODUCTS END LOOP SUBPRODUCTS ELSE br PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT Price PRODUCT PriceStyle End PRODUCT PriceSize End a href PRODUCT AddToCartURL Add to Cart a END IF END DEFINE PRODUCT Return To Product Template Home Page Check These Out Mobile Commerce Product Reviews Cross Sell UpSell Breadcrumbs Responsive Design Top Template Tips Custom Cart No Template Quick Easy Templates Divided Customer Text Entry Multi Add To Cart Template View All Most Popular Tips Update Your Templates New v12 SP1 Template Tags New v12 Template Tags New v11 SP2

    Original URL path: http://www.shopsite.com/templates/examples/product-06-subproducts.html (2016-01-08)
    Open archived version from archive

  • Custom Product Templates: More Info Pages
    may want to use the layout that you use for your store pages A product may have subproducts You can decide whether to display subproducts on the more info page or not More Info Page Example Resulting Store Page Resulting More Info Page This example shows a simple product template that that defines the product name and graphic as hyperlinks of the product has a more info page At the end of the product template is a simple more info page template DEFINE PRODUCT IF PRODUCT DisplayGraphic IF PRODUCT Graphic IF PRODUCT DisplayMoreInformationPage ELSE END IF END IF END IF IF PRODUCT DisplayName PRODUCT NameSize Begin PRODUCT NameStyle Begin IF PRODUCT DisplayMoreInformationPage PRODUCT Name ELSE PRODUCT Name END IF PRODUCT NameStyle End PRODUCT NameSize End END IF IF PRODUCT ProductDescription PRODUCT DescriptionSize Begin PRODUCT DescriptionStyle Begin PRODUCT ProductDescription PRODUCT DescriptionStyle End PRODUCT DescriptionSize End END IF IF PRODUCT DisplayPrice PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT Price PRODUCT PriceStyle End PRODUCT PriceSize End END IF PRODUCT OrderCheckout END DEFINE PRODUCT DEFINE MORE INFO PAGE IF MORE INFO DisplayPageHeader HEADER END IF PRODUCT Name PRODUCT MoreInformationText IF PRODUCT DisplayPrice PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT Price PRODUCT PriceStyle End PRODUCT PriceSize End END IF PRODUCT OrderCheckout IF MORE INFO DisplayPageFooter FOOTER END IF END DEFINE MORE INFO PAGE Return To Product Template Home Page Check These Out Mobile Commerce Product Reviews Cross Sell UpSell Breadcrumbs Responsive Design Top Template Tips Custom Cart No Template Quick Easy Templates Divided Customer Text Entry Multi Add To Cart Template View All Most Popular Tips Update Your Templates New v12 SP1 Template Tags New v12 Template Tags New v11 SP2 Template Tags New v11 SP1 Template Tags New v11 Template Tags Page Templates Quick Easy Page Template Advanced Page Template Product Templates Quick Easy

    Original URL path: http://www.shopsite.com/templates/examples/product-07-more_info.html (2016-01-08)
    Open archived version from archive

  • Custom Product Templates: Complete Example
    NameStyle Begin IF PRODUCT DisplayMoreInformationPage a href PRODUCT MoreInfoURL PRODUCT Name a ELSE PRODUCT Name END IF PRODUCT NameStyle End PRODUCT NameSize End PRODUCT SKUSize Begin PRODUCT SKUStyle Begin PRODUCT SKU PRODUCT SKUStyle End PRODUCT SKUSize End br PRODUCT DescriptionSize Begin PRODUCT DescriptionStyle Begin PRODUCT ProductDescription PRODUCT DescriptionStyle End PRODUCT DescriptionSize End IF PRODUCT Subproduct LOOP SUBPRODUCTS br SUBPRODUCTS END LOOP SUBPRODUCTS ELSE br PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT Price PRODUCT PriceStyle End PRODUCT PriceSize End PRODUCT OrderCheckout END IF END DEFINE PRODUCT DEFINE MORE INFO PAGE html head title PRODUCT Name title head body HEADER center h1 PRODUCT Name h1 PRODUCT MoreInformationGraphic br PRODUCT MoreInformationText PRODUCT PriceSize Begin PRODUCT PriceStyle Begin PRODUCT Price PRODUCT PriceStyle End PRODUCT PriceSize End PRODUCT OrderCheckout FOOTER center body html END DEFINE MORE INFO PAGE Return To Product Template Home Page Check These Out Mobile Commerce Product Reviews Cross Sell UpSell Breadcrumbs Responsive Design Top Template Tips Custom Cart No Template Quick Easy Templates Divided Customer Text Entry Multi Add To Cart Template View All Most Popular Tips Update Your Templates New v12 SP1 Template Tags New v12 Template Tags New v11 SP2 Template Tags New v11 SP1 Template Tags New v11 Template Tags Page Templates Quick Easy Page Template Advanced Page Template Product Templates Quick Easy Product Template Advanced Product Template General Add To Cart Form Other Templates Search Results Templates Shopping Cart Templates Gift Certificate Templates Customer Registration Templates Advanced Features Template Tips Most Popular Tips Community Forum Cookbook Site Map Help by Section Navigation Mobile Commerce Product Reviews ShopSite Online Shopping Cart Software On YouTube ShopSite Online Shopping Cart Software Blog ShopSite Online Shopping Cart Software on Google ShopSite Online Shopping Cart Software On Twitter ShopSite Online Shopping Cart Software On Facebook Email Your E commerce Questions to ShopSite

    Original URL path: http://www.shopsite.com/templates/examples/product-08-complete.html (2016-01-08)
    Open archived version from archive



  •