Product Page


To install the humm Product Page widget on your site, you will require the following script

<script src="{{product.selected_or_first_available_variant.price | divided_by:100.00}}&merchantId=YOUR_MERCHANT_ID"></script>



You will need to replace YOUR_MERCHANT_ID with your humm Merchant Number in order to the calculation to be accurate.

This widget acts as a calculator and provides more information to the customer about the product, process and the requirements for humm. This is a great way for the customer to be aware that humm is accepted on their site as well as the costs involved in purchasing through humm.


Adding the widget would require you to go into your site theme, then perform:

  1. Locate the section of your themes that edits the product page of your site.
  2. Generally the widget is best placed under the price section of the file.
  3. Paste the widget within this section, then preview your product page to see if the widget sits where you wish.


There are different parameters to the widget that can effect the display or behaviour of the widget.

Product Price

productPriceDefines the product price used by the pricing widget calculationsWithin the SRC Parameter of the script tag URLMandatoryfloat

Merchant ID

merchantIDDefines the Merchant ID used for the calculationsWithin the SRC Parameter of the script tag URLMandatoryInteger

Minimum Value

data-minDefines a minimum value to display the pricing widget. Value should be β‰₯ $80Within the script tagOptional

Maximum Value

data-maxDefines a maximum value to display the pricing widget. Value determined by the amount you wish for your widget to appearWithin the script tagOptional


Below are example scripts with the parameters that can be changed to alter the behaviour of the widget.

<script src="" defer></script>
<script src="" defer></script>
<script data-min="300" src="" defer></script>
<script data-min="5000" src="" defer></script>


Need help?

If you require any assistance with this, please let us know via the Integration Assistance Form