Page 1 of 1

Back button on the product page module/addon not working as it should ?

Posted: Mon Sep 14, 2026 9:10 pm
by cerberus
Hi all,

I have just installed the back to previous page addon/module, however it does not go back to the previous page, it only goes to the start (front index) page.

Can it be fixed ? or should I just remove it ?

This is the module.
app.php/addons/free_addon/back_button/

I am running Phoenix cart V 1.1.0.7
I see the back button is designed for V1.1.0.6

Thank you,
Steve

Re: Back button on the product page module/addon not working as it should ?

Posted: Tue Sep 15, 2026 5:49 am
by Kofod95
The best thing would be to go to the add-ons support-thread found on the add-ons page you are linking to: app.php/addons/free_addon/back_button/support

There, the author will likely be able to assist and/or answer questions.

They could do it here as well, but since it concerns the specific add-on and not something general, it's better to have the posts there :)

//Daniel

Re: Back button on the product page module/addon not working as it should ?

Posted: Tue Sep 15, 2026 5:50 am
by BrockleyJohn
Free addons have their own support discussion areas (in a tab on the addon) where the author is more likely to see your question, and someone may already have asked it:
app.php/addons/free_addon/back_button/support

Re: Back button on the product page module/addon not working as it should ?

Posted: Wed Sep 16, 2026 1:59 am
by cerberus
I could not find a way of posting a question on the module download page, so I posted here and also sent the designer a PM (I will eventually get used to how things work on here) :)

But I did find a way (sort of) around it that seems to work ok as a back to previous page link

I used the Image Disclaimer php and pasted this code into it :

Code: Select all

<A HREF="javascript:javascript:history.go(-1)"><p align="center"><b><font size="4" color="#008000">Go back to previous page</font></b></p></A>
The image disclaimer box under the main image on the product page now looks like this (but I would much rather use the correct button if I could). :
Screenshot 2026-09-16 025402.png

I did try this code below for a back button, but it only worked sometimes, and other times it added the product to the cart, not too sure what was happening there.

Code: Select all

<p align="center"><button onclick="history.back()">Go Back</button></p>

Re: Back button on the product page module/addon not working as it should ?

Posted: Wed Sep 16, 2026 6:58 am
by Kofod95
cerberus wrote: ↑Wed Sep 16, 2026 1:59 am I could not find a way of posting a question on the module download page, so I posted here and also sent the designer a PM (I will eventually get used to how things work on here) :)
No worries - yes, a forum and how to navigate it can take some time.

You should see a "New topic" button in the lower left corner
Skærmbillede 2026-09-16 085329.png
cerberus wrote: ↑Wed Sep 16, 2026 1:59 am I did try this code below for a back button, but it only worked sometimes, and other times it added the product to the cart, not too sure what was happening there.
This is likely because most of the product page is within a form. When submitted, the products will be added to the cart. A button will act as a "submit" (if not made as a link or something else). So what likely happened for you was, that sometimes, the JavaScript would run before the form was submitted, taking you back to the previous page, while other times, the submit would run before the JavaScript. It's a good thing you tested it yourself!

//Daniel

Re: Back button on the product page module/addon not working as it should ?

Posted: Wed Sep 16, 2026 7:04 am
by Omar_one
Hello @cerberus
I think you may have installed the wrong version. Could you try installing v3.1 and see if that fixes the issue?
Omar

Re: Back button on the product page module/addon not working as it should ?

Posted: Wed Sep 16, 2026 12:27 pm
by cerberus
Hi Omar_one,

It is version 3.1 I have installed, it does not go back to the previous page, it goes to the index (start) page. I have also tried it on a different browser with a cleared out cache.

Re: Back button on the product page module/addon not working as it should ?

Posted: Thu Sep 17, 2026 2:55 am
by cerberus
Hello again Omar_one,
Thank you for fixing the issue for me with the back button for me :)