Placement of Go Back button

  • Posts: 8
  • Thank you received: 0
11 years 11 months ago #79929

Hi,

To place an 'Go Back' link to easily navigate back to the product listing, I've pasted the code below into 'display ==> view ==> Product / show_default.php'(this is from a older topic).

<a onclick="window.history.back(); return false;" href="#" >
<span class="icon-32-back" title="<?php echo JText::_('HIKA_BACK'); ?>">
</span>
<?php echo JText::_('HIKA_BACK'); ?>
</a>

Now this link is placed under the 'Title', see picture. I would like this link above the 'Title', is this possible?
Thanks in advance for a response.

Regards. Flow

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #79938

Hi,

I think that you should just put the code of your "go back" link in the "hikashop_product_top_part" div, so just after this line for exemple :

<div id="hikashop_product_top_part" class="hikashop_product_top_part">

Hope this will help you.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
11 years 11 months ago #79943

Hi Mohamed,
Thanks for your response. Where do I find the "hikashop_product_top_part"?

Regards, Flow

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #79944

You'll find it through the show_default file of the product view of your front-end template.

Then, you should just put the code of your "go back" link after the line :

<div id="hikashop_product_top_part" class="hikashop_product_top_part">

Last edit: 11 years 11 months ago by Mohamed Thelji.
The following user(s) said Thank You: Flow

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum