Hi there 👋
Could you please share a link to your site to see if I can generate a custom CSS code for you?
Also, please provide us with a full-screen uncropped screenshot in order to understand where the issue is located and provide you with guidance? I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL here. It works with Chrome, Firefox, Safari, and Edge.
Cheers.
Hi
The site is currently hosted on my local machine so can’t provide a url.
Here’s a screen shot
https://snipboard.io/GxFED3.jpg
Thanks
I see! In that case, there is not much code I can provide you. If you can put your site live, please let me know so I can give it a look.
Cheers.
Hi
This works for the price, but can’t find how to access the quantity
add_filter( ‘woocommerce_cart_item_price’, ‘ds_change_product_price_cart’, 10, 3 );
function ds_change_product_price_cart( $price, $cart_item, $cart_item_key ) {
$price = ‘<span class=”amount”>’ .$price .’ per yd. </span>’;
return $price;
}
Please kindly note that this requires some custom coding – which goes beyond the scope of support we are able to provide in this forum.
If you do require more help with the actual coding, we’d recommend you hire a developer who can take a look at this, quote you for their services and help you add this feature to your site. We’d recommend getting in touch with a web developer or one of the customization experts listed at https://woocommerce.com/customizations/.
Cheers!
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.