Ok, this is my first cs-cart, so maybe I’m missing something clearly obvious to everyone else. There is a major issue with the way the cs-cart code issues classes and Ids to every single product related element that the cs-cart spits out. It applies a unique product ID and a general class. Which makes it very difficult to change the look of the “add to cart buttons” “add to wishlist” and “select options” buttons.
This is the default code it generates for the Select Options Button
<br />
div id="cart_add_block_281" class="buttons-container"><br />
<br />
<br />
<a id="button_cart_281" class="text-button" href="/test-lens-product.html">Select options</a><br />
</div><br />
```<br />
<br />
<br />
This is the default code it generates for the Add to Wish List<br />
<br />
<br />
```php
<br />
<div id="cart_buttons_block_281" class="buttons-container"><br />
<br />
<br />
<a id="button_wishlist_281" class="cm-submit-link text-button" name="dispatch:-wishlist.add..302-:">Add to wish list</a><br />
</div><br />
```<br />
<br />
<br />
<br />
First off I don't really see the point of it generating a unique ID for each item. That seems like the exact opposite of what most designers would need. Wouldn't it be better to have better class names for the elements so it would make it easier for designers to stylize individual elements?<br />
<br />
<br />
```php
<br />
div id="cart_add_block_281" class="options-button buttons-container"><br />
<br />
<br />
<a id="button_cart_281" class="text-button option-button" href="/test-lens-product.html">Select options</a><br />
</div><br />
```<br />
<br />
```php
<br />
<div id="cart_buttons_block_281" class="wishlist-button buttons-container"><br />
<br />
<br />
<a id="button_wishlist_281" class="wish-button cm-submit-link text-button" name="dispatch:-wishlist.add..281-:">Add to wish list</a><br />
</div><br />
```<br />
<br />
<br />
Just by adding a more descriptive class name to the same code it makes it much easier to stylize these elements. These are just two examples, but I see this all over the place. Is there a way to add better class names to the buttons template? Has anyone done this?