• Resolved pimonda1

    (@pimonda1)


    Hi there,

    We are using elementor custom made single product pages with dynamic tags in order to show our woocommerce products in the right templates.

    We would like to add the option to show in those templates the #stock left for that related product. However I can’t find a solution now suiting those needs. I tried Elementor Product stock dynamic tag but this is not working.

    Does someone has a solution for this?

    Would be great thanks a lot!

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

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

    Thank you for reaching out.

    Kindly note that this forum is for WooCommerce core issues; any third-party plugin or theme is outside our scope of support.

    There is an option in WooCommerce core to display how many product items you have in stock left.

    To enable this feature, go to WooCommerce → Settings → Products → Inventory and check the Enable stock management box in the Manage stock option.

    Once you do this, go to your Products section and edit the product you want to display the stock left. Then, in Product data → Inventory, check the Enable stock management at product level box in the Manage stock? option. Once you do this, enter the Stock quantity you want to display and save changes.

    Once you do this, save changes, and you are all set.

    If you want to edit products in bulk, you can do it in the Products section, check the box to select all products, and then select the Edit option. There, you will find the same Manage Stock? and Stock quantity options.

    More about setting your inventory here: https://woocommerce.com/document/configuring-woocommerce-settings/#products-inventory-options

    I hope this helps!

    Thread Starter pimonda1

    (@pimonda1)

    Hi there,

    Yes we did this all but seems like that on our custome single product templates it is not showing still. We have no clue why it is not showing up. If you have anymore tips in order to solve this would be great thanks.

    Pim

    Hi @pimonda1

    on our custome single product templates it is not showing still

    We are using elementor custom made single product pages with dynamic tags in order to show our woocommerce products in the right templates

    As it is custom made, it seems the templates have been overridden, and that is why the default/normal functioning is not happening.

    Looks like you would need to reach out to your developer in this regard, but before that please share a copy of your site’s System Status so we can get a better idea. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Thread Starter pimonda1

    (@pimonda1)

    hi there,

    Yes that could be.

    ### WordPress Environment ###
    
    WordPress address (URL): https://www.ondafc.es
    Site address (URL): https://www.ondafc.es
    WC Version: 6.6.1
    REST API Version: ? 6.6.1
    WC Blocks Version: ? 7.6.2
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: ? 6.0 - There is a newer version of WordPress available (6.0.1)
    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.4.30
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1q-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.38-41-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.2.2
    WC Database Prefix: upj_
    Total Database Size: 625.87MB
    Database Data Size: 515.12MB
    Database Index Size: 110.75MB
    upj_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    upj_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    upj_woocommerce_order_items: Data: 1.52MB + Index: 0.25MB + Engine InnoDB
    upj_woocommerce_order_itemmeta: Data: 5.52MB + Index: 7.03MB + Engine InnoDB
    upj_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    upj_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_actionscheduler_actions: Data: 20.55MB + Index: 19.13MB + Engine InnoDB
    upj_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_actionscheduler_logs: Data: 12.52MB + Index: 10.03MB + Engine InnoDB
    upj_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_comments: Data: 5.52MB + Index: 5.88MB + Engine InnoDB
    upj_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    upj_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    upj_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    upj_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    upj_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_fsmpt_email_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_options: Data: 18.42MB + Index: 0.44MB + Engine InnoDB
    upj_postmeta: Data: 107.58MB + Index: 47.16MB + Engine InnoDB
    upj_posts: Data: 16.52MB + Index: 3.88MB + Engine InnoDB
    upj_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    upj_rank_math_analytics_inspections: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    upj_rank_math_analytics_objects: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    upj_rank_math_internal_links: Data: 0.14MB + Index: 0.05MB + Engine InnoDB
    upj_rank_math_internal_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    upj_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_sgs_log_events: Data: 5.02MB + Index: 0.00MB + Engine InnoDB
    upj_sgs_log_visitors: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    upj_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_term_relationships: Data: 0.11MB + Index: 0.08MB + Engine InnoDB
    upj_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_trp_dictionary_en_gb_bo: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    upj_trp_dictionary_en_gb_es_es: Data: 4.52MB + Index: 3.17MB + Engine InnoDB
    upj_trp_dictionary_en_us_es_es: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    upj_trp_gettext_bo: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    upj_trp_gettext_en_gb: Data: 1.52MB + Index: 0.83MB + Engine InnoDB
    upj_trp_gettext_en_us: Data: 0.14MB + Index: 0.19MB + Engine InnoDB
    upj_trp_gettext_es_es: Data: 1.52MB + Index: 0.73MB + Engine InnoDB
    upj_trp_original_meta: Data: 0.30MB + Index: 0.44MB + Engine InnoDB
    upj_trp_original_strings: Data: 3.52MB + Index: 2.52MB + Engine InnoDB
    upj_usermeta: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
    upj_users: Data: 0.22MB + Index: 0.17MB + Engine InnoDB
    upj_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    upj_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_wc_customer_lookup: Data: 0.16MB + Index: 0.13MB + Engine InnoDB
    upj_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    upj_wc_order_product_lookup: Data: 1.52MB + Index: 1.08MB + Engine InnoDB
    upj_wc_order_stats: Data: 1.52MB + Index: 0.73MB + Engine InnoDB
    upj_wc_order_tax_lookup: Data: 0.14MB + Index: 0.14MB + Engine InnoDB
    upj_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_wc_product_meta_lookup: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
    upj_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    upj_wdcp_credits_log: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    upj_woocommerce_bis_activity: Data: 0.23MB + Index: 0.33MB + Engine InnoDB
    upj_woocommerce_bis_notifications: Data: 0.13MB + Index: 0.19MB + Engine InnoDB
    upj_woocommerce_bis_notificationsmeta: Data: 0.19MB + Index: 0.14MB + Engine InnoDB
    upj_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    upj_wpml_mails: Data: 297.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 846
    custom_css: 1
    customize_changeset: 1
    elementor_library: 52
    language_switcher: 4
    nav_menu_item: 20
    oembed_cache: 3
    page: 39
    post: 1
    product: 154
    product_variation: 10
    revision: 832
    shop_order: 7706
    shop_order_refund: 947
    shop_subscription: 122
    tribe_events: 531
    tribe_organizer: 1
    tribe_venue: 18
    tribe_wooticket: 6354
    tribe-ea-record: 56
    viwec_template: 14
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (42) ###
    
    ManageWP - Worker: by GoDaddy – 4.9.14
    Bizum WooCommerce: by Bizum – 3.0.3
    Code Snippets: by Code Snippets Pro – 3.1.1
    Elementor Pro: by Elementor.com – 3.7.2
    Elementor: by Elementor.com – 3.6.7
    Email Template Customizer for WooCommerce: by VillaTheme – 1.1.10
    Essential Addons for Elementor - Pro: by WPDeveloper – 5.0.5
    Essential Addons for Elementor: by WPDeveloper – 5.1.8
    Event Tickets Plus: by The Events Calendar – 5.5.2
    Event Tickets: by The Events Calendar – 5.4.2.1
    The Events Calendar PRO: by The Events Calendar – 5.14.3
    HubSpot All-In-One Marketing - Forms, Popups, Live Chat: by HubSpot – 8.13.58
    MWB HubSpot for WooCommerce: by MakeWebBetter – 1.3.1
    Mollie Payments for WooCommerce: by Mollie – 7.2.0
    Piotnet Addons For Elementor: by Piotnet – 2.4.17
    Promoter Site Health: by Modern Tribe
    Inc. – 1.0.0
    
    Rank Math SEO: by Rank Math – 1.0.92.1
    SiteGround Security: by SiteGround – 1.3.0
    Shortcode in Menus: by Gagan Deep Singh – 3.5.1
    Super Progressive Web Apps: by SuperPWA – 2.2.6
    Temporary Login Without Password: by StoreApps – 1.7.3
    The Events Calendar: by The Events Calendar – 5.16.2.1
    TranslatePress - Business: by Cozmoslabs
    Razvan Mocanu
    Madalin Ungureanu – 1.1.3
    
    TranslatePress - Multilingual: by Cozmoslabs
    Razvan Mocanu
    Madalin Ungureanu
    Cristophor Hurduban – 2.2.9
    
    Events Tickets Extension: Ticket Email Settings: by Modern Tribe
    Inc. – 1.0.1
    
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.14
    
    Visibility Logic for Elementor: by StaxWP – 2.3.0
    W3Speedster Pro: by W3speedster – 7.10
    Confirm Field Editor for WooCommerce: by ThemeHigh – 1.6.1
    Woo Credits Platinum: by https://woocredits.com/ – 4.1.7
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.1
    WooCommerce Back In Stock Notifications: by WooCommerce – 1.3.1 (update to version 1.3.2 is available)
    WooCommerce PayPal Payments: by WooCommerce – 1.9.0
    WooCommerce Subscriptions: by WooCommerce – 4.4.0
    WooCommerce: by Automattic – 6.6.1 (update to version 6.7.0 is available)
    WordPress Importer: by wordpressdotorg – 0.7
    SiteGround Central: by SiteGround – 2.0.7
    WP Fastest Cache: by Emre Vona – 1.0.2
    WP File Manager: by mndpsingh287 – 7.1.6
    WP Mail Logging: by Wysija – 1.10.4
    WP Mail SMTP: by WPForms – 3.4.0
    YITH WooCommerce Customize My Account Page: by YITH – 3.13.0
    
    ### Inactive Plugins (3) ###
    
    Order Limit Lite for WooCommerce: by Xfinity Soft – 0.0.5
    SiteGround Optimizer: by SiteGround – 7.2.0
    WP Fastest Cache Premium: by Emre Vona – 1.6.0
    
    ### Must Use Plugins (1) ###
    
    ManageWP - Worker Loader: by GoDaddy – 1.0.0
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: credits (credits)
    external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: ? Page not set
    Cart: #9 - /cart/
    Checkout: #10 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: OceanWP
    Version: 3.3.3
    Author URL: https://oceanwp.org/about-oceanwp/
    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: ?
    
    ### Templates ###
    
    Overrides: oceanwp/woocommerce/cart/mini-cart.php
    oceanwp/woocommerce/content-single-product.php
    oceanwp/woocommerce/loop/loop-start.php
    oceanwp/woocommerce/single-product/title.php
    
    ### Subscriptions ###
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Live
    Subscriptions Live URL: https://www.ondafc.es
    Subscription Statuses: wc-active: 84
    wc-pending-cancel: 6
    wc-pending: 2
    wc-on-hold: 5
    wc-cancelled: 25
    
    WooCommerce Account Connected: ? Yes
    Active Product Key: ? No
    Report Cache Enabled: ? Yes
    Cache Update Failures: ? 0 failure
    
    ### Store Setup ###
    
    Country / State: Spain — Valencia
    
    ### Subscriptions by Payment Gateway ###
    
    Mollie - Credit card: wc-active: 78
    wc-cancelled: 22
    wc-on-hold: 5
    wc-pending: 2
    wc-pending-cancel: 6
    
    Mollie - iDEAL: wc-active: 6
    wc-cancelled: 3
    
    ### Payment Gateway Support ###
    
    ONDA Credits.: refunds
    products
    subscriptions
    subscription_cancellation
    subscription_reactivation
    subscription_suspension
    multiple_subscriptions
    subscription_payment_method_change_admin
    subscription_amount_changes
    subscription_date_changes
    
    Mollie - Credit card: products
    refunds
    subscriptions
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    multiple_subscriptions
    subscription_payment_method_change
    subscription_payment_method_change_admin
    subscription_payment_method_change_customer
    
    Mollie - iDEAL: products
    refunds
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    multiple_subscriptions
    subscription_payment_method_change
    subscription_payment_method_change_admin
    subscription_payment_method_change_customer
    
    Mollie - PayPal: products
    refunds
    
    Pago con BIZUM: products
    
    ### Back In Stock ###
    
    Database Version: 1.3.1
    Loopback Test: ?
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ?
    Shop country code: ES
    WooCommerce currency supported: ?
    PayPal card processing available in country: ?
    Pay Later messaging available in country: ?
    Webhook status: –
    Vault enabled: ?
    Logging enabled: ?
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    homescreen
    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
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-07-20 17:25:23 +00:00
    Options: ?
    Notes: 68
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Canceled: 2
    Oldest: 2022-06-21 21:06:38 +0000
    Newest: 2022-07-10 12:30:20 +0000
    
    Complete: 53,484
    Oldest: 2022-06-19 12:07:55 +0000
    Newest: 2022-07-20 11:02:15 +0000
    
    Failed: 12
    Oldest: –
    Newest: –
    
    Pending: 101
    Oldest: 2022-07-20 11:04:34 +0000
    Newest: 2022-08-20 09:11:48 +0000
    
    ### Status report information ###
    
    Generated at: 2022-07-20 11:02:21 +00:00
    
    Roxy

    (@roxannestoltz)

    Hi @pimonda1 ,

    Thanks for sharing the Status report.

    WP Version: ? 6.0 – There is a newer version of WordPress available (6.0.1)
    WC Version: 6.6.1
    WC Database Version: 6.2.2

    As per the status report, I am able to see that you have an outdated version of WordPress and WooCommerce, as well as an outdated WooCommerce Database, which does not match the WooCommerce core version.

    As a next step, please could you update these, in order to obtain optimal functionality?

    Below is a guide on how to update WooCommerce:
    https://woocommerce.com/document/how-to-update-woocommerce/

    Additionally, please update your WooCommerce Database to match the core version. This can be done via WooCommerceStatusToolsUpdate database.

    Below is more detailed documentation on this:
    https://woocommerce.com/document/how-to-update-woocommerce/#woocommerce-data-update-notice

    Please ensure that you have a good backup of your full site and database in place before doing the updates, so that, should something go wrong, you are able to easily restore your site to a functioning state.

    oceanwp/woocommerce/content-single-product.php

    I understand that you have created a custom single product page template however, I am also able to see that your current theme is overriding the content single product template, which could possibly be the cause of this.

    If the update makes no difference, it may be best to perform a conflict test to rule out any theme/plugin conflicts (specifically OceapWP theme and Elementor plugins). Please see the below documentation on how a full conflict test can be performed:

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

    Please let me know how this goes!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display product stock quantity’ is closed to new replies.