Home Forums WoodMart support forum Completely disable Swatches from theme.

Completely disable Swatches from theme.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #433514

    jono222
    Participant

    Hello,
    We have a website which is using woodmart theme and our website is having 2000+ products and one single product contains 400+ variants. We are having some problem with Swatches as Swatches trying to load all variation at a time which eventually taking a huge time on page loading as well as pages are getting timeout issue as its overriding the Woocommerce default feature of loading variation by Ajax.

    Also, there are a query running for theme which is having very slow response time. Can you please tell us what that query is doing. This query is taking 8 to 9 secs to respond.
    SELECT option_value
    FROM wp_options
    WHERE option_name = ‘_transient_woodmart_countdown_variable_cache_107968’
    LIMIT 1

    #433658

    Luke Nielsen
    Keymaster

    Hello,

    This query returns the on-sale functionality of the variation product.

    https://monosnap.com/file/lDRf6ZdenGF02nTK62tqfUHPbGWFWe

    In order to disable this query, you need to disable the “Countdown for variable products” option in Theme Settings -> Single product -> Elements.

    https://monosnap.com/file/dbntuSNVEkcohLd74ARoAImIWimcgp

    Kind Regards

    #433678

    jono222
    Participant

    Hello,
    Thank you for the response. Can you guys please advise what the below action is doing because this action is taking 15sec time to process.
    action: woodmart_update_count_product_visits

    Please let us know how we can optimize this ?

    #433915

    Luke Nielsen
    Keymaster

    Hello,

    That action is related to the “Visitor counter” option that is situated in Theme Settings -> Single product -> Visitor counter.

    https://monosnap.com/file/hM4zjguJL9p0eUbe50b7OmPFRghk77

    You can disable it and recheck the issue.

    Kind Regards

Tagged: 

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