LJPedley Posted June 28, 2021 Posted June 28, 2021 Site URL: https://www.laurapedley.com/original-fine-art-for-sale Hi, does anyone know of a piece of code for version 7.0 that could hide the SOLD sticker on specfiic products after they have sold? I'm a painter and once the pieces have sold I want to change the product listings into a portfolio, but still using the product page set up. I've found code to hide the price and add to cart button within the individual product listing, but not the sold sticker! Thanks for any help x
tuanphan Posted July 17, 2021 Posted July 17, 2021 On 6/29/2021 at 4:35 AM, LJPedley said: Site URL: https://www.laurapedley.com/original-fine-art-for-sale Hi, does anyone know of a piece of code for version 7.0 that could hide the SOLD sticker on specfiic products after they have sold? I'm a painter and once the pieces have sold I want to change the product listings into a portfolio, but still using the product page set up. I've found code to hide the price and add to cart button within the individual product listing, but not the sold sticker! Thanks for any help x Hi. Do you still need help on this? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
LaurieLandry Posted August 12, 2021 Posted August 12, 2021 On 7/17/2021 at 2:11 AM, tuanphan said: Hi. Do you still need help on this? I'm not the original poster, but I could use help on mine. I want to be able to change from "Sold Out" to "Sold" and hide the price on the sold item on the item listing. https://laurielandry.squarespace.com/available-works Thank you in advance!
tuanphan Posted August 18, 2021 Posted August 18, 2021 On 8/12/2021 at 10:48 PM, LaurieLandry said: I'm not the original poster, but I could use help on mine. I want to be able to change from "Sold Out" to "Sold" and hide the price on the sold item on the item listing. https://laurielandry.squarespace.com/available-works Thank you in advance! Hi, Add to Design > Custom CSS .product-mark.sold-out { visibility: hidden; } .product-mark.sold-out:before { visibility: visible; content: "SOLD"; position: absolute; top: 0; right: 0; background: #222; padding: 6px 8px; color: #fff; line-height: 1em; text-transform: uppercase; -webkit-font-smoothing: antialiased; } a.product.sold-out .product-price { display: none !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.