Support » Plugin: Store Hours Manager for WooCommerce » Hide button when store is closed is not working

  • Hi,

    Just installed your plugin, it’s just what I need, but the option to hide the add to cart button when the sore is closed is not working for me.
    First of all that’s a product you can see https://delivery1.apolosites.com.br/produto/kids/
    I’m using Pizzaro theme (child theme), tried with the Twenty Twenty wordpress theme, also tried to disable all plugins, just left your plugin and WooCommerce active but the button is still there and I can buy products even if the store is closed.

    Do you know what it could be?

    That’s my WooCommerce report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://delivery1.apolosites.com.br
    Site address (URL): https://delivery1.apolosites.com.br
    WC Version: 4.0.1
    REST API Version: ✔ 1.0.7
    WC Blocks Version: ✔ 2.5.14
    Action Scheduler Version: ✔ 3.1.4
    WC Admin Version: ✔ 1.0.3
    Log Directory Writable: ✔
    WP Version: 5.4.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: pt_BR
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.39 (Unix) OpenSSL/1.0.2k-fips
    PHP Version: 7.3.14
    PHP Post Max Size: 38 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.29.0
    NSS/3.44
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.44-MariaDB
    Max Upload Size: 38 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.0.1
    WC Database Prefix: wp_
    Tamanho total do banco de dados: 10.54MB
    Tamanho dos dados do banco de dados: 8.71MB
    Tamanho do índice do banco de dado: 1.83MB
    wp_woocommerce_sessions: Dados: 0.03MB + Índex: 0.02MB + mecanismo InnoDB
    wp_woocommerce_api_keys: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_attribute_taxonomies: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_woocommerce_downloadable_product_permissions: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB
    wp_woocommerce_order_items: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_woocommerce_order_itemmeta: Dados: 0.06MB + Índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_tax_rates: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB
    wp_woocommerce_tax_rate_locations: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_shipping_zones: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_woocommerce_shipping_zone_locations: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_shipping_zone_methods: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_woocommerce_payment_tokens: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_woocommerce_payment_tokenmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_woocommerce_log: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_actionscheduler_actions: Dados: 0.02MB + Índex: 0.11MB + mecanismo InnoDB
    wp_actionscheduler_claims: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_actionscheduler_groups: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_actionscheduler_logs: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_commentmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_comments: Dados: 0.02MB + Índex: 0.08MB + mecanismo InnoDB
    wp_links: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_options: Dados: 3.03MB + Índex: 0.08MB + mecanismo InnoDB
    wp_postmeta: Dados: 1.50MB + Índex: 0.44MB + mecanismo InnoDB
    wp_posts: Dados: 1.50MB + Índex: 0.06MB + mecanismo InnoDB
    wp_revslider_css: Dados: 0.13MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_css_bkp: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_layer_animations: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_layer_animations_bkp: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_navigations: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_navigations_bkp: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_sliders: Dados: 0.06MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_sliders_bkp: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_slides: Dados: 1.33MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_slides_bkp: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_static_slides: Dados: 0.03MB + Índex: 0.00MB + mecanismo InnoDB
    wp_revslider_static_slides_bkp: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_termmeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_terms: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_term_relationships: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_term_taxonomy: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_usermeta: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_users: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB
    wp_wcpdf_invoice_number: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_wc_admin_notes: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_wc_admin_note_actions: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_wc_category_lookup: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_wc_customer_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_wc_download_log: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_wc_order_coupon_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_wc_order_product_lookup: Dados: 0.02MB + Índex: 0.06MB + mecanismo InnoDB
    wp_wc_order_stats: Dados: 0.02MB + Índex: 0.05MB + mecanismo InnoDB
    wp_wc_order_tax_lookup: Dados: 0.02MB + Índex: 0.03MB + mecanismo InnoDB
    wp_wc_product_meta_lookup: Dados: 0.02MB + Índex: 0.09MB + mecanismo InnoDB
    wp_wc_tax_rate_classes: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_wc_webhooks: Dados: 0.02MB + Índex: 0.02MB + mecanismo InnoDB
    wp_yith_wapo_groups: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    wp_yith_wapo_types: Dados: 0.08MB + Índex: 0.00MB + mecanismo InnoDB
    wp_yith_wccl_meta: Dados: 0.02MB + Índex: 0.00MB + mecanismo InnoDB
    
    ### Post Type Counts ###
    
    attachment: 63
    custom_css: 1
    customize_changeset: 19
    global_product_addon: 2
    nav_menu_item: 57
    page: 32
    post: 12
    product: 69
    product_variation: 58
    revision: 87
    shop_coupon: 1
    shop_order: 12
    static_block: 2
    wpcf7_contact_form: 3
    wpsl_stores: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (14) ###
    
    Redux Framework: por Team Redux – 3.6.18
    Contact Form 7: por Takayuki Miyoshi – 5.1.7
    Easy WP SMTP: por wpecommerce
    alexanderfoxc – 1.3.9.3
    
    Envato Market: por Envato – 2.0.3
    KingComposer: por King-Theme – 2.9.2
    Loco Translate: por Tim Whitlock – 2.3.3
    Order Store Hours Scheduler for WooCommerce: por BizSwoop a CPF Concepts
    LLC Brand – 3.0.9
    
    Pizzaro Extensions: por MadrasThemes – 1.3.3
    Regenerate Thumbnails: por Alex Mills (Viper007Bond) – 3.1.3
    Slider Revolution: por ThemePunch – 6.2.2
    WooCommerce PDF Invoices & Packing Slips: por Ewout Fernhout – 2.4.8
    WooCommerce: por Automattic – 4.0.1 – 4.1.0 está disponível
    WP Store Locator: por Tijmen Smit – 2.2.232
    YITH WooCommerce Product Add-ons Premium: por YITH – 1.5.25 – Não testado com a versão ativa do WooCommerce
    
    ### Inactive Plugins (1) ###
    
    YITH WooCommerce Product Add-ons: por YITH – 1.5.23.3 – Não testado com a versão ativa do WooCommerce
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: BRL (R$)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Base da loja: #577 - /produtos/
    Carrinho: #578 - /carrinho/
    Finalizar compra: #9 - /checkout/
    Minha conta: #10 - /minha-conta/
    Termos e condições: ❌ Página não definida
    
    ### Theme ###
    
    Name: Pizzaro Child
    Version: 1.2.16
    Author URL: https://madrasthemes.com/
    Child Theme: ✔
    Parent Theme Name: Pizzaro
    Parent Theme Version: 1.2.16
    Parent Theme Author URL: https://madrasthemes.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: pizzaro/woocommerce/archive-product.php
    pizzaro/woocommerce/content-widget-product.php
    pizzaro/woocommerce/global/quantity-input.php versão 3.6.0 está desatualizado. A versão do core é 4.0.0
    pizzaro/woocommerce/single-product/related.php versão 3.0.0 está desatualizado. A versão do core é 3.9.0
    pizzaro/woocommerce/single-product/up-sells.php
    
    Outdated Templates: ❌
    					
    					
    						Aprenda como atualizar
    
    ### Action Scheduler ###
    
    Concluído: 30
    Oldest: 2020-04-24 17:17:14 -0300
    Newest: 2020-05-08 16:58:30 -0300
    
    

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter MrVanDaime

    (@mrvandaime)

    I’m sorry, the title should be “Option to hide add to cart button when store is closed is not working”.

    Plugin Author bizswoop

    (@bizswoop)

    We’d be happy to help.

    To help isolate the theme as being the issue, can you try using the WooCommerce Store Front theme? This is the theme we use as the basic theme for WooCommerce functionality and support.

    If it works we know the theme is causing the issue, but if it still doesn’t work. We suspect the issue is related to cache.

    First make sure you are enabling the setting under the Schedule tab, “Enable cache clearing”. This will clear any local cache occurring.

    If you are using a Server based or Firewall based cache services, unfortunately this will not work for those solutions. You’d have to connect with your hosting or firewall provider to understand how the cache tools can be optimize to work with the plugin and only cache select content.

    If you identify it’s the theme, let us know. We will try and evaluate support, but as a pro theme, we might need to review any documentation provided by the developer and depending on the requirements might not be able to quickly support this theme.

    Thread Starter MrVanDaime

    (@mrvandaime)

    Hi,

    I installed and activated the Store Front theme and this feature did work normally, so the issue must be with this theme I’m using.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide button when store is closed is not working’ is closed to new replies.