• Resolved opsia

    (@opsia)


    When selecting variable product attributes, it always displays the same thing. This even happens with simple products!
    It often adds a product that does not correspond to the cart.

    Its a new installation working with elementor 3, php 8.4

    WordPress Environment<br><br>WordPress address (URL): https://rojored.cl/trinidad<br>Site address (URL): https://rojored.cl/trinidad<br>WC Version: 10.1.0<br>Legacy REST API Package Version: El plugin API REST heredada no está instalado en este sitio.<br>Action Scheduler Version: ✔ 3.9.3<br>Log Directory Writable: ✔<br>WP Version: 6.8.2<br>WP Multisite: –<br>WP Memory Limit: 4 GB<br>WP Debug Mode: –<br>WP Cron: –<br>Language: es_ES<br>External object cache: – Server Environment<br><br>Server Info: Apache<br>Server Architecture: Linux 4.18.0-553.58.1.lve.el8.x86_64 x86_64<br>PHP Version: 8.4.10<br>PHP Post Max Size: 8 MB<br>PHP Time Limit: 30<br>PHP Max Input Vars: 1000<br>cURL Version: 8.14.1<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.22-MariaDB-cll-lve<br>Max Upload Size: 8 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database<br><br>WC Database Version: 10.1.0<br>WC Database Prefix: wpmg_<br>Tamaño total de la base de datos: 45.49MB<br>Tamaño de los datos de la base de datos: 28.48MB<br>Tamaño del índice de la base de datos: 17.01MB<br>wpmg_woocommerce_sessions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_woocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_woocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_woocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB<br>wpmg_woocommerce_order_items: Datos: 0.31MB + Índice: 0.13MB + Motor InnoDB<br>wpmg_woocommerce_order_itemmeta: Datos: 1.52MB + Índice: 3.00MB + Motor InnoDB<br>wpmg_woocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB<br>wpmg_woocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_woocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_woocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_woocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_woocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_woocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_woocommerce_log: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_actionscheduler_actions: Datos: 0.42MB + Índice: 0.77MB + Motor InnoDB<br>wpmg_actionscheduler_claims: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_actionscheduler_groups: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_actionscheduler_logs: Datos: 0.31MB + Índice: 0.25MB + Motor InnoDB<br>wpmg_aiowps_audit_log: Datos: 1.52MB + Índice: 0.06MB + Motor InnoDB<br>wpmg_aiowps_debug_log: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_aiowps_events: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_aiowps_global_meta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_aiowps_logged_in_users: Datos: 0.02MB + Índice: 0.08MB + Motor InnoDB<br>wpmg_aiowps_login_lockdown: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB<br>wpmg_aiowps_message_store: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_aiowps_permanent_block: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_commentmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_comments: Datos: 2.52MB + Índice: 1.02MB + Motor InnoDB<br>wpmg_cookieadmin_consents: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_cookieadmin_cookies: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_e_events: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_e_notes: Datos: 0.02MB + Índice: 0.17MB + Motor InnoDB<br>wpmg_e_notes_users_relations: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB<br>wpmg_e_submissions: Datos: 0.02MB + Índice: 0.27MB + Motor InnoDB<br>wpmg_e_submissions_actions_log: Datos: 0.02MB + Índice: 0.11MB + Motor InnoDB<br>wpmg_e_submissions_values: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_links: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_loginizer_logs: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_options: Datos: 9.08MB + Índice: 0.41MB + Motor InnoDB<br>wpmg_postmeta: Datos: 5.47MB + Índice: 4.03MB + Motor InnoDB<br>wpmg_posts: Datos: 1.52MB + Índice: 0.38MB + Motor InnoDB<br>wpmg_termmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_terms: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_term_relationships: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_term_taxonomy: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_usermeta: Datos: 0.42MB + Índice: 0.38MB + Motor InnoDB<br>wpmg_users: Datos: 0.05MB + Índice: 0.05MB + Motor InnoDB<br>wpmg_wc_admin_notes: Datos: 0.06MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_wc_admin_note_actions: Datos: 0.05MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_wc_category_lookup: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_wc_customer_lookup: Datos: 0.13MB + Índice: 0.09MB + Motor InnoDB<br>wpmg_wc_download_log: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_wc_orders: Datos: 1.52MB + Índice: 0.53MB + Motor InnoDB<br>wpmg_wc_orders_meta: Datos: 1.52MB + Índice: 3.00MB + Motor InnoDB<br>wpmg_wc_order_addresses: Datos: 0.36MB + Índice: 0.41MB + Motor InnoDB<br>wpmg_wc_order_coupon_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_wc_order_operational_data: Datos: 0.19MB + Índice: 0.14MB + Motor InnoDB<br>wpmg_wc_order_product_lookup: Datos: 0.28MB + Índice: 0.47MB + Motor InnoDB<br>wpmg_wc_order_stats: Datos: 0.19MB + Índice: 0.23MB + Motor InnoDB<br>wpmg_wc_order_tax_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB<br>wpmg_wc_product_attributes_lookup: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_wc_product_download_directories: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_wc_product_meta_lookup: Datos: 0.02MB + Índice: 0.11MB + Motor InnoDB<br>wpmg_wc_rate_limits: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_wc_reserved_stock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_wc_tax_rate_classes: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_wc_webhooks: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB<br>wpmg_wt_iew_action_history: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_wt_iew_cron: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_wt_iew_email_template: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_wt_iew_ftp: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB<br>wpmg_wt_iew_mapping_template: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB Post Type Counts<br><br>attachment: 38<br>elementor_library: 76<br>elementor_snippet: 1<br>nav_menu_item: 6<br>page: 9<br>post: 3<br>product: 19<br>product_variation: 12<br>revision: 380<br>shop_order_placehold: 1348<br>wp_font_face: 36<br>wp_font_family: 12<br>wp_global_styles: 2<br>wp_navigation: 1 Security<br><br>Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (23)<br><br>FiboSearch - AJAX Search for WooCommerce: por Equipo de FiboSearch – 1.31.0<br>All-In-One Security (AIOS): por TeamUpdraft<br>DavidAnderson – 5.4.2<br><br>Backuply Pro: por Softaculous – 1.4.7<br>Backuply: por Softaculous – 1.4.7<br>CookieAdmin Pro: por Softaculous – 1.0.8<br>CookieAdmin - Cookie Consent Banner: por Softaculous – 1.0.8<br>Dashboard Welcome for Elementor: por IdeaBox Creations – 1.0.8<br>Elementor Pro: por Elementor.com – 3.31.2<br>Elementor: por Elementor.com – 3.31.2<br>Flexible Elementor Panel: por WebMat – 2.5.4<br>GoSMTP Pro: por Softaculous Team – 1.1.4<br>GoSMTP: por Softaculous Team – 1.1.4<br>JetProductGallery: por Crocoblock – 2.2.1<br>Loginizer Pro: por Softaculous – 2.0.2<br>Loginizer: por Softaculous – 2.0.2<br>Order Export & Order Import for WooCommerce: por WebToffee – 2.6.3<br>SiteSEO Pro: por Softaculous – 1.2.7<br>SiteSEO - SEO Simplified: por Softaculous – 1.2.7<br>SpeedyCache Pro: por Softaculous Team – 1.3.5<br>SpeedyCache: por Softaculous Team – 1.3.5<br>Import Export WordPress Users and WooCommerce Customers: por WebToffee – 2.6.4<br>WooCommerce: por Automattic – 10.1.0<br>Import Export for WooCommerce Wrapper: por WebToffee – 1.3.5 Inactive Plugins (1)<br><br>Migrate Store: Export and Import WooCommerce Settings: por Nagdy – 1.1.8 Dropin Plugins ()<br><br>advanced-cache.php: advanced-cache.php Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: CLP ($)<br>Currency Position: left<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature enabled: ✔<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: –<br>Enabled Features: analytics<br>marketplace<br>order_attribution<br>site_visibility_badge<br>remote_logging<br>email_improvements<br>blueprint<br>point_of_sale<br>custom_order_tables Logging<br><br>Enabled: ✔<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 días<br>Level threshold: –<br>Log directory size: 1 KB WC Pages<br><br>Base de la tienda: #202 - /tienda/<br>Carrito: #203 - /carrito/ - Contiene el bloque woocommerce/cart<br>Finalizar compra: #204 - /finalizar-compra/ - Contiene el bloque woocommerce/checkout<br>Mi cuenta: #205 - /mi-cuenta/ - Contiene el shortcode &#091;woocommerce_my_account]<br>Términos y condiciones: ❌ Página sin definir Theme<br><br>Name: Hello Elementor<br>Version: 3.4.4<br>Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash<br>Child Theme: ❌ – Si estás modificando WooCommerce en un tema padre que no has creado personalmente<br>te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo<br><br>Theme type: Tema clásico<br>WooCommerce Support: ✔ Templates<br><br>Overrides: – Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br>add-to-cart-with-options-stepper-layout<br><br>Disabled Features: product-data-views<br>experimental-blocks<br>experimental-iapi-mini-cart<br>experimental-iapi-runtime<br>coming-soon-newsletter-template<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>use-wp-horizon<br>experimental-wc-rest-api<br><br>Daily Cron: ❌ Ninguna programación<br>Options: ✔<br>Notes: 63<br>Onboarding: skipped Action Scheduler<br><br>Completo: 1.408<br>Oldest: 2025-08-17 22:57:11 +0000<br>Newest: 2025-08-19 20:28:30 +0000<br><br>Fallida: 1<br>Oldest: 2025-08-18 00:19:17 +0000<br>Newest: 2025-08-18 00:19:17 +0000<br><br>Pendiente: 3<br>Oldest: 2025-08-19 23:06:01 +0000<br>Newest: 2025-08-20 00:24:03 +0000 Status report information<br><br>Generated at: 2025-08-19 21:08:03 +00:00<br>

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support LovingBro (woo-hc)

    (@lovingbro)

    Hi there @opsia,

    Welcome to the WooCommerce forum! I understand how worrying it is when selecting attributes always shows the same thing and the cart ends up with the wrong product—especially on a fresh setup. I checked your site and could reproduce an add-to-cart issue: from https://rojored.cl/trinidad/producto/top-roberta-avellana/ the button sends me to https://rojored.cl/trinidad/producto/top-leonora-negro/ (which 404s). That kind of behavior usually points to a redirect or a theme/plugin conflict (often a custom “Add to Cart” widget pointing to the wrong product ID, caching/minification, or a redirect rule).

    Here’s a focused set of steps to fix it:

    1. Quick, safe resets • Go to Settings → Permalinks and click “Save Changes” (flushes rewrite rules). • WooCommerce → Status → Tools: run “Clear customer sessions”, “Clear transients”, and “Regenerate product lookup tables”. • WooCommerce → Settings → Products → General: temporarily uncheck “Redirect to the cart page after successful addition”.
    2. Turn off caching/minification while testing You’re running SpeedyCache (and Pro). Caching/minify can break add-to-cart/variation scripts. • Purge all cache. Then temporarily deactivate both SpeedyCache plugins and any server cache. • When you re-enable later, exclude: /carrito/, /finalizar-compra/, /mi-cuenta/, and query strings containing ?add-to-cart=; also exclude wc-ajax=, /cart/, /checkout/, /my-account/. Avoid combining/defering WooCommerce/Elementor JS.
    3. Conflict test (most important diagnostic) • Switch to the Storefront theme. • Deactivate all plugins except WooCommerce. • Test the same product page again. — If it works now, reactivate plugins in small batches to find the culprit. Given your stack, first re-enable Elementor (free), then Elementor Pro, then JetProductGallery, then FiboSearch, checking each time.
    4. Elementor-specific checks (common cause for “wrong product” in cart) If the issue only appears with Elementor active: • Edit your Single Product template in Elementor. Make sure the button is the “Single Add To Cart” widget and its Source (or Product) is set to Current Product, not a specific product. • If you’re using a custom “Add to Cart” widget or a button in a Loop/Archive template, ensure it uses the dynamic current product ID (not a hardcoded product). • Temporarily remove/disable JetProductGallery on that template and retest. • If you built the product page with a custom Elementor layout, try the default WooCommerce single-product template to compare.
    5. Variation setup sanity check On one affected variable product: • In the Attributes tab, confirm “Used for variations” is checked. • In Variations, delete & recreate (try “Create variations from all attributes”), then Save. • Ensure each variation has stock status, price, and (ideally) a unique SKU. • As a control, create a brand-new test variable product using only the default WooCommerce editor (no Elementor template) and test add-to-cart there.
    6. Redirect rules & SEO plugin You have SiteSEO (Softaculous). Check for any auto-created redirects: • In the SEO/redirect settings (and in .htaccess if applicable), look for rules affecting /producto/top-roberta-avellana/ or sending to /top-leonora-negro/. Remove/disable any such rules and retest. • Also confirm there isn’t a trashed/duplicate product with the same or similar slug that might be triggering a redirect.
    7. Console & logs (helps pinpoint JS/PHP issues) • Open your browser dev tools → Console while adding to cart; if you see JS errors, grab a screenshot. • WooCommerce → Status → Logs: check today’s logs (e.g., fatal-errors-…), and share any entries when you click Add to Cart. • Since WP-Cron shows as disabled, make sure you have a real server cron calling wp-cron.php, or re-enable WP-Cron while testing.
    8. Server/PHP limits (Elementor + variations benefit from higher limits) Ask your host to raise temporarily: max_input_vars to 5000, max_execution_time to 120, post_max_size and upload_max_filesize to 64M. Then retest.

    What I’d love next

    Please run the conflict test in step 3 and tell me the first plugin whose re-activation brings the issue back. If it’s tied to Elementor, a screenshot of your Single Product template showing the Add to Cart widget settings will help. If you spot any redirect in your SEO plugin for those product slugs, let me know what you find.

    Once we know which item triggers it, we’ll be able to guide you further to fix this.

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    It seems we haven’t heard back from you for a while, so I’ll go ahead and mark this thread as resolved. Feel free to reach out whenever you’re ready to continue.

    If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem selecting atributes’ is closed to new replies.