Text: request price on field empty price

This topic has 2 replies, 2 voices, and was last updated 1 years, 3 months ago ago by Tony Rodriguez

  • Avatar: gewoonbovenaan
    gewoonbovenaan
    Participant
    August 21, 2023 at 18:50

    i would like to have my shop owners to have a custom text when the price field in woocommerce is empty. now it shows this: https://gyazo.com/0bd082b7fe42c1b366746374db784cd1

    but instead of not showing the pricefield there should be a text with ”request a price”
    is that possible?

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 22, 2023 at 06:16

    Hello, @gewoonbovenaan,

    If your intention is to display text only, this can be easily accomplished using Custom CSS. Please follow the instructions below:

    1. Copy the CSS code provided below.
    2. Navigate to Xstore >> Theme Options >> Theme Custom CSS >> Global CSS on your site.
    3. Paste the copied code into the Global CSS section.
    4. Clear your browser cache and revisit your site to see the changes.

    Here is the CSS code:

    .main-products-loop .product:not(.purchasable) .product-title:after, .products-loop .product:not(.purchasable) .product-title:after {
        font-weight: 400;
        content: "Request a price";
        display: block;
    }

    However, if you wish to implement functionality along with the text, we regret to inform you that this is not feasible with the current version of the theme. Our item support does not extend to modifying or expanding the item beyond the original features, style, and functionality described on the item page.

    Should you wish to explore paid customization services, we recommend submitting a customization request to the Codeable team via their website: https://www.codeable.io/?ref=qGTdX

    Alternatively, you may consider using a third-party plugin that better suits your needs, but please note that this would be at your own risk.

    Best Regards,
    8Theme’s Team

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

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

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