ParkDayNYC 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! Beyondspace 1 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 ParkDayNYC 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
ParkDayNYC Posted February 4, 2021 Author Share Posted February 4, 2021 Thanks so much!! Worked great 🙂 Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment