Title: Variations not working dynamically
Last modified: October 16, 2024

---

# Variations not working dynamically

 *  Resolved [BarbMil](https://wordpress.org/support/users/barbmil/)
 * (@barbmil)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/variations-not-working-dynamically/)
 * Hi,
 * I’d like to achieve the following on my product page but it seems that there’s
   a glitch preventing this: When the visitor arrives on the product page, there’s
   a default price and size variation already showing. When they choose a different
   size, the price changes and shows up automatically, without them having to click
   on “Choose an option”.
 * Here’s how it looks at the moment, with only default size determined in the Product
   options:
 * [https://seaandlight.com/slstaging/product/fleeting-horizons-i/](https://seaandlight.com/slstaging/product/fleeting-horizons-i/)
 * If I also set the price default, it shows the visitor only that one size and 
   price combination, which is really weird, so it seems to not work as it should.
 * I tried a bazillion things to solve this with the help of Chat GPT without any
   luck. Here are some of the things I did to troubleshoot:
    - Checked that the reason is not an interference with another plugin.
    - Checked that it’s not related to my theme (I have Kadence full bundle) – problems
      shows up on a different theme as well.
    - Deleted and reinstalled Woocommerce.
    - Deleted all variations and created them again.
    - Deleted browser’s cache and checked in a different browser (I don’t have any
      caching plugins activated since I started building the site).
    - There are probably more things I did but there were so many I might have forgotten
      some.
 * I wonder if it’s not a glitch and wether it’s just me not setting up things properly.
   Or maybe Woocommerce simply doesn’t offer what I’m trying to achieve?
 * Any ideas why this is happening?
 * I’d really appreciate some help!
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvariations-not-working-dynamically%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [BarbMil](https://wordpress.org/support/users/barbmil/)
 * (@barbmil)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/variations-not-working-dynamically/#post-18077635)
 * P.S. Here’s the system status report:
 * System Status Report
 *     ```wp-block-code
       ### WordPress Environment ###WordPress address (URL): [Redacted]Site address (URL): [Redacted]WC Version: 9.3.3Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.Action Scheduler Version: ✔ 3.8.1Log Directory Writable: ✔WP Version: 6.6.2WP Multisite: –WP Memory Limit: 512 MBWP Debug Mode: ✔WP Cron: –Language: en_USExternal object cache: –### Server Environment ###Server Info: LiteSpeedPHP Version: 7.4.33PHP Post Max Size: 50 MBPHP Time Limit: 120PHP Max Input Vars: 5000cURL Version: 7.87.0OpenSSL/1.1.1wSUHOSIN Installed: –MySQL Version: 10.6.18-MariaDB-cll-lve-logMax Upload Size: 50 MBDefault Timezone is UTC: ✔fsockopen/cURL: ✔SoapClient: ✔DOMDocument: ✔GZip: ✔Multibyte String: ✔Remote Post: ✔Remote Get: ✔### Database ###[REDACTED]### Post Type Counts ###attachment: 120customize_changeset: 57custom_css: 1envira: 1envira_deactivated: 1kadence_wootemplate: 2kt_font: 2kt_gallery: 1language_switcher: 4mailpoet_page: 1nav_menu_item: 27page: 20post: 12product: 21product_variation: 81revision: 287wp_block: 1wp_global_styles: 1wp_navigation: 1### Security ###Secure connection (HTTPS): ✔Hide errors from visitors: ❌Error messages should not be shown to visitors.### Active Plugins (13) ###Better Search Replace: by WP Engine – 1.4.7Health Check & Troubleshooting: by The WordPress.org community – 1.7.1Kadence Blocks - PRO Extension: by Kadence WP – 2.5.2Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 3.3.1Kadence Conversions - Popups, slide-ins: by Kadence WP – 1.1.1Kadence Custom Fonts: by Kadence WP – 1.1.5Kadence Galleries: by Kadence WP – 1.3.2Kadence Pro - Premium addon for the Kadence Theme: by Kadence WP – 1.0.21Kadence Simple Share: by Kadence WP – 1.2.12Kadence AI Starter Templates: by Kadence WP – 2.1.3Kadence Shop Kit: by Kadence WP – 2.2.6Kadence WooCommerce Email Designer: by Kadence WP – 1.5.13WooCommerce: by Automattic – 9.3.3### Inactive Plugins (44) ###Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.3All in One SEO: by All in One SEO Team – 4.7.3Comet Cache: by WP Sharks – 170220Duplicator: by Duplicator – 1.5.11.1Envira Gallery: by Envira Gallery Team – 1.9.17Envira Gallery - Albums Addon: by Envira Gallery Team – 1.7.12Envira Gallery - Comments Addon: by Envira Gallery Team – 1.0.0Envira Gallery - Deeplinking Addon: by Envira Gallery Team – 1.5.3Envira Gallery - Defaults Addon: by Envira Gallery Team – 1.5.3Envira Gallery - Gallery Themes Addon: by Envira Gallery Team – 2.0.6Envira Gallery - Instagram Addon: by Envira Gallery Team – 1.6.3Envira Gallery - Proofing Addon: by Envira Gallery Team – 2.0.8Envira Gallery - Protection Addon: by Envira Gallery Team – 1.3.8Envira Gallery - Slideshow Addon: by Envira Gallery Team – 1.3.9Envira Gallery - Social Addon: by Envira Gallery Team – 1.6.10Envira Gallery - Tags Addon: by Envira Gallery Team – 1.8.5Envira Gallery - Videos Addon: by Envira Gallery Team – 1.6.10Envira Gallery - WooCommerce Addon: by Envira Gallery Team – 1.5.10Envira Gallery - Zoom Addon: by Envira Gallery Team – 1.4.1Give - Donation Plugin: by GiveWP – 3.16.5Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 9.1.1Heartbeat Control by WP Rocket: by WP Rocket – 2.0.1Image optimization service by Optimole: by Optimole – 3.13.7Jetpack: by Automattic – 13.9.1MailPoet: by MailPoet – 5.3.1Orderable - Local Ordering System: by Orderable – 1.16.0Really Simple Security: by Really Simple Security – 9.0.2Site Kit by Google: by Google – 1.137.0Social Media Follow Buttons Bar: by Space X-Chimp – 4.73Termly - GDPR/CCPA Cookie Consent Banner: by Termly - GDPR/CCPA Cookie Consent Banner – 3.3.0TranslatePress - Attempt to fix broken HTML Add-on: by Cozmoslabs – 1.0.0TranslatePress - Automatic User Language Detection Add-on: by CozmoslabsRazvan Mocanu – 1.0.5TranslatePress - Extra Languages Add-on: by CozmoslabsRazvan Mocanu – 1.0.1TranslatePress - Multilingual: by CozmoslabsRazvan MocanuMadalin UngureanuCristophor Hurduban – 2.8.7TranslatePress - Navigation Based on Language Add-on: by CozmoslabsMadalin Ungureanu – 1.0.0TranslatePress - SEO Pack Add-on: by CozmoslabsRazvan Mocanu – 1.2.1TranslatePress - Show Dynamic content before translation: by Cozmoslabs – 1.0.0TranslatePress - Simple Share Buttons: by Cozmoslabs – 1.0.1TranslatePress Fix Spacing Between HTML Attributes: by Cristian Antohe – 1.0WPForms Lite: by WPForms – 1.9.1.3WP Mail SMTP: by WP Mail SMTP – 4.1.1WP Reset: by WebFactory Ltd – 2.03Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5Yoast SEO: by Team Yoast – 23.6### Dropin Plugins () ###advanced-cache.php: advanced-cache.phpmaintenance.php: maintenance.php### Must Use Plugins (1) ###Health Check Troubleshooting Mode: by  – 1.9.2### Settings ###Legacy API Enabled: –Force SSL: –Currency: EUR (€)Currency Position: right_spaceThousand Separator: .Decimal Separator: ,Number of Decimals: 2Taxonomies: 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 enabled: ✔Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStoreHPOS data sync enabled: –### Logging ###Enabled: ✔Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2Retention period: 30 daysLevel threshold: –Log directory size: 135 KB### WC Pages ###Shop base: #969 - /shop/Cart: #970 - /cart/ -  Contains the [woocommerce_cart] shortcodeCheckout: #1813 - /checkout/ -  Contains the [woocommerce_checkout] shortcodeMy account: #1814 - /my-account/Terms and conditions: ❌ Page not set### Theme ###Name: KadenceVersion: 1.2.9Author URL: https://www.kadencewp.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 themeWooCommerce Support: ✔### Templates ###Overrides: /home/barmilavec/seaandlight.com/slstaging/wp-content/plugins/kadence-woo-extras/lib/gallery/product-image.php### Admin ###Enabled Features: activity-panelsanalyticsproduct-block-editorcouponscore-profilercustomize-storecustomer-effort-score-tracksimport-products-taskexperimental-fashion-sample-productsshipping-smart-defaultsshipping-setting-tourhomescreenmarketingmobile-app-bannernavigationonboardingonboarding-taskspattern-toolkit-full-composabilityproduct-custom-fieldsremote-inbox-notificationsremote-free-extensionspayment-gateway-suggestionsprintfulshipping-label-bannersubscriptionsstore-alertstransient-noticeswoo-mobile-welcomewc-pay-promotionwc-pay-welcome-pagelaunch-your-storeDisabled Features: experimental-blocksminified-jsproduct-pre-publish-modalsettingsasync-product-editor-category-fieldproduct-editor-template-systemblueprintreactify-classic-payments-settingsDaily Cron: ✔ Next scheduled: 2024-10-16 18:13:31 +00:00Options: ✔Notes: 70Onboarding: completed### Action Scheduler ###Complete: 194Oldest: 2024-10-02 18:50:41 +0000Newest: 2024-10-16 18:35:39 +0000Failed: 24Oldest: 2024-02-06 20:09:42 +0000Newest: 2024-10-16 18:02:04 +0000Pending: 1Oldest: 2024-10-17 09:38:42 +0000Newest: 2024-10-17 09:38:42 +0000### Status report information ###Generated at: 2024-10-16 18:59:50 +00:00
       ```
   
 *  [essaie](https://wordpress.org/support/users/essaie/)
 * (@essaie)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/variations-not-working-dynamically/#post-18077834)
 * I have the same problem on my site. 
   I’m still not able to fix it. I figured 
   out only that some themes are even unable to show the page with variants. The
   recent one is able to show it, but the page is somehow truncated. I’ll be happy
   if anyone is able to help me fix this.Example page of variant on my site: [https://www.nady.cz/produkt/privesek-sgraffka-stribro-ag-925-18k-zlato-diamant](https://www.nady.cz/produkt/privesek-sgraffka-stribro-ag-925-18k-zlato-diamant)
 *  Thread Starter [BarbMil](https://wordpress.org/support/users/barbmil/)
 * (@barbmil)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/variations-not-working-dynamically/#post-18079043)
 * Well, I feel really silly now because of all the time I wasted on trying to solve
   something which turns out is not a “problem”. I was trying to achieve something
   pointless because there’s no need to add a price attribute. You just add the 
   Size attributes and add the price of each size in the Variations. In other words,
   I don’t need two drop down menus. The price shows up below the size when visitor
   chooses the size.
 * I’ll go hide in the corner now!
 * [@essaie](https://wordpress.org/support/users/essaie/) It seems that you don’t
   have quite the same problem. Are you sure that you set up everything correctly?
   Here’s the screen recording from Kadence support that was sent to me – maybe 
   it can be helpful to you too:
 * [https://share.zight.com/mXuQGKG6](https://share.zight.com/mXuQGKG6)
 *  [essaie](https://wordpress.org/support/users/essaie/)
 * (@essaie)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/variations-not-working-dynamically/#post-18080117)
 * Thank you [@barbmil](https://wordpress.org/support/users/barbmil/). I had no 
   problems with variations in the past. I will try upload older version and upgrade
   again. Maybe I made something wrong.
 *  [Beauty of Code (woo-hc)](https://wordpress.org/support/users/beautyofcode/)
 * (@beautyofcode)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/variations-not-working-dynamically/#post-18080172)
 * Hey [@barbmil](https://wordpress.org/support/users/barbmil/) ,
 * Ah, I’m glad to hear that you managed to get this sorted! 🙂
 * Since this has been resolved, feel free to [create a new topic](https://wordpress.org/support/plugin/woocommerce/#new-topic-0)
   if you need any further help.
 * [@essaie](https://wordpress.org/support/users/essaie/) – Sounds like a plan! 
   If that doesn’t resolve the issue on your end, can you please [start your own topic](https://wordpress.org/support/plugin/woocommerce/#new-topic-0)
   so that we can take a closer look and see what’s going on here?
 * Thanks!

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

The topic ‘Variations not working dynamically’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [dynamically](https://wordpress.org/support/topic-tag/dynamically/)
 * [not showing](https://wordpress.org/support/topic-tag/not-showing/)
 * [variations](https://wordpress.org/support/topic-tag/variations/)

 * 5 replies
 * 3 participants
 * Last reply from: [Beauty of Code (woo-hc)](https://wordpress.org/support/users/beautyofcode/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/variations-not-working-dynamically/#post-18080172)
 * Status: resolved