hello bricks team,
I’ve just been introduced to bricks and one of its biggest advantages is its very clean HTML which makes for optimal page size as well as DOM element.
But the WooCommerce product price element is very suboptimal, which is the default of WooCommerce. In fact, each price element with a sale price has 11 DOM elements, which is really a lot.
If you consider a page that displays a large number of products, there is a lot of code just to display the prices of the products.
I tried to use the dynamic data you provide for sale and regular price to make the output cleaner. But unfortunately it is not possible, because in sale products the regular and sale prices are mixed together, which is of course the default behavior of WooCommerce.
As a suggestion, it would be great if you could add the ability to simply display sale and regular prices without the price currency.
So we can add the price currency using ::before or ::after and this will drastically clean up the output and reduce the amount of DOM from 11 to 3 elements.
thanks