Issues with cart display+other - by netmined

This topic has 20 replies, 2 voices, and was last updated 8 years, 2 months ago ago by Jack Richardson

  • Avatar: netmined
    netmined
    Member
    January 15, 2016 at 09:35

    Hi guys,

    I have a couple of major issues and a couple of minor ones as follows:

    -items added to cart stop displaying when you click on some pages. eg. dress added, then click on ‘On sale’ or ‘Dresses’ or most other pages and the cart displays as zero. The item is still there, hidden since I have tested adding another one and it then displays double. So cart displays on some pages but not all (eg. it displays on ‘My account’ and also on some individual products but its really quite random). Not good.

    -I have a Woocommerce compatible Currency Switcher on the site. Likewise, when you select a currency, it will randomly display on some pages and not on others. It will also switch back and forth between one currency and another at times, showing the prices differently (if one was manually selected rather than geolocated). I know what you’ll say – ‘Go and take this up with the plugin developer’ – but the randomness and variability of how it does this is almost identical to the above cart issue so I am sensing that the two issues are related. Basically an issue of how the items are displayed on the front end and the fact that the cart & currencies switch back & forth on various pages between displaying properly & then not.

    -I’ve spent the last 3 months working with developers, and my host server company to try to speed up this site. I know the theme is older and considered slow. Still, they have tried all the usual tricks – aggressive caching, code to queue scripts, various plugins which mostly didn’t work etc etc… Parsing of javascript was also tried but broke the front page slider & display. So no luck. Seemingly the site is running at 10 seconds to load due to all of the stuff in its coding. I notice that it comes with Revolutionary Slider preinstalled. I don’t need it as I have been using Layer slider. I tried to deactivate it and get rid of it to at least help a bit but I am unable to. Can you please tell me how this can be deactivated and removed? Would also appreciate any suggestions on code that can be input to speed up the site (all well known plugins have been tried and did not help).

    -lastly a small request. I would like to make the review stars which appear next to the product in a different colour from the communist gray which they appear in now. Could you please let me know what code snippet I need to insert into the custom css file to make them appear a particular HEX colour?

    Many thanks in advance for your reply.

    Please, contact administrator
    for this information.
    19 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 15, 2016 at 17:16

    Hello,

    1), 2) As see you are using cache plugin on your site and it can cause the problems you described. Please try to deactivate it, delete cache files from server and then check cart and currency switcher behavior.

    3) You can remove Revolution Slider in the wp-content/plugins via FTP. You need to delete “revslider” directory there.

    4) To change rating star color you need to edit the image file wp-content/themes/blanco/woocommerce/images/star.png

    Best regards,
    Jack Richardson.

    Avatar: netmined
    netmined
    Member
    January 16, 2016 at 10:06

    Hi Jack,

    Many thanks for your replies.

    – I’ve removed the slider from the ftp. Not sure if it has made a difference to the speed of the site. Any code you know of that can be added to assist with overall load times?

    – Tougher going on the star image – looks like a very specific replacement would have to be created (given size, placements etc) rather than just changing the colour. Thanks for letting me know where it is.

    – On the cart issue, this is definitely not as a result of the SG cache plugin. I run two ecommerce sites, both on Woocommerce, latest version, both with SG cache installed and with the same settings on it. The other site does not have this cart display issue.

    The issue is not with the cart contents being cached but just with the display when an item is first added to cart. To see the problem, add a dress to cart, then click on ‘Home’, ‘Dresses’ and the other main menu options and watch what happens with the cart display – on some pages it shows cart as empty, on others the cart is full. This also carries across to some single product pages – sometimes empty, sometimes full. If you then try to readd the item, it registers it as double. So clearly the item is there in the cart on the back end, just not visible on some of the pages.

    And this is the similar problem with the currency switcher if a currency is manually selected rather than just left to the geo located default. Once you click on other menu pages, on some the currency is as it should be, on others it reverts and displays some other one. This seems to be a similar issue or bug causing both.

    Could you please advise how to fix.

    Many thanks in advance once again.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 18, 2016 at 16:49

    Hello,

    1. Here is the speed test result for your site http://www.webpagetest.org/result/160118_TP_S3Y/1/details/ . Try to optimize your images to reduce their time loading.

    3. When you add a product in cart and then go to “Home” page or “Dresses” page press “ctrl + F5” and you will see that cart displays correctly. Such behavior is related to cache.

    Best regards,
    Jack Richardson.

    Avatar: netmined
    netmined
    Member
    January 19, 2016 at 15:38

    Hi Jack,

    Thanks for your reply.

    I had my host server company look into the issue and the cache plugin which is installed and which is their own.

    They have run some tests on the plugin and it is not the cause. In fact the caching plugin is now disabled and the issue of the cart display is still there.

    Could you please investigate and advise what where the conflict is.

    Thanks again

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 20, 2016 at 14:57

    Hello,

    Please provide us with FTP credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: netmined
    netmined
    Member
    January 20, 2016 at 23:17

    Hi Jack,

    Please see access details below.

    Many thanks.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 21, 2016 at 18:37

    Hello,

    I’ve renamed the file wp-content/object-cache.php to wp-content/object-cache.php_test and now cart is displaying correctly. Please clear browser cache and check the site.

    Best regards,
    Jack Richardson.

    Avatar: netmined
    netmined
    Member
    January 22, 2016 at 00:48

    Hi Jack,

    Many thanks for your reply.

    I’ve run a test on two devices, cleared the cache first on both before running the test and on both the issues still persist. Please see details below:

    On Firefox

    Added to cart “Audrey Purple Satin Swing” from On Sale page.
    Cart did not display item when ‘Home’ and ‘On Sale’ pages were clicked. Displayed on all other main menu pages. (did not test with other single product pages)
    Removed item from cart. This time the removed item was showing up again on all but the ‘Home’ and ‘On sale’ pages.
    So a reverse of when added to cart.

    On Chrome (different device)

    Added to cart ‘Vintage Black Pencil Wiggle’ from ‘What’s Hot’ page.
    Cart did not display correctly on any of the main menu pages except ‘My Account’ page. Tested on several single product pages and appeared to display correctly there.
    Removed item from cart. This time cart appeared correctly on all main menu pages but was incorrect (item reappeared in the cart) on some categories pages – ‘Pencil & Fitted’, ‘Tartans & Checks’ and on some single product pages – random ones.

    Avatar: netmined
    netmined
    Member
    January 24, 2016 at 07:51

    Also, just noticed that the wishlist page is redirecting to a 404.

    It is set up with shortcode as required and in ‘preview’, the page shows up correct but when tested, product added to wishlist ok but when ‘Browse wishlist’ was clicked, page redirected to a 404.

    Avatar: netmined
    netmined
    Member
    January 25, 2016 at 22:25

    Hi, any update on this? Cart display issues are still there as is the 404 on the Wishlist page.

    Many thanks

    Avatar: netmined
    netmined
    Member
    January 29, 2016 at 04:00

    Hi Jack,

    Could you please let me know what is going on with this? Cart display issues persist.

    Many thanks in advance

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 1, 2016 at 15:16

    Hello,

    Please take our apologies for such long delay.
    I’ve uploaded and activated theme version 3.4. The old one has been renamed to blanco_3.3. Please check the issue with cart display now. Don’t forget to clear browser cache.

    Best regards,
    Jack Richardson.

    Avatar: netmined
    netmined
    Member
    February 5, 2016 at 12:09

    Hi Jack,

    Many thanks for the reply and the fix.

    I’ve tested on a few devices – seems that the cart issue is now mostly fixed – the item is still not appearing in cart when ‘Home’ is clicked but this seems to be the only glitch remaining.

    There are a few unintended side issues now though. Not sure if these were as a result of the theme update which you just did or the changes which were made earlier in the FTP.

    The layout (or formatting?) on the pages appears to be out or has somehow shifted. Right hand side columns of all the dresses are pushed right to the edge. When viewed on mobile/tablet, the layout has lost its responsiveness with the entire right hand column spilling out of the box and into the polka background. On mobile, on some pages – like What’s Hot – there are strange blank gaps with dresses missing even though these gaps don’t appear on desktop.

    Something strange has also happened to many of the ‘Select Options’ boxes. Have a look at ‘What’s Hot’ page – there is at least one dress on each row which has this issue. Box is sometimes cut off, sometimes has a strange line running from it.

    And the blog page is now completely unresponsive on mobile/tablet. Cannot be read on those at all as content is not scaling on this page and only the part which fits the screen is visible.

    Finally, the wishlist is still going to a 404. Have set this up as per the plugin settings so not sure what the problem is.

    Thanks again

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 8, 2016 at 17:44

    Hello,

    Please sorry for a delay.

    The layout (or formatting?) on the pages appears to be out or has somehow shifted. Right hand side columns of all the dresses are pushed right to the edge. When viewed on mobile/tablet, the layout has lost its responsiveness with the entire right hand column spilling out of the box and into the polka background. On mobile, on some pages – like What’s Hot – there are strange blank gaps with dresses missing even though these gaps don’t appear on desktop.

    Unfortunately this issue isn’t clear. I don’t see described problems on mobile view. Please provide us with the screenshot for better understanding.

    Something strange has also happened to many of the ‘Select Options’ boxes. Have a look at ‘What’s Hot’ page – there is at least one dress on each row which has this issue. Box is sometimes cut off, sometimes has a strange line running from it.

    Add the following css code in custom.css:

    .page.page-id-35 .button.etheme_add_to_cart_button.product_type_variable {
        padding: 0 9px !important;
    }

    And the blog page is now completely unresponsive on mobile/tablet. Cannot be read on those at all as content is not scaling on this page and only the part which fits the screen is visible.

    I’ve edited previously added css code

    .blog .columns2-left>.content, .single-post .columns2-left>.content, .archive .content {
        width: 930px;
    }

    to the following

    @media (min-width: 1200px){
    .blog .columns2-left>.content, .single-post .columns2-left>.content, .archive .content {
        width: 930px;
    }}

    As for the wishlist I’ve removed index.php from your custom permalink setting and regenerated permalinks. Please clear browser cache and check the site.

    Best regards,
    Jack Richardson.

    Avatar: netmined
    netmined
    Member
    February 11, 2016 at 12:11

    Hi Jack,

    Many thanks for the reply and fixes.

    Looks like the majority have worked. There are still some minor issues on the ‘Select options’ boxes on mobile – not able to take a screenshot but if you view it in landscape view rather than portrait you’ll see that on multiple product pages like ‘What’s hot’, some of the boxes on the right hand side column don’t line up and go all the way to the edge.

    Everything else seems to be working ok so thanks again, much appreciate it! 🙂

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 11, 2016 at 14:50

    Hello,

    I’ve added this code in custom.css file:

    @media only screen and (max-width: 767px) {
    #products-grid.products_grid .product-grid {
        width: 210px !important;
    }}
    
    .button.etheme_add_to_cart_button.product_type_variable {
        padding: 0 9px !important;
    }

    Please clear browser cache and check products now.

    Best regards,
    Jack Richardson.

    Avatar: netmined
    netmined
    Member
    February 12, 2016 at 04:32

    Many thanks Jack, genuinely much appreciate it!

    Avatar: netmined
    netmined
    Member
    February 12, 2016 at 06:29

    Hi Jack,

    Was just uploading some products to the site and noticed that the right side margin issue on ‘Select Options’ is still there on the other product and category pages. So it has been fixed and looks ok on desktop and mobile for the ‘What’s hot’ page but for the others – Dresses, On sale and all of the dress category pages, both desktop and mobile still has the ‘Select options’ buttons too far to the right side edge. On mobile (landscape), some spill over the edge.

    Did the update done cause this misalignment? It seems like there should be a more efficient tweak to fix this rather than a manual override of each page setting.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 12, 2016 at 11:28

    Hello,

    Please check your site now. Don’t forget to clear browser cache.

    Best regards,
    Jack Richardson.

  • Viewing 20 results - 1 through 20 (of 20 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.