- Posts: 4
- Thank you received: 0
Go Back Button on Product Page
- davidvcardoso
-
Topic Author
- Offline
Less
More
15 years 8 months ago #5617
by davidvcardoso
Go Back Button on Product Page was created by davidvcardoso
Greetings,
Is it possible to add a "go back" button to a product description page, so that the user may return to the previous page and continue to see all the products of the same category?
Thanks.
Is it possible to add a "go back" button to a product description page, so that the user may return to the previous page and continue to see all the products of the same category?
Thanks.
Please Log in or Create an account to join the conversation.
15 years 8 months ago #5619
by nicolas
Replied by nicolas on topic Re: Go Back Button on Product Page
There is no go back button option in hikashop. However, HikaShop integrates with the breadcrumb module of joomla. So, you could display that breadcrumb module and it would display the tree of categories on the product page. For example, if you look at our demo website on that page
www.demo.hikashop.com/index.php?option=c...y_pathway=11&lang=en
you can see the breadcrumb module displaying the categories above the product page.
Alternatively, you can also edit the file show of the view product and add such code:
<a href="#" onclick="history.back();return false;">Go back</a>
However, that will return to the previous page which might not be the page where you have the products of the same category (for example, if you access the product page via a link on this forum, pressing that go back button would make you return on that forum, like the back button of your browser).
Alternatively, you can also edit the file show of the view product and add such code:
<a href="#" onclick="history.back();return false;">Go back</a>
However, that will return to the previous page which might not be the page where you have the products of the same category (for example, if you access the product page via a link on this forum, pressing that go back button would make you return on that forum, like the back button of your browser).
The following user(s) said Thank You: viki667
Please Log in or Create an account to join the conversation.
11 years 3 months ago #204986
by AlainR
Replied by AlainR on topic Re: Go Back Button on Product Page
Une autre possibilité peut être / another code :
<a href="/YOUR_URL/" class="btn button"><?php echo JText :: _('CONTINUE_SHOPPING');?></a>
<a href="/YOUR_URL/" class="btn button"><?php echo JText :: _('CONTINUE_SHOPPING');?></a>
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds