Support » Plugin: WooCommerce RRP » Can this work with specific products carry on…

  • Hi,

    Thank you for a great plugin. I noticed someone had also asked the same thing, but could you give an example on how to do this for multiple specific post id’s please?

     .postid-191 del .amount::before {
      content: 'PUT YOUR TEXT HERE:';
    }
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Brad Davis

    (@brad-davis)

    Hi Lucy,

    If you are doing this with css and using the same value for content you can use:

    
    .postid-191 del .amount::before,
    .postid-192 del .amount::before,
    .postid-193 del .amount::before {
    content: 'PUT YOUR TEXT HERE:';
    }
    

    This will add the same content for the items with a post id of 191, 192 and 193.

    Cheers
    Brad

    That’s not working, unfortunately, I also tried deleting text from settings. Any other ideas?

    .postid-1578 p.price::before{
    content:’from ‘;
    }

    Is the correct one to work, maybe it’s because of a woocommerce update.

    Thanks

    Plugin Author Brad Davis

    (@brad-davis)

    Hi,

    Do you have a link that you could share please?

    Cheers

    Plugin Author Brad Davis

    (@brad-davis)

    Oh sorry lucy_jo, using “del” targets the sale price, sorry for the confusion but happy you got it sorted.

    Sorry to jump on an old thread – but this answered it for me , and Im using this and it works :-

    .postid-1668 p.price::before,
    .postid-1637 p.price::before,
    .postid-914 p.price::before {
    content: 'From:';
    }

    HOWEVER, the change does not show on the archive pages , how can it show too on the archive pages?

    Plugin Author Brad Davis

    (@brad-davis)

    @nixtainternet the example you provided will only target the single item, for archive pages you will need to add additional selectors specific for the archive.

    If you can provide a link to the archive you need help with I am sure we can help you get it sorted.

    Cheers

    brad

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can this work with specific products carry on…’ is closed to new replies.