Variations that are set with price ranges showing the range instead of main price

This topic has 6 replies, 3 voices, and was last updated 1 month, 1 week ago ago by Jack Richardson

  • Avatar: GreenLion
    GreenLion
    Participant
    February 27, 2026 at 18:21

    Currently we have some products that have a range of prices between their variations. when you click onto the product and are on the single product page, you see the price range highlighted rather than the main variant price. we want the range to be removed and only the variation price to show.

    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff
    February 28, 2026 at 08:05

    Hi,

    Thank you for reaching out to us.

    https://prnt.sc/-Bux8G8_LHm_ the price behavior you are seeing comes from WooCommerce by default and is not a bug.

    Warm Regards,
    The 8Theme Team

    Avatar: GreenLion
    GreenLion
    Participant
    March 1, 2026 at 16:53

    I understand it’s not a bug. is there anything that can be added into the code to specifically only show the single product variations price or add some css onto the single product template?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 2, 2026 at 08:41

    Hello @GreenLion,

    You can hide only one of the prices within a range using custom CSS.

    Before: https://prnt.sc/8Ula83hmQ49T
    After: https://prnt.sc/h83vBoe7-Coq

    You may use the following custom CSS:

    .product-type-variable .elementor-widget-woocommerce-product-etheme_price:has(p.price .amount ~ .amount) .amount + span,  
    .product-type-variable .elementor-widget-woocommerce-product-etheme_price:has(p.price .amount ~ .amount) .amount ~ .amount {  
        display: none;  
    }

    Please note that other solutions would require additional customization, which is beyond the scope of our basic support.

    For more information, please refer to our documentation:
    https://www.8theme.com/documentation/xstore/additional-customisation/optimal-placement-for-custom-css-code/

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: GreenLion
    GreenLion
    Participant
    March 7, 2026 at 22:09

    can this not be appended to the specific variant price?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 8, 2026 at 11:07

    Hello @GreenLion,

    Would you like to disable this custom CSS for specific products and apply it globally to others? Since the credentials were modified, we were unable to verify the exact products. However, as an example, you can use the following custom CSS in addition to the previous one:

    .postid-21260 .product-type-variable .elementor-widget-woocommerce-product-etheme_price:has(p.price .amount ~ .amount) .amount + span,  
    .postid-21260 .product-type-variable .elementor-widget-woocommerce-product-etheme_price:has(p.price .amount ~ .amount) .amount ~ .amount {  
        display: inline;  
    }

    You can find the product ID number (in this example, .postid-21260) using the browser inspector (https://prnt.sc/_2dINNov5w-T) or in the backend under Settings.

    Browser Developer Tools: https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Tools_and_setup/What_are_browser_developer_tools

    Best regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.