Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Premature end of data in tag html line 2 in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 QC: {BEST-SELLERS-BLOCK-BEGIN}
Modular Merchant
QuickCode™ Glossary
{BEST-SELLERS-BLOCK-BEGIN}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
UNIVERSAL-CONTENT

{AMOUNT-OVER-MAX-ORDER-VALUE}

{AMOUNT-UNDER-MIN-ORDER-VALUE}

{BEST-SELLERS-BLOCK-BEGIN}

{BEST-SELLERS-BLOCK-END}

{CAPTCHA}

{COMPANY-LOGO}

{COUPON-VALUE}

{ELSE}

{ERRORS}

{EVENT-DESCRIPTION}

{EVENT-END-DATE}

{EVENT-NAME}

{EVENT-SID}

{EVENT-START-DATE}

{FORCE-HTTPS}

{FORCE-HTTP}

{GOOGLE-ANALYTICS-TRAFFIC}

{GOOGLE-ANALYTICS-TRANSACTION}

{IF-COMPANY-LOGO-BEGIN}

{IF-COMPANY-LOGO-END}

{IF-ERRORS-BEGIN}

{IF-ERRORS-END}

{IF-EVENTS-BEGIN}

{IF-EVENTS-END}

{IF-GOOGLE-ANALYTICS-BEGIN}

{IF-GOOGLE-ANALYTICS-END}

{IF-MESSAGES-BEGIN}

{IF-MESSAGES-END}

{INCLUDE-JAVASCRIPT-FILES}

{INCREMENT-RESULT}

{MAXIMUM-ORDER-VALUE}

{MESSAGES}

{MINIMUM-ORDER-VALUE}

{NULL}

{NUMBER-OF-RESULTS}

{PAGE-TITLE}

{POWERED-BY-MM}

{PRODUCT-UNIT-PRICE}

{REDIRECT-AFFILIATE-ACCOUNT-1}

{REDIRECT-CUSTOMER-ACCOUNT-1}

{REDIRECT-STORE-HOME}

{RESULTS-PER-PAGE}

{SEARCH-RESULTS-BLOCK-BEGIN}

{SEARCH-RESULTS-BLOCK-END}

{SEARCH-SCORE}

{SHOPPING-SESSION-ID}

{THIS-PAGE}

{URL-BASKET}

{URL-CHECKOUT}

{URL-CUSTOMER-ACCOUNT}

{URL-CUSTOMER-FETCH-LOGIN}

{URL-CUSTOMER-LOGIN}

{URL-LOG-OUT}

{URL-PRINT-ORDER-FORM}

{URL-SEARCH-RESULTS}

{URL-STORE-HOME}

Universal > {BEST-SELLERS-BLOCK-BEGIN}
<< {AMOUNT-UNDER-MIN-ORDER-VALUE} {BEST-SELLERS-BLOCK-END} >>
{BEST-SELLERS-BLOCK-BEGIN} Updated: 12/16/2011

The {BEST-SELLERS-BLOCK-BEGIN} tag can be used to display a list of your store's best selling products. Any content placed between this and the {BEST-SELLERS-BLOCK-END} tags will be repeated once for each of your best selling products. (See Example of Use below for details.)

Parameters
This QuickCode Tag will accept two parameters,allowing you to customize both the nubmer of best selling products listed, and how far into the past to search for them. The parameters are added into the QuickCode Tag, and separated by colons.

Parameter 1: Sets the number of best selling products to list. If not specified, then the ten best selling products will be listed.

Parameter 2: Sets how many days into the past to evaluate when calculating the best sellers. If not specified, the store's entire sales history will be used.

Examples of using Parameters:
To display the top ten best sellers of all time: {BEST-SELLERS-BLOCK-BEGIN}

To display the top five best sellers of all time: {BEST-SELLERS-BLOCK-BEGIN:5}

To display the top five best sellers of the last seven days: {BEST-SELLERS-BLOCK-BEGIN:5:7}

To display the best selling product of the last thirty days: {BEST-SELLERS-BLOCK-BEGIN:1:30}

Requirements / Prerequisites

Must be used in conjunction with the {BEST-SELLERS-BLOCK-END} tag.

The following QuickCode Tags can be used between the {BEST-SELLERS-BLOCK-BEGIN} and {BEST-SELLERS-BLOCK-END} tags:
{PRODUCT-IMAGE-CAPTION}
{PRODUCT-IMAGE-TAG}
{PRODUCT-IMAGE-URL}
{PRODUCT-IN-BASKET-SUMMARY}
{PRODUCT-LONG-DESCRIPTION}
{PRODUCT-NAME}
{PRODUCT-PART-NUMBER}
{PRODUCT-PRICE}
{PRODUCT-REBILL-TERM-TEXT}
{PRODUCT-SHORT-DESCRIPTION}
{PRODUCT-SID}
{PRODUCT-URL}

Example of Use

To display a list of the top five best selling products of the last week:

{BEST-SELLERS-BLOCK-BEGIN:5:7}
<a href="{PRODUCT-URL}">{PRODUCT-NAME}</a><br />
{BEST-SELLERS-BLOCK-END}

This will display a link to each product's page on a separate line.

Source Code Source Code Updated: Warning: date() expects parameter 2 to be long, string given in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 796
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {BEST-SELLERS-BLOCK-BEGIN} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2019 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map