Prefix and suffix for all pricecs - by webmastermicro

This topic has 6 replies, 3 voices, and was last updated 8 years, 2 months ago ago by Stan Russell

  • Avatar: webmastermicro
    webmastermicro
    Participant
    January 27, 2016 at 22:50

    Hi,

    I would like to add the prefix of “from ” and the suffix of ” per unit” to the price for all products. Can this be done with CSS?

    In addition at the moment the price is only displayed when browsing a category and is missing from the product details page. I suspect there is some custom CSS hiding this. Can you show me which bit of CSS is used to hide/show it?

    Thanks

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 28, 2016 at 10:17

    Hello,

    This is related to Woocommerce configuration. Please refer to this article:
    http://businessbloomer.com/woocommerce-add-prefix-suffix-product-prices/

    Best regards,
    Jack Richardson.

    Avatar: webmastermicro
    webmastermicro
    Participant
    January 28, 2016 at 11:34

    Hi Jack,

    I had tried that method already but it did not work. That’s why I was hoping to be able to use CSS. Is it possible this way?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 28, 2016 at 11:58

    Hello,

    Sorry, but it can’t be done via css. You may ask Woocommerce support regarding your query.

    Best regards,
    Jack Richardson.

    Avatar: webmastermicro
    webmastermicro
    Participant
    January 28, 2016 at 20:57

    Thanks Jack.

    What about my other question – the price is hidden from the Product Detail page. I’m assuming I have some CSS hiding this? Could you help me with this please?

    Thanks again – your help so far has been great!

    Avatar: stan
    Stan Russell
    Participant
    January 29, 2016 at 08:21

    Hello,

    we have removed following line:
    .product-information .price { display: none !important; }
    from Theme options > Custom css > Global Custom CSS and price is now displayed on single product pages.

    Regards,
    Stan Russell.

  • 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.