Hi
I am using Prestashop 1.6.24 with Warehouse theme. And I like to add after short description link to full description. Its seems easy work - but as I am using friendly URL-s also - its complicated.
When I am adding fallowing code to product.tpl
<a href="#descriptionTab" class="btn btn-default">{l s='Read more'}</a>
its working fine - BUT - this adds to product url #descriptionTab part (so that url looks - https://mydomain.com/nice-product#descriptionTab not any more just https://mydomain.com/nice-product)- and now I am getting error - as there is no product with this combinations and no Add to cart button any more.
Is there any way to add link without this # part?
I added fallowing code to product.tpl
<button class="btn btn-default" onClick="document.getElementById('descriptionTab').scrollIntoView();" >{l s='Read more'} </button>
I have descriptionTab div class - and its moves nicly to this part. So change it to your div class what you have and where you want to scroll.