Support » Plugin: WooCommerce » Shortcode product sort and Filter By Attributes widget don’t work

  • Resolved sprockettechweb

    (@sprockettechweb)


    Using the Storefront theme and Woocommerce (all other plugins disabled), with a shortcode to display products on the homepage. The sorting functionality directs to the blog instead of sorting the products. Sorting does work properly from the shop page. BUT the filter by attribute widget does not appear on the shop page, or any other page.

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

    (@sprockettechweb)

    For anyone having a similar issue with filter by attribute, the products imported by WooZone weren’t updating the attribute value count. Re-saving each of the products fixed the issue so they appear in the filter by attribute widget. HOWEVER, I’m still having an issue with the sorting when using a product shortcode.

    sprockettechweb

    (@sprockettechweb)

    {bump} Still having an issue using sort functionality with the product shortcode

    sprockettechweb

    (@sprockettechweb)

    
    ### WordPress Environment ###
    
    WC Version: 3.5.1
    Log Directory Writable: ✔
    WP Version: 4.9.8
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.23 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.60.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 10.1.36-MariaDB-cll-lve
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.5.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 7.30MB
    Database Data Size: 5.63MB
    Database Index Size: 1.67MB
    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_amz_amazon_cache: Data: 0.02MB + Index: 0.05MB
    wp_amz_amzkeys: Data: 0.18MB + Index: 0.01MB
    wp_amz_assets: Data: 0.08MB + Index: 0.01MB
    wp_amz_cross_sell: Data: 0.01MB + Index: 0.00MB
    wp_amz_locale_reference: Data: 0.09MB + Index: 0.04MB
    wp_amz_products: Data: 0.00MB + Index: 0.01MB
    wp_amz_queue: Data: 0.00MB + Index: 0.00MB
    wp_amz_report_log: Data: 0.10MB + Index: 0.00MB
    wp_amz_search: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.02MB + Index: 0.08MB
    wp_db7_forms: Data: 0.02MB + Index: 0.00MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 2.22MB + Index: 0.06MB
    wp_postmeta: Data: 1.31MB + Index: 0.23MB
    wp_posts: Data: 0.28MB + Index: 0.09MB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.09MB + Index: 0.13MB
    wp_term_relationships: Data: 0.14MB + Index: 0.09MB
    wp_term_taxonomy: Data: 0.09MB + Index: 0.13MB
    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_wpjf3_mr_access_keys: Data: 0.02MB + Index: 0.00MB
    wp_wpjf3_mr_unrestricted_ips: Data: 0.02MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.48MB + Index: 0.14MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 217
    customize_changeset: 49
    custom_css: 1
    nav_menu_item: 11
    page: 13
    popup: 2
    popup_theme: 6
    post: 3
    product: 31
    revision: 68
    sp_wps_shortcodes: 1
    wpcf7_contact_form: 2
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (14) ###
    
    WPWeb Updater: by WPWeb – 1.0.7
    Contact Form 7: by Takayuki Miyoshi – 5.0.5
    Contact Form CFDB7: by Arshid – 1.2.4.1
    Feed Them Social (Facebook, Instagram, Twitter, etc): by SlickRemix – 2.5.9
    Maintenance Redirect: by Peter Hardy-vanDoorn since 03/18; based on the original by Jack Finch – 1.5.2
    Popup Maker: by WP Popup Maker – 1.7.30
    Social Media and Share Icons (Ultimate Social Media): by UltimatelySocial – 2.0.6
    Widget Options: by Phpbits Creative Studio – 3.7.2
    WooCommerce Product Slider: by ShapedPlugin – 2.1.5 – Not tested with the active version of WooCommerce
    WPWeb WooCommerce Collections: by WPWeb – 1.2.5 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.5.1
    WooZone - WooCommerce Amazon Affiliates: by AA-Team – 10.1.2 – Not tested with the active version of WooCommerce
    Yoast SEO: by Team Yoast – 9.1
    Smush: by WPMU DEV – 2.9.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: #268 - /shop/
    Cart: #269 - /cart/
    Checkout: #270 - /checkout/
    My account: #271 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: BBBTheme
    Version: 2.3.5.1540446889
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 2.3.5
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    sprockettechweb

    (@sprockettechweb)

    6 days, still no response??

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hey @sprockettechweb

    Can you link me to the page where this is happening or screenshot what you have so far, please?

    > The sorting functionality directs to the blog instead of sorting the products. Sorting does work properly from the shop page.

    Are you using the standard Shop page and enhancing this with a Product shortcode?

    Thanks,

    sprockettechweb

    (@sprockettechweb)

    Sorry, I replied to the email not realizing I had to post here. It’s a dev site, so I can’t send a link. How do I upload screenshots here?

    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    You won’t be able to upload files here – you can either share them via your site’s Media section, or use something like https://snaggy.com

    Plugin Support Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    It’s not resolved. I somehow missed the entry about using snaggy. I’ll look into that since it seems the attachments can’t be emailed. However, the issue still remains. If the product code is used on the homepage (and it is not set as the shop page), the sort functionality does not work and instead displays a blog post. If I use the product shortcode on any other non-shop page, the sort functionality works fine. It also works fine on the homepage if I make that the shop page.

    It’s not resolved. I somehow didn’t see the entry about using snaggy. I’ll look into that since it seems the attachments can’t be emailed. Is there a way to keep it private?
    However, the issue still remains. If the product code is used on the homepage (and it is not set as the shop page), the sort functionality does not work and instead displays a blog post. If I use the product shortcode on any other non-shop page, the sort functionality works fine. It also works fine on the homepage if I make that the shop page.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Shortcode product sort and Filter By Attributes widget don’t work’ is closed to new replies.