test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • 7of9 Friend
    #204814

    Hi,

    One more problem.
    Mobile Cart does not display title of items, quantity, or remove item icon. It only displays the price.
    Please have a look at the following picture:

    Please advise.

    Thanks in advance.


    1. MobileCart
    Adam M Moderator
    #563982

    Hi @7of9,

    I checked your site and found that the problem comes from file root_folder/templates/ja_hawkstore/local/css/extras/com_virtuemart.css which doesn’t belong to our template, please recheck.

    7of9 Friend
    #563986

    Hi @adam ,

    I removed the css in question, however that did not resolve the problem, as you can see from the following picture. It only removed my custom colors.

    Please advise.

    Thanks in advance.


    1. MobileCart2
    Adam M Moderator
    #564209

    Hi @7of9,

    Since your site is heavily cached, look like you only see the cache version. Please make sure you disable CSS compression in template, disable CSS compression in JCH Optimize, clear your Joomla! / browser cache and recheck.

    For your information, the code which cause this problem is :

    .view-cart table.cart-summary tr th:nth-child(2),
    .view-cart table.cart-summary tr td:nth-child(2),
    .view-cart table.cart-summary tr th:nth-child(5),
    .view-cart table.cart-summary tr td:nth-child(5),
    .view-cart table.cart-summary tr th:nth-child(6),
    .view-cart table.cart-summary tr td:nth-child(6),
    .view-cart table.cart-summary tr th:nth-child(3),
    .view-cart table.cart-summary tr td:nth-child(3) {
    display: none;
    }

    7of9 Friend
    #564363

    Hi @adam M ,

    Thanks for your reply.
    I have unistalled JCH Optimize, because it was creating problems.
    However, I checked the original files of the template’s quick start and found out that this code actually exists in them. So I think it’s a template bug.
    Furthermore, I have applied the following solution to resolve the problem:
    1. Open file: /templates/ja_hawkstore/less/extras/com_virtuemart.less
    2. Go to line: 3844
    3. The block of code should look like this:


    .view-cart table.cart-summary tr th:nth-child(2),
    .view-cart table.cart-summary tr td:nth-child(2),
    .view-cart table.cart-summary tr th:nth-child(5),
    .view-cart table.cart-summary tr td:nth-child(5),
    .view-cart table.cart-summary tr th:nth-child(6),
    .view-cart table.cart-summary tr td:nth-child(6),
    .view-cart table.cart-summary tr th:nth-child(3),
    .view-cart table.cart-summary tr td:nth-child(3) {
    display: none;
    }

    4. Remove the last line that reads: display: none;
    5. Save
    6. Clear Server Cache
    7. Go to Default template and Compile Less to Css
    8. Clear your browser Cache and reload the page and you are set.

    Thanks again for your help solving this. However I did not manage to show the price, tax and discount. The problem is in all Carts versions, rather than in mobile only. Please check the following picture to see what I mean. I would appreciate for any help solving this.

    Thanks in advance.

    EDIT: I found no way to display the missing data, so I removed them from the cart. Now the cart looks much better in desktop and in mobile mode. Please take a look at the following picture. If anybody is interested how to do it, I could post the instructions.
    Desktop Cart:

    Mobile Cart:


    1. Cart
    2. CartDesktop
    3. CartMobile
    Adam M Moderator
    #564615

    Hi @7of9,

    Glad to hear that you managed to sort it out. If you still have any question, feel free to let me know.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  Adam M 9 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum