9.2.12 Product list & Product spot


9.2.12.2 Product list Variables  <<  9.2.12.3  >>  9.2.13 Product card 

9.2.12.3 Settings



Appearance settings
Picture 9.37 : Appearance settings


In the Settings tab you can define the settings relating to some of the product list fields, such as the icon used for the Add to Cart button. If maximum name length is set long product names will be truncated to this length. The same setting is defined for the product description. You can also choose the product name, itemcode and pictures to act as a link to the product page.

If you want to divide the product list to multiple pages you can enable the 'Use pagination'. Pagination settings can be also edited from the page, like the maximum amount of products shown in a single page. The texts on the pagination links can be changed, they also accept HTML-markup, eg. If you want to use images as the link content.Remember to add the pagination Template-variables to the Product list if you enable pagination

Product promotion on product spot WAE

For the most part, product spot settings are the same than those for product list. Only the product promotion choice is different (this is not available in product list). You have two choises in product promotion: product group based promotion and search based promotion (cross-selling).

Product promotion settings in product spot
Picture 9.38 : Product promotion settings in product spot


Product group based promotion

The first radio button enables product group based promotion. You can choose some product group from the drop down list, and products from this group will be displayed in the page where this product spot WAE is located.

Cross-selling

The second radio button enables cross-selling. Cross-selling is the strategy of selling other products to a customer who has already purchased (or signaled their intention to purchase) a product from the vendor. Using cross-selling in Workspace is closely related to advanced search. When cross-selling is used, some search definitions are constructed and this search is then performed every time the page where this product spot WAE is located is displayed. So compared to product group based promotion, you can make more exact restrictions on the products that are promoted.

The searches that are constructed when using cross-selling, can be made to take advantage of Workspace variables (see the variables section of the manual and this introduction on using variables). Listed below are few examples of possible searches.

1. Finding related products. For this example to work, you must make some preparations. Go to product management and choose some product. Add to this product's open field 1 (or whatever field you want to use, just remember to use the correct variable also) a list of product item codes that this product is related to. Separate the item codes with spaces. Now place a product spot WAE to the product page that uses the search below. If you now view the modified product's details on the product page, the products whose item codes you listed in the viewed product's open field 1 should be listed where you placed the product spot WAE. So the definition below made a search to product item codes, and tried to find products that had one of the item codes listed in the current product's open field 1.
# Find related products
advancedsearch.attributes=rel
advancedsearch.rel.type=exact
advancedsearch.rel.properties=itemCode
advancedsearch.rel=$product_open_field1$
2. Same author. If your shop sells books for example, you can use the search below to find other books that have the same author than the one that is viewed. If every product's (book's) author is in product's open field 2, then the definition below makes a search to every product's open field 2, and tries to find those products that have the same author in open field 2 than the currently viewed product.
# Other books by the same author
advancedsearch.attributes=other
advancedsearch.other.type=contains
advancedsearch.other.properties=openField2
advancedsearch.other=$product_open_field2$
3. Max price. Finds products whose price is at most equal to the price of the currently viewed product's price.
# Max price
advancedsearch.attributes=price
advancedsearch.price.type=maxvalue
advancedsearch.price.properties=price
advancedsearch.price=$product_price$
4. Other products from the same product group than the currently viewed product (or the currently viewed product group).
# Other products from same group
advancedsearch.path=$group_path_plain$
5. All products in descending order based on when they were created (new products).
# New products
advancedsearch.orderby=created
advancedsearch.orderby.direction=desc
Below is some additional information you should know when constructing the query:


  • Which variables can be used depends on where the product spot WAE is located. For example in product list page there is no currently selected product, so product variables cannot be used. On the other hand, product group variables can be used.

  • You can combine different restrictions (eg. products with max price of 100 that are in product group "books").

  • On basket page, the currently selected product is the product that was last added to basket.

  • If basket is empty, the search does not produce any results.

  • On basket page, the products that are in the basket are excluded from the search results.

  • On product page, the currently selected product is excluded from the search results.

  • If you want the search to display multiple products based on some information in a product field, use the exact keyword and an empty space delimiter (see example 1.). This way each space delimited value is evaluated separately from the others.

  • Use the contains keyword (advancedsearch.variable1.type=contains) when you want the search to use the value as a whole.

  • If every attribute value that is used in a search has an empty value, the search does not produce any results. As an example, using product's open field 1 that is empty, as the value of an attribute (advancedsearch.attr=$product_open_field1$), and that attribute is the only one used in the search, then no results are returned.

  • In the textarea where the search definitions are entered, lines starting with hash character (#) are comment lines. Empty lines are ignored.

  • If the currently viewed product list page is the result of a search (search WAE or advanced search), then the cross-sell search does not produce any results.

  • The line "advancedsearch.attributes=..." must be defined only once. Every used attribute is listed after it, separated with a comma.

  • See the advanced search form section of the manual for a more detailed description of the used properties and their meanings.

Controlling pagination in product list page

If a product spot WAE is located on the product list page that also holds a product list WAE, there are few considerations about pagination you must take into account. If both the product list WAE and the product spot WAE use pagination variables (eg. $productlist_next_link$ and $productlist_prev_link$), then those variables affect the behaviour of both. In other words, clicking the next page link, for example, changes the view of both WAEs to the next page. You may remove the pagination variables from product spot WAE, but that does not make the page work any differently. This is a restriction that can't be circumvented.

Once you have made all the changes, click the Accept button.