• Resolved delanthear

    (@delanthear)


    Hi,

    I’m adding in Woocommerce to a site with a custom built theme. I’ve been doing this by using hooks to add in elements as necessary and with stylesheet tweaks to make it fit.

    Everything seems to work apart from that the shop page doesn’t show anything. It’s entirely blank.

    If I register the theme as supporting woocommerce, the page works properly (but obviously without all the styling). I don’t want to go to all the work of properly converting the theme.

    Any clues as to what to check as to why the shop product archive won’t appear?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @delanthear. Is the shop page set in your WooCommerce product settings (WooCommerce > Settings > Products), as shown here?

    Can you post your system status report? You can find that by going to WooCommerce > Status in your dashboard, then clicking “Get system report,” then “Copy for support.” That might shed some light on the situation.

    Thanks!

    Thread Starter delanthear

    (@delanthear)

    Yeah, it is set as the shop page.

    Status before. It flags that there is a woocommerce.php file, but i have the same problem if there is one or not.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://pdtvc.wpengine.com
    Site address (URL): https://pdtvc.wpengine.com
    WC Version: 4.5.2
    REST API Version: ✔ 4.5.2
    WC Blocks Version: ✔ 3.1.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.5.0
    Log Directory Writable: ✔
    WP Version: 5.5.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.10
    PHP Post Max Size: 100 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.29-32-log
    Max Upload Size: 50 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.5.2
    WC Database Prefix: wp_
    Total Database Size: 18.87MB
    Database Data Size: 12.59MB
    Database Index Size: 6.28MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_affiliate_wp_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_affiliate_wp_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_affiliate_wp_referrals: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_affiliate_wp_sales: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_affiliate_wp_visits: Data: 0.14MB + Index: 0.02MB + Engine InnoDB
    wp_apto_sort_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cf_forms: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_cf_form_entries: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_cf_form_entry_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cf_form_entry_values: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_cf_pro_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_queue_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cf_queue_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nextend2_smartslider3_sliders: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    wp_options: Data: 2.13MB + Index: 0.06MB + Engine InnoDB
    wp_postmeta: Data: 2.52MB + Index: 0.77MB + Engine InnoDB
    wp_posts: Data: 1.52MB + Index: 0.30MB + Engine InnoDB
    wp_po_plugins: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_rcp_customers: Data: 0.14MB + Index: 0.02MB + Engine InnoDB
    wp_rcp_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rcp_membershipmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_rcp_memberships: Data: 0.25MB + Index: 0.06MB + Engine InnoDB
    wp_rcp_membership_counts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rcp_payments: Data: 0.13MB + Index: 0.19MB + Engine InnoDB
    wp_rcp_payment_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_rcp_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_rcp_subscription_level_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_restrict_content_pro: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_search_filter_cache: Data: 0.19MB + Index: 0.28MB + Engine InnoDB
    wp_search_filter_term_results: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.11MB + Index: 0.08MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 1.52MB + Index: 0.25MB + Engine InnoDB
    wp_users: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforo_accesses: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforo_activity: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_wpforo_forums: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wpforo_languages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforo_likes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpforo_phrases: Data: 0.05MB + Index: 0.08MB + Engine MyISAM
    wp_wpforo_postmeta: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wpforo_posts: Data: 0.02MB + Index: 0.28MB + Engine InnoDB
    wp_wpforo_post_revisions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforo_profiles: Data: 0.05MB + Index: 0.08MB + Engine InnoDB
    wp_wpforo_subscribes: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wpforo_tags: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpforo_topics: Data: 0.02MB + Index: 0.25MB + Engine InnoDB
    wp_wpforo_usergroups: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpforo_views: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpforo_visits: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_wpforo_votes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.33MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.11MB + Index: 0.13MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.16MB + Index: 0.13MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 23
    acf-field-group: 10
    apto_sort: 2
    attachment: 397
    cookielawinfo: 20
    custom_css: 1
    forum: 1
    is_search_form: 2
    nav_menu_item: 23
    oembed_cache: 84
    page: 40
    post: 24
    product: 5
    pt_view: 9
    revision: 221
    search-filter-widget: 5
    shop_coupon: 1
    shop_order: 1
    topic: 1
    videos: 285
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (24) ###
    
    Advanced Custom Fields PRO: by Elliot Condon – 5.9.1
    Advanced Post Types Order: by Nsp Code – 4.3.8.3
    AffiliateWP: by Sandhills Development
    LLC – 2.5.7
    
    Akismet Anti-Spam: by Automattic – 4.1.6
    Caldera Forms: by Caldera Forms – 1.9.2
    GDPR Cookie Consent: by WebToffee – 1.9.1
    Favorites: by Kyle Phillips – 2.3.2
    No Cache AJAX Widgets: by MagniGenie – 1.0
    Paywall for WooCommerce: by TIV.NET INC – 2.1.0
    Restrict Content Pro - WooCommerce Member Discounts: by Sandhills Development
    LLC – 1.0.5 – Installed version not tested with active version of WooCommerce 4.5.2
    
    Redirect After Login, Registration & Logout: by Addify – 1.1.3 – Installed version not tested with active version of WooCommerce 4.5.2
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.3
    Restrict Content Pro: by Sandhills Development
    LLC – 3.3.3
    
    Search & Filter Pro: by Code Amp – 2.5.1
    Shortcode in Menus: by Gagan Deep Singh – 3.5
    Smart Slider 3: by Nextend – 3.4.1.9
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.3
    WooCommerce Stripe Gateway: by WooCommerce – 4.5.2 – Installed version not tested with active version of WooCommerce 4.5.2
    WooCommerce: by Automattic – 4.5.2
    Yoast SEO: by Team Yoast – 14.9 – Installed version not tested with active version of WooCommerce 4.5.2
    WP Migrate DB: by Delicious Brains – 1.0.16
    Smush: by WPMU DEV – 3.7.0
    wpForo: by gVectors Team – 1.8.4
    WPS Hide Login: by WPServeur
    NicolasKulka
    tabrisrp – 1.5.6
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (6) ###
    
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.6.4
    WP Engine DevKit: by Jason Cohen
    Brandon DuRette
    Brian Gosnell
    Josh Yelton
    Jason Stallings
    Chris Wiegman – 0.16.3
    
    WP Engine Seamless Login Plugin: by WP Engine – 1.5.5
    WP Engine Security Auditor: by wpengine – 1.0.9
    WP Engine System: by WP Engine – 4.0.0
    WP Migrate DB Compatibility: by Delicious Brains – 1.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    paywall (paywall)
    
    Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
    exclude-from-catalog (exclude-from-catalog)
    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 ###
    
    Shop base: #1641 - /shop/
    Basket: #1642 - /basket/
    Checkout: #1643 - /checkout/
    My account: #1644 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: The Pole Dancing Therapist
    Version: 1.0
    Author URL: https://www.hannahking.com/
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ❌ Not declared
    
    ### Templates ###
    
    Archive Template: Your theme has a woocommerce.php file. You will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 22
    Oldest: 2020-09-24 13:31:50 +0000
    Newest: 2020-09-30 17:48:21 +0000
    
    ### Paywall ###
    
    store_country_state: GB
    admin_email:  
    reporter_name:  
    reporter_email:  
    

    Hi @delanthear, thanks for the additional details and SSR. None of that jumps out as being obviously wrong. Customizations like this are outside the scope of our support, but you could try finding another theme that does work with WooCommerce and compare that to what you have so far.

    Can you go into more detail about why you don’t want to declare WooCommerce support in your theme? That seems like the simplest option thus far.

    Thread Starter delanthear

    (@delanthear)

    It’s a custom built theme for the site I’m adding Woocommerce to so I’m unable to replace it with something else.

    I’m trying to avoid declaring WooCommerce support because when I do the product page becomes completely unstyled and I want to avoid having to spend extra time trying to style it. I’m wondering though is there just a woocommerce css file I need to include once I’ve declared support and that will actually help?

    Thread Starter delanthear

    (@delanthear)

    You can ignore this. I’ve worked out how to combine the custom themes layout with the woocomerce templates to make this work once I’ve declared theme support.

    I still have no idea why the shop product archive wasn’t appearing, but I guess I can work around this now!

    • This reply was modified 3 years, 6 months ago by delanthear.

    OK, great! Feel free to reach out again if you have any further questions!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘shop page not displaying any products on custom theme’ is closed to new replies.