Search Engine: Elastic

Article ID: 125418, created on May 5, 2015, last review on Jul 14, 2018

  • Applies to:
  • Odin Business Automation Standard 4.5


When there are many items in the Shopping Cart the Checkout button is moved down and out of screen.


The behaviour is caused by the software issue PBAS-29651 that was fixed in OBAS 4.5.5.


To resolve the issue, please upgrade to 4.5.5 as described in How to upgrade OBAS system to the latest available version.

As a workaround, please add the strings below to the function update_shopping_cart() located in /var/opt/hspc-store/web/js/store.js:

   var scroll_top = Math.ceil(($('#shopping_cart').text().length) / 10) + 150;

So that it looks like

   // resize shopping cart, to be optimal in height
    $('.shopping-cart-content').css('max-height', ($(window).height() - 220) + 'px');
    var scroll_top = Math.ceil(($('#shopping_cart').text().length) / 10) + 150;
    // handler for checkout click action
    $("button#checkout").click(function() {

624ca542e40215e6f1d39170d8e7ec75 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF