Home Forums WoodMart support forum Price Prefix

Price Prefix

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #317205

    Patryykk
    Participant

    Hi, is it possible to add a Price Prefix on variable produts? The idea is to have ‘From’ $45 for example.

    #317234

    Hello,

    Please add this code instead to the Theme Settings > Custom CSS

    .product-type-variable .summary-inner > .price span.amount:before {
    content:"from ";
    }
    body .product-type-variable .price span.amount:before {
    content:"from ";
    }

    Best Regards

    #317253

    Patryykk
    Participant

    Thank You for your quick response. It works well, however it shouldn’t show in the 2nd price after the user selects its combination. Please see attached for reference. If I remove the 2nd line:

    body .product-type-variable .price span.amount:before {
    content:”from “;

    …it fixes that, but it removes ‘From’ in the grid element on other pages also – please see the screenshot too. Is it possible to make it so it stays in the grid view but removes from the product 2nd price?

    Attachments:
    You must be logged in to view attached files.
    #317317

    Hello,

    Please provide me the page URL for both cases I will correct the CSS.

    Best Regards

    #317325

    Patryykk
    Participant

    Hi Please see in the private content section:

    #317529

    Hello,

    Please replace the code with this one:

    .product-type-variable .summary-inner > .price span.amount:before {
    content:"from ";
    }
    body .product-grid-item.product-type-variable .price span.amount:before {
    content:"from ";
    }

    Best Regards

    #317565

    Patryykk
    Participant

    Brilliant. Thank You for your amazing support. Works great.

    #317581

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Price Prefix’ is closed to new replies.