Public Ticket #1211572
Shopping cart


  • c_sie_w started the conversation

    Hello, when have many products in my shopping cart (for example 8 or 9) and I click on the cart icon at the top, the list is long enough and we no longer see the buttons to "view cart" or "checkout".

    How can I add a scroll so that the bottom buttons are always visible?

    Or how to limit the number of products to display in the shopping cart when you just click on the icon?

  •  1,825
    Opal replied


    Please add the code js to the file \ themes \ evolution \ js \ functions.js

    // shopping cart
     window.onresize = function(event) {
     function resizeDiv() {
          var vph = $("#cart .cart_list").height();
          if(vph > 480) {
                $("#cart .cart_list").css({"height": 485 + "px", "overflow-y": "scroll", "width": "calc(100% + 17px)"});



    Opal Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours in weekdays. In some rare cases the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote :
    To vote go to http://themeforest.net/downloads then follow that link : http://screencast.com/t/ylPjXebiCIOE
    Thanks and have a nice day

    Website: http://wpopal.com/