• Resolved ramzi27

    (@ramzi27)


    Dear Support,

    I have a problem regarding default sorting for when i choose sort price low to high of high to low it sorts all the products in the shop! but what i want from it is to sort only the products in the selected category.

    thank you for your help

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @ramzi27

    Thanks for reaching out!

    I was able to test the issue on your site above that when I select the category, then filter the price, it searches the whole product catalog.

    I replicated this on my test site using the Filter by Price and Product Categories List Widgets.

    Image Link: https://snipboard.io/bDjESt.jpg

    Testing it here on the Shop Page: selecting the Category: Accessories (which has only 5 products).

    Image Link: https://snipboard.io/kR7YF2.jpg

    Then, filter the price from $0-$30. This is the final output wherein only 3 results showed under the category: Accessories.

    Image Link: https://snipboard.io/kgGd8e.jpg

    This kind of problem is usually caused by a conflict with your theme or with another plugin present on your site. Can you please try to perform a full conflict test and see if that works?

    https://woocommerce.com/document/how-to-test-for-conflicts/

    Let us know how it goes!

    Thread Starter ramzi27

    (@ramzi27)

    Hello xue28,

    Thank you for your reply! I think you misunderstood me, for i am not talking about the price but what I am aiming for is that there is a default sorting button in my shop page which offers different types of sorting. What I want is that when I choose a category and then select the type of sorting it will sort the products in this category. While, what it does now is that it sorts every product in my shop page which is not what i need. I am going also to attach a screenshot for better understanding.,

    Here is the link to the screenshot https://imgur.com/a/W1kquzD

    thank you for your time and help

    Hi @ramzi27

    I apologize if I misunderstood your issue here and thanks for clarifying this further.

    I replicated the scenario once again on my test site using the category: Accessories. By default, sorting is by popularity:

    Image Link: https://snipboard.io/NWmhkI.jpg

    Then, I tried sorting by price: low to high.

    Image Link: https://snipboard.io/ra9yZM.jpg

    Sorting by price: high to low:

    Image Link: https://snipboard.io/Dgz41Q.jpg

    Please see that on both testings, products were sorted accordingly, and sorting was done inside the category: Accessories.

    Can you please try to switch to default Storefront theme and only WooCommerce plugin is active and see if this works?

    If it did not resolve the issue, please share your System Status Report, that will help us further troubleshoot.

    You can find it via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    Let us know how it goes!

    Thread Starter ramzi27

    (@ramzi27)

    Hello @xue28 ,

    Thank you again for your help and really there is no need to apologize !! i tried doing what you recommended but again it did not work so am going to share here the system report.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://royalwhiskeylb.com
    Site address (URL): https://royalwhiskeylb.com
    WC Version: 7.0.0
    REST API Version: ? 7.0.0
    WC Blocks Version: ? 8.5.1
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0.2
    WP Multisite: –
    WP Memory Limit: 128 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: nginx/1.18.0
    PHP Version: 7.4.12
    PHP Post Max Size: 512 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.77.0
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.26-29-log
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.9.4
    WC Database Prefix: wp_
    Total Database Size: 16.44MB
    Database Data Size: 14.30MB
    Database Index Size: 2.14MB
    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.17MB + Index: 0.20MB + 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.05MB + Index: 0.03MB + Engine InnoDB
    wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_braapf_product_stock_status_parent: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_braapf_product_variation_attributes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_braapf_term_taxonomy_hierarchical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_braapf_variable_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + 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.05MB + 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_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_action_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_field_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_form_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_upgrades: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 7.52MB + Index: 0.06MB + Engine InnoDB
    wp_postmeta: Data: 3.48MB + Index: 0.20MB + Engine InnoDB
    wp_posts: Data: 1.52MB + Index: 0.06MB + 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.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.03MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + 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_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 249
    br_filters_group: 1
    br_product_filter: 1
    cartflows_flow: 1
    cartflows_step: 2
    custom_css: 7
    customize_changeset: 171
    elementor_library: 7
    filter-set: 3
    mc4wp-form: 1
    ml-slide: 1
    ml-slider: 1
    nav_menu_item: 13
    page: 14
    post: 3
    product: 128
    revision: 58
    wa-order-numbers: 1
    wcapf-filter: 1
    woolentor-template: 1
    wp_global_styles: 1
    wpforms: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (18) ###
    
    Starter Templates: by Brainstorm Force – 3.1.17
    CartFlows: by CartFlows Inc – 1.11.1
    Checkout Plugins - Stripe for WooCommerce: by Checkout Plugins – 1.4.6
    Convertful - Your Ultimate On-Site Conversion Tool: by  – 2.5
    Custom Fonts: by Brainstorm Force – 1.3.7
    Elementor: by Elementor.com – 3.7.8
    ElementsKit Lite: by Wpmet – 2.7.2
    Essential Addons for Elementor: by WPDeveloper – 5.3.2
    HT Newsletter for Elementor: by HT Plugins – 1.0.10
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.10
    OneClick Chat to Order: by Walter Pinem – 1.0.4.1
    Simple Banner: by Ryan Petersen – 2.12.1
    Sina Extension for Elementor: by SinaExtra – 3.4.3
    Temporary Login Without Password: by StoreApps – 1.7.6
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.23
    
    Variation Swatches for WooCommerce: by CartFlows – 1.0.4
    WooCommerce: by Automattic – 7.0.0
    WooLentor - WooCommerce Elementor Addons + Builder: by HasThemes – 2.4.5
    
    ### Inactive Plugins (2) ###
    
    Order On Mobile for WooCommerce: by INTOLAP – 2.2
    WP Menu Cart: by WP Overnight – 2.12.1
    
    ### Dropin Plugins (1) ###
    
    object-cache.php: Redis Object Cache Drop-In
    
    ### Must Use Plugins (1) ###
    
    EasyWP Plugin: by Namecheap
    Inc. – 1.0.1.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)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ?
    
    ### WC Pages ###
    
    Shop base: #401 - /shop-2/
    Cart: #97 - /cart-2/
    Checkout: #98 - /checkout-2/
    My account: #99 - /my-account-2/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Astra Child
    Version: 1.0.0
    Author URL: https://wpastra.com/about/
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 3.9.2
    Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ? Next scheduled: 2022-10-13 08:56:48 +00:00
    Options: ?
    Notes: 55
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Canceled: 4
    Oldest: 2022-09-12 08:57:59 +0000
    Newest: 2022-10-10 10:46:30 +0000
    
    Complete: 496
    Oldest: 2022-09-12 08:57:59 +0000
    Newest: 2022-10-13 06:56:51 +0000
    
    Pending: 2
    Oldest: 2022-10-13 21:36:10 +0000
    Newest: 2022-10-13 21:36:10 +0000
    
    ### Status report information ###
    
    Generated at: 2022-10-13 07:00:18 +00:00
    

    Hi @ramzi27

    Thanks for sending the System Status Report.

    WC Version: 7.0.0
    WC Database Version: 6.9.4

    As a first step, please update WooCommerce core to the latest release since it is not matching with the database version and may cause inconsistencies.

    Let us know how it goes!

    Thread Starter ramzi27

    (@ramzi27)

    hello @xue28 ,

    i updated the data base version to match WC version and it did not work !

    is there anything else i should do?

    Saif

    (@babylon1999)

    Hello @ramzi27,

    i updated the data base version to match WC version and it did not work !

    I ask to you reach out to Elementor about this in another forum, have you heard back from them?

    Also, please don’t make create two threads about the same topic as it’s against the forum rules. ??

    Cheers!

    Thread Starter ramzi27

    (@ramzi27)

    Hello @babylon1999 ,

    I did ask Elementor about the issue and they did not respond yet !

    I made two threads because the replies were too slow and it was frustrating honestly and till now its not solved, and btw i did not know about the forum rules ??

    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Default Sorting’ is closed to new replies.