Hi Folks,
I have followed you instructions and now I get this
<a href="index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=1" onclick="try{ new Ajax('index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=1', { method: 'get' }).request(); }catch(err){ new Request({url:'index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=1', method: 'get'}).send(); } return false;">Add to cart</a>
and it does nothing.
I have made this code myself:
<a href="hikashop_html_add_to_cart_link"%20href="http:/www.leeds-solar.co.uk/index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=1"><input type="submit" class="button hikashop_cart_input_button" name="add" href="index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=1" value="Add to cart" onclick="var field=document.getElementById('hikashop_product_quantity_field_1');if(hikashopCheckChangeForm('item','hikashop_product_form')){ return hikashopModifyQuantity('1',field,1,'hikashop_product_form','cart'); } else { return false; }" /></a>
Which has a nice looking button and adds the item to cart however, it redirects to a page that looses the temple page layout. I would like the html for the add to cart button on this "
www.leeds-solar.co.uk/shoplink/product/1-immersun
" page so I can insert into articles and make the site look and feel smooth. Please Advise