Posted - 03/05/2019 : 01:56:06
In ECT 7.0.1 we introduced the ability to target individual product elements via the css file. I haven't seen too many people using it and it really is a powerful new tool. Here's an example of how we used it on ECT. Go to our Store Tools page and you'll all the first dozen or so products following the same layout https://www.ecommercetemplates.com/ecommercetools.asp At the bottom of the page are two sets of third party plugins, Magic Toolbox and POWr. We don't sell those ourselves so we have no need for an add to cart button, price or product id. The product image is also larger than the rest of the icons on the page and we don't have a detail page as such. The product id of each is MagicToolbox and powr, that means we can target them via the css file using the following .MagicToolbox div.prodid{display:none} .MagicToolbox div.prodprice{display:none} .MagicToolbox div.outofstock{display:none} .MagicToolbox div.prodimage{width:98%;} .powr div.prodid{display:none} .powr div.prodprice{display:none} .powr div.outofstock{display:none} .powr div.prodimage{width:98%;} Then in the product admin page we selected "Has Static URL" and linked to the main help page, help/powr-plugins.asp This is just a simple example of the feature in action but it should be possible to get really creative with this. Andy Please feel free to review / rate our software
|