Products Shortcode is not working
-
The woocommerce products shortcode is showing the products correctly, but each product is pointing to the same product. Always is pointing to the last product listed.
I tried with other theme, disabling all the plugins and the problem persist.
The page I need help with: [log in to see the link]
-
Thank you for providing with us the information. I understand that you’re experiencing an issue where each product is pointing to the same product, which is the last product listed.
I just want to clarify these:
– You’ve deactivated all plugins except WooCommerce and the problem exists, yes?
– What happens when you try to add a new product? Do you mean that every time you add a new product, it always links to a specific product, or is it linked to the product you’ve just added?In the meantime, please try to flush your permalinks by navigating to Settings > Permalinks > change your permalink structure, save the changes, and then revert to your original structure, then save the changes again. This can sometimes reset any issues with product links.
Also, from the shortcode that you mentioned, can you tell us which shortcode was used?Lastly, please share a copy of your site’s System Status Report so that we can better understand your site’s current environment. You can find this by navigating to WooCommerce → Status → select
Get system reportand thenCopy for support.Hi there,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.
Cheers!
Hi,
I tried changing the permalink structure and the problem continues.
There is the shortcode:
[products columns=”3″ category=”626″ paginate=true per_page=9]
` WordPress Environment WordPress address (URL): https://mycosmeticsplace.com Site address (URL): https://mycosmeticsplace.com WC Version: 8.1.0 REST API Version: ✔ 8.1.0 WC Blocks Version: ✔ 10.9.3 Action Scheduler Version: ✔ 3.6.2 Log Directory Writable: ✔ WP Version: 6.3.1 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – Server Environment Server Info: Apache PHP Version: 8.1.23 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.74.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 10.6.15-MariaDB-1:10.6.15+maria~deb11-log Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ Database WC Database Version: 8.1.0 WC Database Prefix: ua3xljvmb8 Total Database Size: 29.11MB Database Data Size: 23.12MB Database Index Size: 5.99MB ua3xljvmb8woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ua3xljvmb8woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ua3xljvmb8woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8actionscheduler_actions: Data: 0.23MB + Index: 0.22MB + Engine InnoDB ua3xljvmb8actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8actionscheduler_logs: Data: 0.13MB + Index: 0.11MB + Engine InnoDB ua3xljvmb8berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8braapf_product_stock_status_parent: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8braapf_product_variation_attributes: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ua3xljvmb8braapf_term_taxonomy_hierarchical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ua3xljvmb8braapf_variable_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8comments: Data: 0.06MB + Index: 0.09MB + Engine InnoDB ua3xljvmb8e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB ua3xljvmb8e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ua3xljvmb8e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB ua3xljvmb8e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB ua3xljvmb8e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8options: Data: 8.03MB + Index: 0.20MB + Engine InnoDB ua3xljvmb8postmeta: Data: 7.39MB + Index: 2.56MB + Engine InnoDB ua3xljvmb8posts: Data: 5.05MB + Index: 0.27MB + Engine InnoDB ua3xljvmb8revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8revslider_sliders: Data: 0.09MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8revslider_slides: Data: 0.31MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8sbi_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8sbi_instagram_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8termmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB ua3xljvmb8terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB ua3xljvmb8term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ua3xljvmb8wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8wc_orders: Data: 0.02MB + Index: 0.13MB + Engine InnoDB ua3xljvmb8wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ua3xljvmb8wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ua3xljvmb8wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ua3xljvmb8wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ua3xljvmb8wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8wc_product_meta_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB ua3xljvmb8wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ua3xljvmb8wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ua3xljvmb8wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts acf-field: 6 acf-field-group: 1 attachment: 308 br_filters_group: 1 br_product_filter: 3 br_product_tab: 1 br_tabs_location: 1 clients: 5 custom_css: 1 elementor_library: 20 nav_menu_item: 124 page: 38 post: 38 product: 294 revision: 387 shop_order_placehold: 1 team: 8 testimonials: 4 wapf_product: 1 wp_global_styles: 2 wp_navigation: 1 wp_template: 2 wpcf7_contact_form: 3 ywtm_tab: 4 Security Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ Active Plugins (17) Advanced Custom Fields: by WP Engine – 6.2.1 Contact Form 7: by Takayuki Miyoshi – 5.8 Elementor Pro: by Elementor.com – 3.16.0 Elementor: by Elementor.com – 3.16.3 Smash Balloon Instagram Feed: by Smash Balloon – 6.2.1 IONOS Assistant: by IONOS – 8.5.4 IONOS Performance: by IONOS – 2.0.3 Jetpack: by Automattic – 12.5 Qi Addons For Elementor: by Qode Interactive – 1.6.3 Qode Framework: by Qode Interactive – 1.1.6 Slider Revolution: by ThemePunch – 6.5.8 Sante Core: by Qode Interactive – 1.1.2 Sante Membership: by Qode Interactive – 1.0.3 WooCommerce AJAX Products Filter: by BeRocket – 3.1.4.5 WooCommerce Payments: by Automattic – 6.4.1 WooCommerce Shipping & Tax: by WooCommerce – 2.3.4 WooCommerce: by Automattic – 8.1.0 Inactive Plugins (1) TikTok: by TikTok – 1.1.6 Must Use Plugins (1) 1&1 Product Subdomain: by 1&1 – 1.1.0 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) 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: – HPOS feature screen enabled: ✔ HPOS feature enabled: ✔ Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – WC Pages Shop base: #10 - /shop/ Cart: #11 - /cart/ Checkout: #12 - /checkout/ My account: #13 - /my-account/ Terms and conditions: ❌ Page not set Theme Name: Sante Version: 1.3.1 Author URL: https://qodeinteractive.com 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: sante/inc/woocommerce/templates/content-widget-product.php sante/inc/woocommerce/templates/global/quantity-input.php sante/inc/woocommerce/templates/single-product/meta.php Subscriptions WCS_DEBUG: ✔ No Subscriptions Mode: ❌ Staging Subscriptions Live URL: https://mycosmeticsplace.com/ Subscriptions-core Library Version: 6.0.0 Subscription Statuses: trash: 1 WooCommerce Account Connected: ❌ No Store Setup Country / State: United States (US) — California Subscriptions by Payment Gateway Payment Gateway Support WooPayments: products refunds multiple_subscriptions subscription_cancellation subscription_payment_method_change_admin subscription_payment_method_change_customer subscription_payment_method_change subscription_reactivation subscription_suspension subscriptions gateway_scheduled_payments tokenization add_payment_method Cash on delivery: products 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 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-variation-management settings async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2023-09-15 03:52:53 -05:00 Options: ✔ Notes: 82 Onboarding: skipped WooCommerce Payments Version: 6.4.1 Connected to WPCOM: Yes Blog ID: 221420522 Account ID: acct_1NVRepCGyjP72k8I Action Scheduler Complete: 616 Oldest: 2023-08-15 01:20:31 +0000 Newest: 2023-09-14 15:47:10 +0000 Failed: 12 Oldest: 2023-02-15 05:36:55 +0000 Newest: 2023-08-31 20:52:49 +0000 Pending: 1 Oldest: 2023-09-15 01:57:10 +0000 Newest: 2023-09-15 01:57:10 +0000 Status report information Generated at: 2023-09-14 16:14:19 -05:00 `Hi @deiberg
Sorry to hear that you are experiencing the same issue.
However, to align with forum best practices, please create a new topic so that we can address your issue(s) separately.
You can create a new thread here: https://wordpress.org/support/plugin/woocommerce/#new-topic-0
Thanks for understanding!
The topic ‘Products Shortcode is not working’ is closed to new replies.