• Resolved saadexpert86

    (@saadexpert86)


    Hello,

    I have an issue on my website. When i add this shortcode [products limit=”4″ columns=”4″ ] in my wordpress website. It doesn’t show anything on frontend i don’t know why. Can you help me with this.

    Thanks

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @saadexpert86

    Thanks for reaching out!

    I understand that you are using the shortcode above, however, it is not working as expected on this sample page: https://www.smuk.co.uk/shop/sample-page/

    I add the shortcode on my personal site and it is working as expected. Please see screenshots below for reference:

    Output:

    Could you please change the open and close quotation marks and use the updated code instead and see if this works?

    [products limit="4" columns="4"]

    Otherwise, I’d like to understand your site properly. Please share with us the System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

    Thread Starter saadexpert86

    (@saadexpert86)

    I try this code same issue happening. Here is status report.

    ` WordPress Environment
    
    WordPress address (URL): https://www.smuk.co.uk/shop
    Site address (URL): https://www.smuk.co.uk/shop
    WC Version: 8.3.1
    REST API Version: ? 8.3.1
    WC Blocks Version: ? 11.4.9
    Action Scheduler Version: ? 3.6.4
    Log Directory Writable: ?
    WP Version: 6.4.2
    WP Multisite: ?
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: – Server Environment
    
    Server Info: Apache
    PHP Version: 8.0.30
    PHP Post Max Size: 16 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.81.0
    OpenSSL/3.0.2
    
    SUHOSIN Installed: –
    MySQL Version: 10.6.12-MariaDB-0ubuntu0.22.04.1
    Max Upload Size: 16 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database
    
    WC Database Version: 8.3.1
    WC Database Prefix: wp_5_
    Total Database Size: 7.67MB
    Database Data Size: 5.30MB
    Database Index Size: 2.37MB
    wp_5_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_5_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_5_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_5_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_5_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_5_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_5_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_nextend2_section_storage: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_5_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_5_nextend2_smartslider3_sliders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    wp_5_options: Data: 2.05MB + Index: 0.06MB + Engine InnoDB
    wp_5_postmeta: Data: 0.13MB + Index: 0.03MB + Engine InnoDB
    wp_5_posts: Data: 0.16MB + Index: 0.06MB + Engine InnoDB
    wp_5_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_5_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_5_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_5_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_5_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_5_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_5_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_5_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_5_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_5_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_wpte_product_layout_style: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_5_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_5_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_5_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_5_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_5_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sitemeta: Data: 1.44MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.14MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB Post Type Counts
    
    attachment: 1
    custom_css: 1
    customize_changeset: 2
    nav_menu_item: 4
    page: 9
    post: 6
    product: 4
    revision: 42
    shop_order_placehold: 1
    wp_navigation: 1
    wp_template: 2
    wpcf7_contact_form: 1
    wpcode: 2 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (33)
    
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.1
    Livemesh Addons for WPBakery Page Builder: by Livemesh – 3.5
    Yoast SEO: by Team Yoast – 21.6
    Yoast Duplicate Post: by Enrico Battocchi and Team Yoast – 4.5
    Advanced Custom Fields PRO: by Elliot Condon – 5.9.1
    Contact Form 7: by Takayuki Miyoshi – 5.8.4
    Network Media Library: by John Blackbourn
    Dominik Schilling
    Frank Bültge – 1.5.0
    
    MC4WP: Mailchimp for WordPress: by ibericode – 4.9.10
    Contact Form CFDB7: by Arshid – 1.2.6.7
    reCaptcha by BestWebSoft: by BestWebSoft – 1.73
    Add From Server: by Dion Hulse – 3.4.5
    Site Kit by Google: by Google – 1.114.0
    No Right Click Images Plugin: by Keith P. Graham – 3.7
    3D FlipBook - Lite Edition: by iberezansky – 1.15.2
    YotuWP - YouTube Gallery: by – 1.3.13
    Drag and Drop Multiple File Upload - Contact Form 7: by Glen Don L. Mongaya – 1.3.7.4
    Easy FancyBox: by RavanH – 1.9.5
    CF7 File Download: by Rimes Gold – 2.0
    WPCode Lite: by WPCode – 2.1.5
    Redirection: by John Godley – 5.3.10
    Custom Post Type UI: by WebDevStudios – 1.15.1
    Wordfence Security: by Wordfence – 7.11.0
    Autoptimize: by Frank Goossens (futtta) – 3.1.10
    Smart Slider 3: by Nextend – 3.5.1.21
    Duplicate Page: by mndpsingh287 – 4.5.3
    WP File Manager: by mndpsingh287 – 7.2.1
    Simple Post Redirect: by Mohit Agarwal – 1.6.7
    WooCommerce: by Automattic – 8.3.1
    Quantity Plus Minus Button for WooCommerce by CodeAstrology: by CodeAstrology Team – 1.1.9
    YITH WooCommerce Product Gallery & Image Zoom: by YITH – 2.27.0
    CartPops: by CartPops.com – 1.4.29
    String Locator: by InstaWP – 2.6.3
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.1 Inactive Plugins (6)
    
    AirLift: by AirLift – 5.26
    Product Image Zoom for WooCommerce: by wpbean – 1.05.4
    Product Layouts for Woocommerce: by WPTOFFEE – 1.1.8
    Query Monitor: by John Blackbourn – 3.15.0
    Rank Math SEO: by Rank Math – 1.0.207
    WP-Optimize - Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.2.22 Settings
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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: ?
    HPOS feature screen enabled: ?
    HPOS feature enabled: ?
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: – WC Pages
    
    Shop base: #8 - /all-products/
    Basket: #9 - /cart/
    Checkout: #10 - /checkout/
    My account: #11 - /my-account/
    Terms and conditions: ? Page not set Theme
    
    Name: Devign Studios
    Version: Development (update to version 0 is available)
    Author URL: https://www.devignstudios.co.uk
    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: – Admin
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    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: customize-store
    minified-js
    new-product-management-experience
    product-virtual-downloadable
    product-external-affiliate
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2023-12-12 12:51:09 +00:00
    Options: ?
    Notes: 68
    Onboarding: skipped Action Scheduler
    
    Complete: 24
    Oldest: 2023-12-06 12:51:13 +0000
    Newest: 2023-12-12 11:25:33 +0000
    
    Failed: 3
    Oldest: 2023-12-06 12:54:24 +0000
    Newest: 2023-12-12 11:26:51 +0000
    
    Pending: 1
    Oldest: 2023-12-13 08:29:12 +0000
    Newest: 2023-12-13 08:29:12 +0000 Status report information
    
    Generated at: 2023-12-12 11:52:22 +00:00
    `

    Hi @saadexpert86

    Thanks for providing the requested information above.

    It looks like a third-party plugin or your theme might be causing the conflict here.

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled, test the shortcode once again 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 provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Or, if you’d like someone else to do this work for you, our trusted partner, Codeable, has an offering where they will run this test for $150 USD. If there is time left, they will also fix the problems they found.

    Let us know how it goes!

    Thread Starter saadexpert86

    (@saadexpert86)

    Okay i try to change theme on my website and it works. Can you tell me how i enable that feature on that theme. Can you please help me with this

    Hi @saadexpert86

    I’m glad you were able to find the culprit of your issue here which was your theme.

    Name: Devign Studios
    Version: Development (update to version 0 is available)
    Author URL: https://www.devignstudios.co.uk

    Checking your site’s SSR, I can see that you are using a third-party theme here: Devign Studios.

    Since you are using a third-party plugin that we don’t provide support for based on our Support Policy, I recommend that you reach out to the developers of the plugin for further assistance. They will be better equipped to help you resolve any issues you’re experiencing with the plugin.

    https://www.devignstudios.co.uk/contact/

    All the best and hopefully, the issue will be fixed soon.

    Thread Starter saadexpert86

    (@saadexpert86)

    Can you send me any function about this to show products with shortcodes. I try another shortcodes of woocommerce which are working in this theme like [woocommerce_cart], [woocommerce_checkout], [woocommerce_my_account] these shortcodes are working only shortcode for showing products are not working. If you have any function about this please send me i will try it. Thanks

    Hi @saadexpert86

    You can check this support documentation for your reference: Shortcodes included with WooCommerce

    Hope this helps!

    Thread Starter saadexpert86

    (@saadexpert86)

    No this not help i already try everything from this page

    Thread Starter saadexpert86

    (@saadexpert86)

    Please suggest me any function about adding products on any page with woocommerce shortcodes

    Saif

    (@babylon1999)

    Hello @saadexpert86,

    Please suggest me any function about adding products on any page with woocommerce shortcodes

    As previously mentioned, we’re not able to provide support/assistance for third-party solutions per our support policy.

    Usually, the theme author should handle these changes. However, if you’d like to address this yourself, you might find the WooCommerce theme development handbook helpful: WooCommerce Theme Development Handbook

    If you require the assistance of a developer, consider hiring a WooExpert.

    Cheers!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Woocommerce shortcode isn’t working on website’ is closed to new replies.