Jump to content

new product details button with scroll down (html box pro)


Recommended Posts

Hi

 

I would like to have a more details button on my product page under short description.

 

When you hit the button i want it to scroll down to more details tab.

 

I use the html box pro module to do this.

 

I have made a custom hook in product.tpl

 

Now i need to know what code to put in editor to make it scroll down.

 

Can  anybody help me.

 

Thank you

post-718236-0-68277000-1412074663_thumb.jpg

Link to comment
Share on other sites

Thanks Vekia.

 

Can you please explain more details where to put everything.

 

Im not shure if i understand. :)

 

Plutten22

 

not a problem, even if you confirmed that it works.

so, you can associate blocks with your new hooks.

In block you will create - create there an anhor 

<a name="mynewsection"></a>

this code will be "invisible" for customers eye, but it will mark a place in your product page.

 

 

in your product.tpl file, where you've got button "more info" add an anhor link to your new mark named "mynewsection"

<a href="#mynewsection">mera information se nedan</a>

then if someone will click on it, will be moved to marked as "mynewsection" place in your theme :-)

Link to comment
Share on other sites

×
×
  • Create New...