• Resolved kender

    (@kender)


    Since the 3.3 update, my theme overrides are not taking hold.

    They are in /mytheme/woocommerce/{file.ext}
    There is no /mytheme/woocommerce.php file

    I have disabled all other plugins to see if there was conflict, no change
    I have disabled all custom functions.php edits related to woocommerce (while all plugins disabled), no change
    no caching running
    all custom theme files have been updated to work with 3.3 changes

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter kender

    (@kender)

    I just looked at the main plugin page, it is still on 3.2.6, while I was told to upgrade via the wordpress updater to 3.3.0, do I need to roll back?

    Thread Starter kender

    (@kender)

    The template overrides the default sidebar placement and puts it to the right
    the sidebar-shop.php file is not being recognized, and there should be bootstrap classes throughout the template

    URL to a store categpry is: http://orointernational.goidp3.com/product-category/gold/gold-earrings/dangles-gold-earrings/

    
    ### WordPress Environment ###
    
    Home URL: http://orointernational.goidp3.com
    Site URL: http://orointernational.goidp3.com
    WC Version: 3.3.0
    Log Directory Writable: ✔
    WP Version: 4.9.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.33-1+ubuntu14.04.1+deb.sury.org+1
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.35.0
    OpenSSL/1.0.1f
    
    SUHOSIN Installed: –
    MySQL Version: ❌ 5.5.59 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 8 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.3.0
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.
    Total Database Size: 5.91MB
    Database Data Size: 4.42MB
    Database Index Size: 1.49MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.02MB + Index: 0.09MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 2.02MB + Index: 0.05MB
    wp_postmeta: Data: 1.52MB + Index: 0.59MB
    wp_posts: Data: 0.31MB + Index: 0.06MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.05MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB
    
    ### Post Type Counts ###
    
    acf-field: 12
    acf-field-group: 3
    attachment: 130
    mc4wp-form: 1
    nav_menu_item: 31
    page: 19
    post: 2
    product: 135
    revision: 47
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
    
    ### Active Plugins (15) ###
    
    Advanced Custom Fields PRO: by Elliot Condon – 5.6.7
    Contact Form 7 confirm email field: by Vallabh vyas – 1.2
    Contact Form 7: by Takayuki Miyoshi – 5.0
    Disable Comments: by Samir Shah – 1.7.1
    MailChimp for WordPress: by ibericode – 4.1.14
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.0.2
    SMTP Mailer: by naa986 – 1.0.5
    SSH SFTP Updater Support: by TerraFrost – 0.7.2
    Woo CSV Import: by Gabe Shackle – 0.1.0
    WooCommerce Wholesale Lead Capture: by Rymera Web Co – 1.7.0 – Not tested with the active version of WooCommerce
    WooCommerce Wholesale Order Form: by Rymera Web Co – 1.8.1
    WooCommerce Wholesale Prices Premium: by Rymera Web Co – 1.16.1
    WooCommerce Wholesale Prices: by Rymera Web Co – 1.6.0 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.3.1-rc.1
    YITH WooCommerce Wishlist: by YITHEMES – 2.2.1
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: USD ($)
    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)
    
    ### WC Pages ###
    
    Shop base: #425 - /shop/
    Cart: #426 - /cart/
    Checkout: #427 - /checkout/
    My account: #428 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: wp-bootstrap
    Version: 3.3.1
    Author URL: http://cbarn.es
    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 ###
    
    Overrides: wp-bootstrap/woocommerce/archive-product.php
    wp-bootstrap/woocommerce/loop/orderby.php
    wp-bootstrap/woocommerce/loop/pagination.php
    wp-bootstrap/woocommerce/loop/result-count.php
    wp-bootstrap/woocommerce/single-product/title.php
    

    You didnt ask for them, but functions edits are here

    
    add_filter('loop_shop_columns', 'loop_columns');
    if (!function_exists('loop_columns')) {
      function loop_columns() {
        return 3; // 3 products per row
      }
    }
    
    add_filter( 'woocommerce_product_add_to_cart_text', 'woo_archive_custom_cart_button_text' );    // 2.1 +
    function woo_archive_custom_cart_button_text() {
      return __( 'Click For Details', 'woocommerce' );
    }
    
    function woo_related_products_limit() {
      global $product;
      $args['posts_per_page'] = 6;
      return $args;
    }
    add_filter( 'woocommerce_output_related_products_args', 'jk_related_products_args' );
    function jk_related_products_args( $args ) {
      $args['posts_per_page'] = 6; // 4 related products
      $args['columns'] = 3; // arranged in 2 columns
      return $args;
    }
    
      /* reorder product view */
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
    add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 70 );
    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 80 );
    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 90 );
    
    Thread Starter kender

    (@kender)

    Not sure why, but post containing the code blocks is held for moderation, it should be available soon

    sidebar-shop.php is not a WooCommerce template file.

    Thread Starter kender

    (@kender)

    that is the sidebar with the id of shop that woocommerce uses by default

    What is your theme based on? I just tested using Storefront and had the same issue. However, when I used a custom theme it defaulted correctly.

    Thread Starter kender

    (@kender)

    wp-bootstrap is just a basic bootstrap theme

    the base of it is here, but i use a modified version
    https://github.com/arnabwahid/wordpress-bootstrap

    Thread Starter kender

    (@kender)

    @mtruitt :: what theme did you end up using that works? I may have to switch if I can’t get this resolved

    @kender

    Sorry for the late reply. Try adding

    add_action( ‘after_setup_theme’, ‘wc_support’ );
    function wc_support() {
    add_theme_support( ‘woocommerce’ );
    add_theme_support( ‘wc-product-gallery-zoom’ );
    add_theme_support( ‘wc-product-gallery-lightbox’ );
    add_theme_support( ‘wc-product-gallery-slider’ );
    }

    to your functions file. Support has to be declared to override WooCommerce templates.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Template override not recognized’ is closed to new replies.