Quote:
On a product that has variants when you click add to cart, it normally redirects you to the product details page so you can select the options. This does not work in the new template.
|
Actually it does work on the template, just perhaps not on the home featured items, but you can use code like this...
Eg. skin/ability/customer/main/featured.tpl
Replace..
Quote:
<p><a class="add_link" href="cart.php?mode=add&productid={$product.pr oductid}&amount=1">{$lng.lbl_add_to_cart}</a></p>
|
With...
Quote:
{if !$product.variantid}
<p><a class="add_link" href="cart.php?mode=add&productid={$product.pr oductid}&amount=1">{$lng.lbl_add_to_cart}</a></p>
{else}
<p><a class="add_link" href="product.php&productid={$product.producti d}">View Options</a></p>
{/if}
|
Quote:
I am having some alignment issues and can't find the controlling CSS with firebug
|
Just add some padding-top to the product title (grid mode)...
skin/ability/custom/css/common.css
Replace...
Quote:
ul.grid_view li .product_block h2 { width: 100%; height: 50px; margin: 0; padding: 0 0 10px 0; }
|
With...
Quote:
ul.grid_view li .product_block h2 { width: 100%; height: 50px; margin: 0; padding: 20px 0 10px 0; }
|