Guest Posted January 31, 2021 Share Posted January 31, 2021 Site URL: https://www.parkday.us/shop/p/perfectparkday Is there a way to edit the text before a price on a Product page for ONLY the main product and none of the related products? I need to include custom text to show "Price including deposit: "before the actual price, however, this adds the same text below on my related products as well. I'm using the code: .ProductItem-relatedProducts .product-price:before { content: none !important; } #item-5ffa5ed039b4bc65fa2c4a69 .ProductItem .product-price:before { content: 'Price including deposit: ' !important; } Thanks for any help! Link to comment
Beyondspace Posted February 1, 2021 Share Posted February 1, 2021 58 minutes ago, ParkDayNYC said: Site URL: https://www.parkday.us/shop/p/perfectparkday Is there a way to edit the text before a price on a Product page for ONLY the main product and none of the related products? I need to include custom text to show "Price including deposit: "before the actual price, however, this adds the same text below on my related products as well. I'm using the code: .ProductItem-relatedProducts .product-price:before { content: none !important; } #item-5ffa5ed039b4bc65fa2c4a69 .ProductItem .product-price:before { content: 'Price including deposit: ' !important; } Thanks for any help! Use this instead #item-5ffa5ed039b4bc65fa2c4a69 .ProductItem .ProductItem-details .product-price:before { content: 'Price including deposit: ' !important; } Remove item id if you want to apply on all products BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted February 4, 2021 Share Posted February 4, 2021 Thanks so much!! Worked great 🙂 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.