Problem after update both WordPress and XStore

This topic has 2 replies, 2 voices, and was last updated 7 years, 8 months ago ago by Olga Barlow

  • Avatar: bsgabriel
    bsgabriel
    Participant
    March 6, 2017 at 17:52

    Good Morning,
    There are two different problems with our XStore installation (version 3.9), which arise periodically, usually after every theme update
    1. There is a small carousel, in the homepage of our website, which shows some products which are on sale. The “On sale” label, which should be a small red circle with the discount percentage in it, is not getting parsed by the renderer. In fact, it shows literally the words “On Sale” (in Italian actually, so “In Sconto”) instead of, for example, “20%”.
    2. When visiting the page of a single product, whichever product you choose, there is a list of tabs on the top side of the page which shows description, information and reviews of the product. Those tabs are forced to be 9999em high by the “admin.css” stylesheet of WooCommerce, whilst default rules are overridden.

    These problems arises periodically after every theme update, and we are struggling to find a permanent solution which does not require hours of manual intervention before every update
    Is there any way to prevent this from happening? Is there anything we are doing wrong at a first sight?
    I’m not expecting you to be able to highlight the exact issue off of these fragmented information, I just would like to understand whether it is an XStore issue or something due to development problems, and how to face it in the best way
    The website, in case of need, is http://www.cascinacavour.it

    Waiting for a reply,
    Kind regards,
    Gabriele Peiretti

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 10, 2017 at 17:08

    Hello,

    1. If product is variable it has On Sale lable. If product is simple it has percentage discount. We did not add percentage discount for the variable products because it requires a lot of requests to DB (price for the every variation you have and calculation of the best one) and slows down the site speed.
    You can add the following code to change the red circle to red rectangular

    .product-slide .onsale, .product-slide .sale-value {
        top: 5px !important;
    }
    .onsale, .product-images .sale-value {
    	border-radius: 0;
    	-moz-border-radius: 0;
    	-webkit-border-radius: 0;
    	width: auto;
    	height: 2.75em;
    	line-height: 2.75em;
    	padding: 0 1em;
    }
    .content-product .onsale {
        font-size: 0.8em;
    }
    .content-product .sale-wrapper.with-percentage .sale-value {
        font-size: 0.8em;
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        width: auto;
        padding: 0 1em;
        height: 2.75em;
    }

    2. This file should not be used on frontend, this is file for the backend. Do you use any third-party plugins? Try to disable them and check if it fixes the issue. If not – provide me admin panel and FTP access to your site.

    Regards

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

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

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