• Resolved Ammar Tello

    (@ammartello97)


    Hello,

    Could you please check why the number of products differs in English from Arabic?

    As you can see here in the English version of the site, the number of products in Diamond material are 40, and in Gold material are 30:
    https://www.screencast.com/t/LhjekZscW

    But in the Arabic version of the site, the number of products in Diamond material are 17, and in Gold, the material are 15, as you can see:
    https://www.screencast.com/t/FfhV7xq7

    Although each product has been translated into Arabic language and has the same attributes.

    Please note that this problem is not related to the used theme, because I have tried the default Woo Commerce theme – Storefront, and gives me the same results.

    I have used for translation:

    • WPML Multilingual CMS
    • WPML String Translation
    • WooCommerce Multilingual & Multicurrency

    Thank you.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @ammartello97

    There are a few possible reasons why the number of products might differ between the English and Arabic versions of the site. Here are some things to consider:

    1. Filtering or sorting options: It’s possible that the English and Arabic versions of the site have different filtering or sorting options applied, which could result in a different number of products being displayed. You can check each site version’s filtering or sorting options to see if this is the case.

    2. Product visibility: It’s also possible that some of the products are only visible on one version of the site and not the other. For example, some products are marked as “hidden” in one version of the site but are visible in the other. You can check the visibility settings for each product to see if this is the case.

    3. Translation issues: It’s possible that some of the products or product attributes were not translated correctly, which could result in the products not being displayed in one version of the site. You can check the translation settings for each product to see if this is the case.

    4. Caching issues: It’s also possible that the site is using caching, which could result in the different versions displaying different data. You can try clearing the cache on the site to see if this resolves the issue.

    I hope this helps! If you have any other questions or need further assistance, please don’t hesitate to ask.

    Hi @ammartello97

    Thanks for reaching out!

    I understand that the number of products on your site differs when viewed in English and Arabic versions.

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

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this 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.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    Let us know how it goes!

    Thread Starter Ammar Tello

    (@ammartello97)

    Hi @faisalahammad

    Thank you for your help, but none of your suggestions works for me.

    I have made sure that I did each point right.

    Thread Starter Ammar Tello

    (@ammartello97)

    Hi @xue28

    Thank you for your help.

    I have did this test, and the problem still exist.

    here is the system report:

    WordPress Environment
    
    WordPress address (URL): https://abdullahsakkijha.com
    Site address (URL): https://abdullahsakkijha.com
    WC Version: 7.2.2
    REST API Version: ?</img> 7.2.2
    WC Blocks Version: ?</img> 8.9.2
    Action Scheduler Version: ?</img> 3.4.0
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: LiteSpeed
    PHP Version: 7.4.33
    PHP Post Max Size: 2 GB
    PHP Time Limit: 120
    PHP Max Input Vars: 5000
    cURL Version: 7.71.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.6.10-MariaDB-cll-lve
    Max Upload Size: 2 GB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 7.2.2
    WC Database Prefix: wp_
    Total Database Size: 62.75MB
    Database Data Size: 55.51MB
    Database Index Size: 7.24MB
    wp_woocommerce_sessions: Data: 0.13MB + 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.05MB + 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.14MB + Index: 0.17MB + 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.13MB + Index: 0.11MB + Engine InnoDB
    wp_aioseo_cache: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_db7_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ewwwio_images: Data: 0.48MB + Index: 0.30MB + Engine InnoDB
    wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
    wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_strings: Data: 1.52MB + Index: 1.22MB + Engine InnoDB
    wp_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_positions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_string_translations: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_icl_translate: Data: 1.52MB + Index: 0.05MB + Engine InnoDB
    wp_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_translations: Data: 0.11MB + Index: 0.30MB + Engine InnoDB
    wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_status: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_options: Data: 6.50MB + Index: 0.19MB + Engine InnoDB
    wp_postmeta: Data: 13.52MB + Index: 0.86MB + Engine InnoDB
    wp_posts: Data: 2.52MB + Index: 0.22MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + 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.09MB + Index: 0.06MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.33MB + Index: 0.14MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.05MB + 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.05MB + Index: 0.05MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.06MB + 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_wfblockediplog: Data: 0.44MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 13.55MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 1.03MB + Index: 0.23MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.42MB + Index: 0.13MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.17MB + Index: 0.11MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.33MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    
    Post Type Counts
    
    attachment: 650
    custom_css: 1
    customize_changeset: 1
    elementor_library: 3
    nav_menu_item: 57
    page: 30
    post: 1
    product: 140
    product_variation: 132
    revision: 83
    shop_order: 25
    staticblocks: 2
    wp_global_styles: 1
    wpcf7_contact_form: 2
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    Active Plugins (16)
    
    ManageWP - Worker: by GoDaddy – 4.9.16
    WPML Multilingual CMS: by OnTheGoSystems – 4.5.14
    Akismet Anti-Spam: by Automattic – 5.0.2
    Contact Form 7: by Takayuki Miyoshi – 5.7.1
    Contact Form CFDB7: by Arshid – 1.2.6.5
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Elementor: by Elementor.com – 3.9.2
    XStore Core: by 8theme – 4.3.9
    EWWW Image Optimizer: by Exactly WWW – 6.9.3
    Loco Translate: by Tim Whitlock – 2.6.3
    Duplicate Variations for WooCommerce: by Emran Ahmed – 2.0.6
    WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.0.2
    WooCommerce: by Automattic – 7.2.2
    Wordfence Security: by Wordfence – 7.8.2
    Yoast SEO: by Team Yoast – 19.13
    WPML String Translation: by OnTheGoSystems – 3.2.3
    
    Inactive Plugins (0)
    
    Must Use Plugins (1)
    
    ManageWP - Worker Loader: by GoDaddy – 1.0.0
    
    Settings
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: right_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    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: ?</img>
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #6 - /shop/
    Cart: #7 - /bag/
    Checkout: #8 - /checkout/
    My profile: #13 - /my-profile/
    Terms and conditions: #5498 - /terms-and-conditions/
    
    Theme
    
    Name: Abdullah Sakkijha
    Version: 1.0.0
    Author URL: https://ammartello.com
    Child Theme: ?</img>
    Parent Theme Name: XStore
    Parent Theme Version: 8.3.9
    Parent Theme Author URL: https://www.8theme.com
    WooCommerce Support: ?</img>
    
    Templates
    
    Overrides: xstore/woocommerce/archive-product.php
    xstore/woocommerce/cart/cart-empty.php
    xstore/woocommerce/cart/cart-item-data.php
    xstore/woocommerce/cart/cart-shipping.php
    xstore/woocommerce/cart/cart.php
    xstore/woocommerce/cart/cross-sells.php
    xstore/woocommerce/cart/mini-cart.php
    xstore/woocommerce/cart/proceed-to-checkout-button.php
    xstore/woocommerce/checkout/form-billing.php
    xstore/woocommerce/checkout/form-checkout.php
    xstore/woocommerce/checkout/form-shipping.php
    xstore/woocommerce/checkout/review-order.php
    xstore/woocommerce/checkout/thankyou.php
    xstore/woocommerce/content-product-cat.php
    xstore/woocommerce/content-product.php
    xstore/woocommerce/content-single-product.php
    xstore/woocommerce/content-widget-product.php
    xstore/woocommerce/content-widget-reviews.php
    xstore/woocommerce/global/breadcrumb.php
    xstore/woocommerce/global/form-login.php
    xstore/woocommerce/global/wrapper-end.php
    xstore/woocommerce/global/wrapper-start.php
    xstore/woocommerce/loop/loop-end.php
    xstore/woocommerce/loop/loop-start.php
    xstore/woocommerce/loop/no-products-found.php
    xstore/woocommerce/loop/result-count.php
    xstore/woocommerce/myaccount/dashboard.php
    xstore/woocommerce/myaccount/form-login.php
    xstore/woocommerce/myaccount/navigation.php
    xstore/woocommerce/single-product/add-to-cart/simple.php
    abdullah-sakkijha/woocommerce/single-product/meta.php
    xstore/woocommerce/single-product/product-image.php
    xstore/woocommerce/single-product/related.php
    xstore/woocommerce/single-product/tabs/tabs.php
    abdullah-sakkijha/woocommerce/single-product/title.php
    xstore/woocommerce/single-product/up-sells.php
    xstore/woocommerce/single-product.php
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    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: ?</img> Next scheduled: 2022-12-27 15:15:07 +02:00
    Options: ?</img>
    Notes: 62
    Onboarding: completed
    
    Action Scheduler
    
    Complete: 412
    Oldest: 2022-11-26 15:56:11 +0200
    Newest: 2022-12-27 13:55:26 +0200
    
    Pending: 1
    Oldest: 2022-12-27 16:28:45 +0200
    Newest: 2022-12-27 16:28:45 +0200
    
    Status report information
    
    Generated at: 2022-12-27 13:58:47 +02:00
    `

    Howdy @ammartello97

    I have used for translation:

    • WPML Multilingual CMS
    • WPML String Translation
    • WooCommerce Multilingual & Multicurrency

    From what I gather, this is not a core WooCommerce, or a theme related issue.

    Based on your other thread, linked here, I understand that the team at OnTheGoSystems indicates that comes from WPML.

    Let us know how that goes, since I understand that this thread can safely be marked as resolved now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The Number Of Products Is Different From Language To Other’ is closed to new replies.